I am trying to do the following
I have a page called editorialTeam.tpl in the templates\about folder, which is handled by AboutHandler class defined in pages\about.
I want to display the information contained in editorialTeam.tpl into my header, and hence I am trying to modify templates\common\header.tpl
I have tried various smarty functions like
- Code: Select all
{include file="editorialTeam.tpl "}
{display_template template="editorialTeam.tpl"}
However, nothing is showing up in my final page.
The original pages\about\index.php page included the handler as
- Code: Select all
define('HANDLER_CLASS', 'AboutHandler');
import('pages.about.AboutHandler');
How do I include this handler to be a part of my header.tpl, or such that header.tpl can refer to this handler. Basically, how do I display the contents as shown in editorialTeam.tpl in the file header.tpl
Thanks
