godsone Posted March 19, 2010 Share Posted March 19, 2010 Hi,I have a module with something like jarousel with a special hook, i would like to make the hook appear only on home page.Also i think the scripts from the module have a conflict with other scripts i have on my website, for example the lightbox doesn't work on product details. Link to comment Share on other sites More sharing options...
razaro Posted March 19, 2010 Share Posted March 19, 2010 To display hook only on homepage put this if statement {if $page_name != 'index'} {$YOUR_CUSTOM_HOOK} {/if} For script check if there is already one in js\jquery folder.Maybe you have two different version of same script.Also check path to your script. Link to comment Share on other sites More sharing options...
godsone Posted March 19, 2010 Author Share Posted March 19, 2010 Thank you for your fast response. I managed to solve the problem with the hook, but the scripts are still making me problems, i don't have duplicate scripts. The website is http://www.dnl.ro/proiecte7/adLook at a product page, to see what i mean.I have no ideea how to fix this and the website has to be ready in 2 hours Link to comment Share on other sites More sharing options...
razaro Posted March 19, 2010 Share Posted March 19, 2010 I don't see that thickbox script is loadedIt is on server ...js/jquery/thickbox-modified.js but not in head section Link to comment Share on other sites More sharing options...
godsone Posted March 19, 2010 Author Share Posted March 19, 2010 Thanks that worked.Is it possible to show in block categories only the subcategories of the current category? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now