View Single Post
  #1  
Old 06-26-2011, 05:09 AM
 
xcart-dev xcart-dev is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 59
 

Default Adding the date to Meta Description

Been searching for a simple answer for this one - I'm sure there is one!

In meta.pl there is the code

Code:
{meta type='description' page_type=$meta_page_type page_id=$meta_page_id}
Which generates the meta description.

Now I want to add the date (generated by php with something like

PHP Code:
echo date('jS M Y'); 
so I end up with
<meta name="description" content="4th July 2011 - [description for page from database]" />

Is there a way to do this in Smarty?
__________________
X-Cart 4.4.3
Reply With Quote