jQuery and prettyPhoto help
Posted: Sat Mar 06, 2010 1:21 am
Hey guys n girls,
I'm trying to replace lightbox with prettyPhoto but when the javascript is called I get a smarty error:
Anywho, I tried installing the jQuery plugin, thinking that it may have something to do with fixing the problem, but still get the above error. (Isn't there a config option for the jQuery plugin? I don't see it if there is).
Any help with this would be awesome!
(And if a prettyPhoto-plugin could be made, like with lightbox, that would be superawesome!
)
I'm trying to replace lightbox with prettyPhoto but when the javascript is called I get a smarty error:
I believe read somewhere that for things like these to work I need to register something, somewhere (I'm not sure where I read it or in what context).Fatal error: Smarty error: [in /home/althalus/dirgefornovember/s9y/templates/oneroom/index.tpl line 185]: syntax error: unrecognized tag: $("a[rel^='prettyPhoto']").prettyPhoto(); (Smarty_Compiler.class.php, line 446) in /home/.kiwi/althalus/dirgefornovember/s9y/bundled-libs/Smarty/libs/Smarty.class.php on line 1093
Anywho, I tried installing the jQuery plugin, thinking that it may have something to do with fixing the problem, but still get the above error. (Isn't there a config option for the jQuery plugin? I don't see it if there is).
Any help with this would be awesome!