- Posts: 490
- Thank you received: 2
how to open images in product listing to popup or modal view
9 years 11 months ago #257094
by ronron
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none
hi
i have a product listing menu(listing_img_title.php) and i would like to open the products when image or text is clicked on a modal view instead of a new page(tabular).
so what i want is to open the images in a popup or modal instead of a new page.
i found this thread but its not working. when i click on the image it still redirects to another page
www.hikashop.com/forum/2-general-talk-ab...n-popup-product.html
thanks
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none
hi
i have a product listing menu(listing_img_title.php) and i would like to open the products when image or text is clicked on a modal view instead of a new page(tabular).
so what i want is to open the images in a popup or modal instead of a new page.
i found this thread but its not working. when i click on the image it still redirects to another page
www.hikashop.com/forum/2-general-talk-ab...n-popup-product.html
thanks
Please Log in or Create an account to join the conversation.
9 years 11 months ago #257104
by nicolas
Replied by nicolas on topic how to open images in product listing to popup or modal view
Hi,
What you found is indeed the solution, and it's still what I would recommend.
The fact that it doesn't open the popup when you click on the image means that mootools (the system which generates the popup) could be initialized on the page.
It could come from a conflict with jQuery (another javascript library), and in that case, you can use the plugin jQuery Easy to fix that, or it could be another javascript error on the page (you can check the error log of your browser for that).
Or it could also be your template or another extension forcing the removing of mootools on the page (you can check the HTML header of the page for the presence of mootools)
What you found is indeed the solution, and it's still what I would recommend.
The fact that it doesn't open the popup when you click on the image means that mootools (the system which generates the popup) could be initialized on the page.
It could come from a conflict with jQuery (another javascript library), and in that case, you can use the plugin jQuery Easy to fix that, or it could be another javascript error on the page (you can check the error log of your browser for that).
Or it could also be your template or another extension forcing the removing of mootools on the page (you can check the HTML header of the page for the presence of mootools)
Please Log in or Create an account to join the conversation.
Time to create page: 0.049 seconds