Postponed (maintainer needs more info)
Project:
jQuery plugins
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2008 at 22:48 UTC
Updated:
14 Jul 2009 at 09:34 UTC
I've tried to add jquery_plugin_add($plugin) to a tpl.php file but nothing happened: is it a missing feature or did I do something wrong?
Thanks.
Comments
Comment #1
mfbHard for me to figure this out without some sample code to see what you're doing where.
Comment #2
upupax commentedSorry.
I've added the reflection plugin putting jquery.reflection.min.js in jqueri_plugin folder.
I invoke it in a block inserting
jquery_plugin_add('reflection')before printing the block content and I can see all my images with a nice reflection effect.Then I realize that I would like to have reflection for all my images, not only the ones where block is pubblished, so I decided to put the
jquery_plugin_add('reflection')in my template file page.tpl.php, but in this case plugin is not loaded and I can see no reflection.I assume I'm doing something wrong, but I don't exactly understand what.
Any suggestion will be kindly appreciated.
Thanks in advance.
Comment #3
mwskuzzy commentedDid you ever sort this out? if yes, please provide solution to your problem.
Thanks