Hi there! I hope you guys can help me out!
Iam trying to make the pagepeel effect work right.
[url]http://tutorialzine.com/2009/08/special-create-a-page-peel-effect-with-jquery/[/url]
I cant get it right…
This is what i did…
This file is located in the head section: {include file=“common_templates/scripts.tpl”}
I opened the scripts.tpl located in the common_templates there I added the following hook:
{hook name=“pagepeel: peel_the_page_head”}
{/hook}
In the index.tpl i added the following hook, right before the end of the body:
{hook name=“pagepeel: peel_the_page_end_of_body”}
{/hook}
I actived my changes.
I created the following folders:
skins/MYSKIN/customer/addons/my_changes/hooks/pagepeel
In this folder I created two documents:
peel_the_page_head.pre.tpl with content:
[I]
peel_the_page_end_of_body.pre.tpl with content:
[I]
Now i get this error message:
[B]Fatal error: Smarty error: [in index.tpl line 173]: syntax error: unrecognized tag: $('#pagePeel').pagePeel({ (Smarty_Compiler.class.php, line 445) in /home/content/e/r/i/erigon/html/lib/templater/Smarty.class.php on line 1095[/B]
And i added the spaces in the hooks just for the forum because else a smiley appeared: :P ;)
Thanks in advance!!!