On 7 Jul., 08:02, Fabien POTENCIER <[EMAIL PROTECTED]> wrote:
> I'm on holidays for 2 weeks, so I will try to work on those things.
>
> The sidebar thing can be done with a slot:
>
>    <?php slot('sidebar') ?>
>    ...
>    <?php end_slot() ?>
>
> And then in your layout:
>
>    <?php echo get_slot('sidebar') ?>
>
> Am I missing something here?

The thing is that you fill the "areas" in templates with slots. This
is not really a clean solution.
I want to fill them by a separate page configuration that can be
retrieved from yml files or database (page tree table).
And then I only want to use <?php include_area('sidebar') ?> in my
layout.php
This is one of the key concepts of my page controller plugin(s).

> The goal of the view refactoring is to separate the view from the
> templating system. As of now, the 2 concepts are mixed in the view.

As for the pretty cool changes you already commited to trunk I think
you will find a good solution.
Please think about introducing a "template loader adapter" or
something like this so we can easily change the default behaviour.
That would help me a lot.

Also the new execution filter looks good. I will work on my page
controller plugin in August based on symfony 1.1
And I would like to work on a theme plugin as well as some sort of
"backend" (a frame for admin modules) - but I think it is better to
wait for your changes.

Happy Holydays. :-)

Regards,
Matthias




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to