On 8 Jul., 12:56, Martin Kreidenweis <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > 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).
>
> I don't quite see the difference between what you are suggesting and
> component
> slots.http://www.symfony-project.com/book/trunk/07-Inside-the-View-Layer#Co...
> You want to retrieve the component configuration from the database
> instead of yml configuration files?
>
See http://trac.symfony-project.com/trac/wiki/sfPageControllerPlugin
for more information.
I think there will be a first stable version based on symfony 1.1 with
refactored view layer.
The "template loader problem" could also be solved if sfLoader would
become a (replacable) context object.
But I think it would be better to move the template loading into a
separate class that can also be replaced by another one for special
needs like theme support.
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
-~----------~----~----~----~------~----~------~--~---