Message Text |
I have a customized page which was built several years ago, and i don't want to use the system function under Tempaltes -> Custom Pages.
and it looks like the $header->replace('{MAINMETA}', 'something here'), is no longer worked.
require_once 'start.php';
$template = new template('a_customized_page.tpl');
$area = "Customized Page Title";
$headerinfo2 = "<meta name=\"keywords\" content=\"something keywords here\" /><meta name=\"description\" content=\"some description here.\" />";
$header->replace('{MAINMETA}', $headerinfo2);
require 'end.php';
The output for the metatag is still the mainmeta. Any idea how to get it done? |