Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Page 2 of 2
lightbox 2.0 only in custom template
 
Hercilio Costa
Member
 
Total Posts:  44
Joined:  2008-07-15
 

Hi Serpico,

place your js file in domain.com/skin/frontend/default/modern/js/lightbox/lightbox.js

Put this two lines in page.xml:

<action method="addItem"><type>skin_js</type><name>js/lightbox/lightbox.js</name></action>
<
action method="addItem"><type>skin_css</type><name>css/lightbox.css</name></action>

 
Magento Community Magento Community
Magento Community
Magento Community
 
srinigenie
Guru
 
Avatar
Total Posts:  398
Joined:  2008-02-04
 

have you tried floatbox ??

 
Magento Community Magento Community
Magento Community
Magento Community
 
Lorenzo66
Jr. Member
 
Total Posts:  13
Joined:  2008-06-04
London, UK
 

Hello,
I have been struggling a bit with lightbox but eventually I figured things out.
1) What Hercilio suggests it’s correct. For some reason the js doesn’t get through if it is not done in the way Hercilio suggests.
2) With the latest versions of magento (I’m running the 1.1.6) you need the latest version of lightbox.
enjoy!

 
Magento Community Magento Community
Magento Community
Magento Community
 
serpico
Jr. Member
 
Total Posts:  6
Joined:  2008-08-28
 

Don’t forget to clear your Magento cache too.

 
Magento Community Magento Community
Magento Community
Magento Community
 
cooee
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2007-08-31
Aachen, Germany
 

Somehow this link to the wiki does not contain any information about inserting lightbox?

Adding lightbox to Magento

 Signature 

cooee eCommerce Blog

 
Magento Community Magento Community
Magento Community
Magento Community
 
laurent
Member
 
Total Posts:  62
Joined:  2007-08-31
Paris, France
 

Somehow this link to the wiki does not contain any information about inserting lightbox?

Adding lightbox to Magento

The correct link is http://www.magentocommerce.com/wiki/adding_lightbox_to_magento_v2

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dustballs
Jr. Member
 
Total Posts:  1
Joined:  2008-10-13
 

I still can’t get mine to work, can someone help?

http://www.missiontwo.com/shop/

 Signature 

Gary
Project: M Magento Shop

 
Magento Community Magento Community
Magento Community
Magento Community
 
jemoon
Member
 
Avatar
Total Posts:  46
Joined:  2008-09-30
Gdansk, Poland
 

Dustballs From a quick scan of your code I see that you haven’t changed your media.phtml file.

 Signature 

Wszystkich zainteresowanych zapraszam na Nieoficjalne, Polskie Forum Magento

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dustballs
Jr. Member
 
Total Posts:  1
Joined:  2008-10-13
 

Thanks, Jemoon,

I had previously changed the media.phtml file in “default/default/template/catalog/product/view” folder instead

I have now updated the media.phtml file in “default/modern/template/catalog/product/view”

and It’s now working, HOWEVER, all my lightbox pictures show the same product title instead of the image title, is this normal?

Thanks heaps…

 Signature 

Gary
Project: M Magento Shop

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dustballs
Jr. Member
 
Total Posts:  1
Joined:  2008-10-13
 

Edited:  “Accidently posted double, admin may delete this”

 Signature 

Gary
Project: M Magento Shop

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 2 of 2
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53215 users|744 users currently online|107266 forum posts