- Posts: 4
COMMUNITY FORUM
Modal: CSS & JS Loading Problem
- MRPRO03
- Topic Author
- Offline
- New Member
Exact Joomla version: 2.5.17
Joomla URL: pharmafactz.com/
If you scroll down the Home page, you will find a box with labelled PHARMAFACTZ, normally, when you click on the image, it comes out as a Popup but it instead, the image is displayed on a new page.
Similarly, when you click on Gallery (pharmafactz.com/index.php/gallery) on the top menu, you see a selection of images, they should also be Popups but link to a new page also.
But when you click on a single item, for example (pharmafactz.com/index.php/general-principles/miscellaneous/item/504-top-10-best-ways-to-remove-phlegm-from-your-throat), and click on the cover image, the popup works.
I disabled all my plugins and all modules one by one by to see what is causing it but that did not work. Is there any other issue that may be causing this?
I did notice however, when the menu item is set to K2 -> Item, they load on that page but when it is set to K2 -> Categories, it does not load.
Thanks
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
You now load one local copy of pharmafactz.com/media/k2/assets/js/jquery-1.10.2.min.js and a remote copy of ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
Disable the latter and check again.
Please Log in or Create an account to join the conversation.
- MRPRO03
- Topic Author
- Offline
- New Member
- Posts: 4
I do not know how to remove the google code, I have checked the parameters and they are both loaded to the local copy, so I've no idea how to remove the google code.
Thanks
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- matt
- Offline
- New Member
- Posts: 17
The URL: www.peoplewhocare.org/news-media
Please Log in or Create an account to join the conversation.
- MRPRO03
- Topic Author
- Offline
- New Member
- Posts: 4
Yiota Ziaggou wrote: Check in the K2 parameters, your template parameters or another extension that could load this remote copy.
Hi,
There is now only one instance of jquery but the problem is still happening.
Thanks
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Make sure you have this JHtml::_('behavior.modal'); on top in the override of the category_item.php file.
@matt
Could you tell me where should I see the faulty extra field url in your page?
Thank you.
Please Log in or Create an account to join the conversation.
- MRPRO03
- Topic Author
- Offline
- New Member
- Posts: 4
Yiota Ziaggou wrote: @MRPRO03
Make sure you have this JHtml::_('behavior.modal'); on top in the override of the category_item.php file.
Hi,
Thats done the job perfectly!
Thank You !!!
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- matt
- Offline
- New Member
- Posts: 17
Read at: Morning Journal
link. the link is showing as class:"modal" but it keeps opening in a new page.
thanks for looking at this!!!
Please Log in or Create an account to join the conversation.