Hi,
I would like to modify the title and the content of the <head></head> in specific page (for an example : privacy.php)
In the documentation (page 12,13), I read it is possible with the files includes in catalog/includes/modules/header_tags... I tried but I didn't succed.
For example : I created a file named title.php (I also tried with ht_privacy_title.php). I save this file in catalog/includes/modules/header_tags/privacy/ (I also tried in catalog/includes/modules/header_tags)
This file contains :
****************
<?php
class ht_privacy_title {
function parse() {
global $oscTemplate;
$oscTemplate->setTitle('My new Title');
$oscTemplate->addHeaderTag('<link rel="stylesheet" type="text/css" href="new_stylesheet.css />');
}
}
?>
*********************
Of course, it didn't work...
Can you help me please ? Thanks a lot.
Latest News: (loading..)
alsim-fr
Member Since 23 Oct 2009Offline Last Active Jul 28 2011, 15:13






Find content
Not Telling
