Forum Support

 
Advanced Search


[1]

Offline iturea
Free Member
Posts: 16
Posted 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

Offline jonahh
Free Member
Posts: 23789 WWW
Posted 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

Offline iturea
Free Member
Posts: 16
Posted 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

Offline jonahh
Free Member
Posts: 23789 WWW
Posted 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

Offline iturea
Free Member
Posts: 16
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted 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

Offline iturea
Free Member
Posts: 16
Posted 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

Offline jonahh
Free Member
Posts: 23789 WWW
Posted 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
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.028 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
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.