I`m trying to run this http://smarty.incutio.com/?page=BlockHeadPlugin plugin with CMS MS ver. 1.6.6 to have possibility to attach metadata such as keywords etc. to posts made by CGBlog module. I`m lets say intermediate at html + css, but very newbie in things such as php and smarty so I can`t make it work. I`m playing two months with CMS MS and everything seems to be very intuitive, except of this.
Is there somebody who can tell me step-by-step how to make it work? I just understood that i must copy-paste the first code into the file named "block.head.php" and the second one into "outputfilter.move_to_head.php" and upload these files into smarty plugins directory. But absolutely don`t know, where to paste the piece of code from the "usage" section.
Exactly this one:
Code: Select all
$template = new Smarty();
// do stuff
$template->load_filter('output', 'move_to_head');
// do stuff
$template->display($filename);
Any help would be appreciated
Thanks a lot
EktosElenchu