Shape 5

Joomla Templates => Touch of Soul - Club => : chasbagley October 05, 2010, 12:04:10 PM



: Lightbox issue
: chasbagley October 05, 2010, 12:04:10 PM
Good Day,
Gentleman, I am having an issue with the lightbox on my Virtuemart.
It seems that it opens to a new window and not in a lightbox.
Would you mind taking a look see?
Thanks so much,
Charlie
http://fadedfly.com/our-shop.html?page=shop.browse&category_id=3


: Re: Lightbox issue
: mikek October 05, 2010, 12:52:30 PM
Hello,

Your product detail pages are showing a javascript error. I would suggest checking on virtuemart.net's forum boards to see if there are any similar posts and solutions, as this appears to be a component related issue.


: Re: Lightbox issue
: chasbagley October 05, 2010, 01:23:27 PM
Thanks Mike,
I will do it.
Charlie


: Re: Lightbox issue
: chasbagley October 05, 2010, 02:35:52 PM
Hey Mike,
I am getting no where fast.
This must be a serious problem for Virtuemart.
This is one of the solutions I have tried to no avail.

I have been having this problem for the last four months and I finally got it resolved...

The problem is the line that looks like this when viewing the source is not loading properly:

<script src="/components/com_virtuemart/fetchscript.php?gzip=0&amp;subdir[0]=/themes/italomty&amp;file[0]=theme.js&amp;subdir[1]=/js&amp;file[1]=sleight.js&amp;subdir[2]=/js/mootools&amp;file[2]=mootools-release-1.11.js&amp;subdir[3]=/js/mootools&amp;file[3]=mooPrompt.js&amp;subdir[4]=/js/slimbox/js&amp;file[4]=slimbox.js" type="text/javascript"></script>


I added the following lines to my template header and it solved my problem:

  <script type="text/javascript" src="/includes/js/joomla.javascript.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/js/mootools/mooPrompt.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/js/slimbox/js/slimbox.js"></script>

Maybe I am just putting it into the wrong place.
Do you have any experience with this module?
Any help at all would be greatly appreciated.
Thanks,
Charlie


: Re: Lightbox issue
: mikek October 06, 2010, 07:34:39 AM
Hello,

I am sorry but I am not sure what would cause that. You would need to post on their forum boards to see if there is a resolution to this problem.