Hey all,
I've set up many PHP applications traditionally without a framework,
however one I am beginning to work on will be maintained by multiple
developers and be a much larger project so I've decided to use Symfony
for this one.
Generally my apps have "bread crumbs" at the top of the screen, a
trail of links which the user has taken to get to the current page.
(ie... Home -> Developer Menu -> Manage Users -> Edit User)
The way I do it is to have a generic heading function in which I pass
some values to be added to the page header.
<?php
$crumbs = array("Home" => "index.php?go=home", "Developer Menu" =>
"index.php?go=dev_menu" , etc...);
addPageHeading('Edit User', $crumbs);
?>
My problem is I can't figure out how to add such a section to the
layout. It is outside of the $sf_content scope.
I have considered using partials, but I need some way for the action
to pass in the necessary variables and I don't know how to do this
from the action.
Thanks for any help you can provide!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---