[Solar-talk] View, call helpers after _render() ?

Rodrigo Moraes rodrigo.moraes at gmail.com
Fri Nov 3 05:34:20 PST 2006


On 11/3/06, Matt M. <goodieboy at gmail.com> wrote:
> Hi,
> Works like:
>
> <?php $this->layout('document') ?>
>  // here i set slots in the ''document" template
> // now I'd like it to render by itself...
> // or I could do:
> <?php echo $this->layout() ?>
>
> but It'd be nice to have it done automatically. It needs to happen after all
> of the contents of the template have been rendererd. Does that make sense?

I don't understand your example. You want to set dynamic slots in a
template and render them independently? There is some ways to do this:
using partials to have a separate scope or including a template
dynamically.

rodrigo


More information about the solar-talk mailing list