On Sun, Jun 29, 2008 at 12:44 AM, Al-Faisal El-Dajani
<[EMAIL PROTECTED]> wrote:
> Ammar: One problem I faced with smarty was setting page titles. How can I
> set page titles from the view (which in this case are tpl files), when you
> have a header template? the only way I can think of is to {include
> file=header.tpl title=something}, and I dont' think that is a good thing
> because that requires me to include the header in every single template I
> create. What I have is one general template that contains header, footer and
> everything else, plus the middle content area that I manipulate. So, I am
> faced with either manually including the header in every single template I
> create, or not setting the title in the view. Both of which are not
> accepted.template variables? It couldn't be simpler than this! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Jordan PHP Users Group" 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/JoPHP http://Jolug.org/ -~----------~----~----~----~------~----~------~--~---
