Forum Support

Shape 5
March 28, 2024, 03:41:34 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: lytebox in Your Store?  (Read 1175 times)
iturea
Jr. Member
**
Offline Offline

Posts: 16



« on: June 12, 2008, 01:37:50 AM »

Dear all,

Does anybody know if it is possible to have the nice 'amped up lytebox' feature in the Your Store template, like in eMercantillism ?

I need something for Your Store to show the VirtueMart images in the same nice way like in eMarcantilism....

Thanks and best regards!
Maaike

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: June 12, 2008, 12:24:59 PM »

Hello,

Sure, just grab "lytebox.js" and "s5_vm_product_show.js" from the 1.0.x version of etensity and place these files in the JS folder of the Your Store template.


Add the following line of code right before you closing body tag:

Code:
<script type="text/javascript" language="javascript" src="<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/yourstore/js/lytebox.js"></script></script>

Add the following line of code right before you closing body tag:

Code:
<script type="text/javascript" language="javascript" src="<?php echo $mosConfig_live_site;?>/templates/yourstore/js/s5_vm_product_show.js"></script>

Regards,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
iturea
Jr. Member
**
Offline Offline

Posts: 16



« Reply #2 on: June 12, 2008, 02:37:43 PM »

Dear Jonah,

Many thanks for your fast response and excellent support again!
Sorry, one last question, I added both lines to bottom of the index.php file of the YourStore template, but nothing changed... Do I need to modify something else?

(By the way, It looks like in the demo of Etensity, the lytebox feature is not enabled too (in Firefox a normal image display shows up, not the lytebox).
The link in the Etensity demo refers to eMercantilism, I am not sure if that's right?
"VirtueMart Product Zoom Lytebox:
Go to product and click the image ")

Best regards and thanks,
Maaike
« Last Edit: June 12, 2008, 10:52:15 PM by iturea » Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: June 16, 2008, 10:35:03 AM »

Hello Maaike,

Perhaps the javascript didn't load for you in eTensity but the lytebox is enabled. 

Do you have a URL to your site that you could post?

Thanks,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
iturea
Jr. Member
**
Offline Offline

Posts: 16



« Reply #4 on: June 16, 2008, 10:54:54 AM »

Dear Jonah,
Many thanks for your reply, please see this link:
http://www.artimart.com/index.php?page=shop.product_details&flypage=shop.flypage&product_id=42&category_id=2&manufacturer_id=0&option=com_virtuemart&Itemid=1

Best regards,
Maaike
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #5 on: June 16, 2008, 11:18:14 AM »

You have the Javascript commented out at the bottom of your index.php file, thats why its not working.  You need to remove the "<!-- "  and "-->" before and after each file.  For example you have:

Code:
<!-- <script type="text/javascript" src="http://www.artimart.com/templates/yourstore/js/lytebox.js"></script>
 -->

It should be:


Code:
<script type="text/javascript" src="http://www.artimart.com/templates/yourstore/js/lytebox.js"></script>

Regards,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
iturea
Jr. Member
**
Offline Offline

Posts: 16



« Reply #6 on: June 16, 2008, 01:26:49 PM »

Thanks Jonah,
I temporarily commented it out, since I added these lines of code elsewhere in the index.php.
I have now added them at the bottom too and in Firefox it sometimes works (but without the 'close' button in the right corner), however in IE it's still not working...
sorry, hope you have another idea?
Thanks and best regards!
Maaike
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #7 on: June 18, 2008, 10:21:03 AM »

I just tried this page in IE and FF and it worked the second time I clicked it.  The first it did the old school popup style.  It might be because the lytebox didn't completely load the first time I tried it.

http://www.artimart.com/index.php?page=shop.product_details&category_id=3&flypage=shop.garden_flypage&product_id=21&option=com_virtuemart&Itemid=1

I noticed you have a bunch of calls to load the lytebox at the bottom of the index.php file.  I would take all of these out because you already have the lytebox being called at the top of your index.php file and thats all you need.

Regards,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.