Cannot get jQuery Lightbox working on Joomla - joomla

I have followed these instructions at Balupton to the word but I cannot seem to get this lightbox working. I managed to get this working on another Mambo project last year but I cannot get this working on Joomla and I was wondering if it could be that there is a clash between Moo Tools and jQuery. Although this should not be the case because I have used the JT slideshow plugin without any problems!
Any advice on this? I cannot put up a link at this stage sorry.
Thanks!

Have you tried using jquery.noconflict() to prevent it the namespace clashing?

Related

Migrating "bootstrap-touch-slider.js" to joomla

Hi I am migrating my html bootstrap site to joomla 3. So far things are looking good. I am using the bootstrap touch slider in my html version which works fine and I am stuck how to move it to Joomla. Is there any way to do this or do I need to use/buy a slider module extension?THANK YOU!
The best thing is to create your own module and embed slider js in, otherwise you can try to modify the present one. In both cases if you have never done one before you is suit buy the extension you found.

Wrong URL used when accessing article through a module

I have an annoying problem and am hoping someone will be able to help.
We use quite a few extensions on our Joomla site (Roksprocket mainly but also Global News Filter for instance).
The modules themselves are working fine however when I click on an article in one of these modules the article opens but it doesn't use the nice URL that should be displayed (we have Search Engine Friendly URLs set to Yes and Use URL rewriting set to Yes). This happens for all modules that draw off a category (so I don't think its linked to a specific extension).
For instance on our Case Studies page if you click on Read More on the RSA Case Study you get this URL
http://www.assima.net/en/resources/case-studies/99-home/resources/case-studies/ats-case-studies/649-case-study-rsa
but what you should get is the menu item URL associated with this article which is this
http://www.assima.net/en/resources/case-studies/ats-case-studies/rsa
I don't think there is anything wrong with our .htaccess as I reverted back to the default Joomla one and it still occured.
Also this used to work perfectly. I first noticed it around October or November last year.
If anyone has any ideas I would really appreciate it, I've googled the problem many times and not found any help.
Thanks
Emma
FIXED.
Due to a Joomla bug. Fixed by overwriting the route.php file as described in this post: http://forum.joomla.org/viewtopic.php?f=625&t=831007&start=30

Magento : Add to Cart function not working on Product details page

I am facing a strange problem and have no idea how to fix this since i am new to magento. The Add-to-cart button is not working on the product details page here
http://www.eyaas.com/products/home/decor/thai-benjarong/benjarong-dainty-cats.html
But it's working on the category page here
http://www.eyaas.com/products/home/decor/thai-benjarong.html
Why can this be happening. I have given the links above so that you can see the button code and tell me if somethings getting wrong.
EDIT
I removed the declaration for jquery library and my navigation file. Then the add to cart button started working. What i need to know is why does thing works well in localhost. Same files, same library and same code, but they just seem to encounter a conflict on server. Please suggest something
I can't see that you've added the jquery library in your code - the error seems to say jQuery is undefined - I think either remove all jquery or add the library should solve it
jQuery is added after your calling scripts.
Make sure you add your jQuery to the page BEFORE any other script that relies on it.
The reason for all this was the conflict between the jquery and prototoype.js library. I solved the same by using jQuery.noConflict() function and then replacing all the $ references in my javascript code with the jQuery
Just disable the js files added in page.xml and head.phtml added for that particular theme.
things will work :-)

using a custom javascript code in joomla

I've been asked to write a custom javascript to create a tooltip. I've done this and the code works on my localhost and on my own online webhost but it refuses to work in joomla 2.5. I've heard this could be caused by the moo tools pluggin that comes with joomla itself? what plug in should I install to make my javascript work? I checked the code and it works all around. I apologize if this is an inappropriate question.
edit: The problem is it just won't run the code at all. it doesn't apply the CSS. which is loaded from another file, though it does apply the style for the rest of the site. When there's suppose to be a custom css for the title attribute in a img tag I just get a regular text window

Widget kit not working for joomla 1. 7

I have a joomla 1. 7 website and I have installed a widget kit for displaying a slider with buttons on it. It works fine in the backend, however it does not display on the site.
Is there a reason why widget kit is not compatible with Joomla 1. 7?
Without any details at all, I'd suggest a possible conflict with you chosen joomla template and javascript library(s) like jquery or mootools.
Try one of the simple templates that came with your joomla installation and see if the problem on the front end persists.
Widget Kit is compatible with Joomla 1.7, however as Grag P said, it might possibly be a conflict with another extension using Jquery.
Use Firebug and look at the scripts being loaded in the <head> tags and see if there are 2 Jquery libraries being loaded.
If so then the 2nd one is most likely coming from your template in which case go to your template manager and see if there is an option to turn off Jquery, else if its coming from another extension, try disabling it and seeing if this solves the problem.
Also make sure you have the most up-to-date version of widget kit as Yootheme have brought out a lot of updates in the last 2 months.

Resources