![]() |
display meta_title field on embedded pages
I currently have a "custom title mod" set up in my customer/home.tpl like this
Code:
{* Custom Title Tag Start *} I have added a new field in the database table xcart_pages called meta_title. I want to change this part Code:
{elseif $main eq "pages"} to look more like Code:
{elseif $main eq "pages"} so it will display the info from the meta_title field. I'm not sure what php file I need to update so that the meta_title variable will be defined and displayed. Can anyone help with that? |
Re: display meta_title field on embedded pages
The {$page_data} is defined in "<xcart_dir>/pages.php" script.
If you've added the "meta_title" field to the "xcart_pages" table. It should appear in {$page_data} automatically and can be accessed via {$page_data.meta_title} Smarty variable. |
All times are GMT -8. The time now is 05:45 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.