the template parameter is not a view name it is the file name maybe this code snippet and the agavi faq could help you
http://mivesto.de/agavi/agavi-faq.html#general_18 https://gist.github.com/pelim/e401c563218b8b47c15a Am 17.03.2013 um 01:20 schrieb Rafael Guerrero: > > > > Hi Guys, > > > Where is the info about of valid paramteres for AgaviTemplateLayer ? > i want to set a custom template in custom directory for reuse template from > multiple modules > i saw the example into the web > > // re-use the input template for presenting the errors in the form > $this->getLayer('content')->setTemplate('Input'); > > checking the class, i can see the magic metod __call > and the config files ( output_type ) i can see other property > > <layer name="decorator"> > <ae:parameter name=" > directory > ">%core.template_dir%</ae:parameter> > <ae:parameter name=" > template > ">Master</ae:parameter> > </layer> > > > i guess that i cant execute > $layer->setParameter('template', $XXXX); > or > $layer->setTemplate($XXX); > > why the value for template parameter is a View Name? > can i set a filename ? > Are there other possible values for the template parameter? > what other properties exist for the AgaviTemplateLayer ? > > Thansk for your help > > -- > Atte > Rafael Ángel Guerrero Godoy _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
