Hi grok,<div><br></div><div><br></div><div>While working on a dolmen app, I wanted to override the folderlisting for a Dolmen Site.</div><div><br></div><div>from dolmen.app.site import Dolmen</div><div><br></div><div>class Locaciones(Dolmen):</div>
<div> content.nofactory()</div><div> title= _(u"Cinezune")</div><div> <br clear="all">from dolmen.app.container import listing</div><div><div><br></div><div>class LocacionesFolderListing(listing.FolderListing):</div>
<div> #it just doesn't take it : why?</div><div> grok.context(Locaciones)</div><div> content.require(CanListContent)</div><div> label = _("Listado de locaciones")</div></div><div><br></div><div>
<br>
</div><div>When visiting <a href="http://localhost:8080/Locaciones/folderlisting">http://localhost:8080/Locaciones/folderlisting</a> I only get the default dolmen layout, a <h1>Content of the folder</h1> title and an empty <div/> element. And no matter what I put on my app's app_templates/<a href="http://locacionesfolderlisting.pt">locacionesfolderlisting.pt</a> file, it does not get displayed.</div>
<div><br></div><div>What I'm doing wrong?</div><div><br></div><div><br></div><div><br>-- <br>---<div>Noe Nieto</div><div><br></div><div><br></div><div>--------------------------------------------</div><div>El experto que trabaja por cambios políticos, sociales y económicos SIN PERCEPCIÓN UNITARIA, solo crea más dolor y divisiones sobre la tierra.</div>
<div><a href="http://percepcionunitaria.org" target="_blank">http://percepcionunitaria.org</a></div><div><br></div><div>The expert who works for political, social and economical changes WITHOUT UNITARY PERCEPTION, will only create more pain and divisions on the earth.</div>
<div><a href="http://www.unitaryperception.org/cph/en" target="_blank">http://www.unitaryperception.org/cph/en</a></div><div><br></div><br>
</div>