HomeHome Product Discus... Product Discus...SmithCartSmithCartlightbox & slideshowlightbox & slideshow
Previous
 
Next
New Post
11/17/2010 12:51 AM
 

Hi,
I'm very interested in Shoping Cart dnn module.
I'm testing and learning it in localhost (trial) and I've created products, categories etc. and all the product-photos are displayed ok in product details page, but when I click a photo, it is showed alone in a new internet explorer page instead in the lightbox. In fact the lightbox doesn't works...
Perhaps I'm doing something wrong?
Please, could you help me?

I'm using SmithCart03.90.00-DNN5
Thanks in advance.

 
New Post
11/17/2010 1:26 AM
 

In the cart install PA zip file you downloaded there should be a readme file in the lightbox.zip that says the following:

Enabling Lightbox on the Product Details Page
----------------------------------------------------------
In order to enable lightbox on the product details page, copy the files in the attached zip to the following folders off the root of of your dnn install:

\css
\js

You should already have a \js folder so just copy the .js files to your existing \js folder

You most likely will not have a css folder so copy the css folder as is with the lightbox.css file in it.

Note: You only need to copy the lightbox files if you want to enable lightbox on the product details page.

To learn more about the Lightbox feature implemented in Smith Cart visit http://www.huddletogether.com/projects/lightbox2/


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/17/2010 2:50 AM
 

OK! - Thanks a lot, I've seen the lightbox.zip that you mean... I'm going to follow your instructions.

 
New Post
11/17/2010 9:43 AM
 

Hi again!

I've followed related instructions to install lighbox but it does not work. When I click an image from product details module it still shows the image in a new explorer page ... In fact if you pass mouse over any image, in the bottom of explorer appears the complete url of image, ie: http://localhost/dnn050501/Portals/0/... and when click is it what it shows...

I've also restarted the pc, erased cookies, temporals, etc...

Could anybody help me?

Thanks

 
New Post
11/17/2010 11:27 PM
 

I think its a path issue. If you open up the productdetail.ascx file you will see the following lines:

<link href="/css/lightbox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/prototype.js"></script>
<script type="text/javascript" src="/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="/js/lightbox.js"></script>
<script type='text/javascript' src='/js/jquery-1.3.2.min.js'></script>

The /css and /js folders are referenced from the portal root. Since you are running localhost you have an extra folder level. If you change the path references above and add your nested folder "dnn050501" the ligthbox effect should work.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/19/2010 1:21 AM
 

Hi again,

Thanks for your kindness, I've followed your instructions and now the lightbox is working!

There is only a little problem, but I supose related only to localhost: the control images in lighbox are not showed.

In any case I supose this will be ok in a life environment.

Thanks again.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartlightbox & slideshowlightbox & slideshow