View Single Post
  #1 (permalink)  
Old 07-09-2008, 12:38 PM
opel opel is offline
Junior Member
 
Join Date: Jul 2008
Posts: 5
Default Adding content into partials

After following a few tutorials and books I am making my 1st attempt at making a ZF application.

What I am trying to do is add in the Year to my copyright notice into my footer.phtml that I am rendering as a partial in my default layout such as this :

© 2008 Company name

I have used Zend_Date to generate the year but how do I get the variable into a controller that will be used by the footer.phtml across all my default/frontend views ?

Any help appreciated, thanks
Reply With Quote