Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pop up image not working when sts on?


balloons

Recommended Posts

I have sts installed and a template installed and it does not look too bad.

 

The problem I have is that when I turn on sts and I click on an image to enlarge it does nothing and a new pop up does not appear, but if I turn off sts and then click on the image, the image pops up in a new window as it should?

 

Can anyone tell me where I am going wrong?

 

I have been through the sts module settings but to no joy.

 

My site is here: Visit My Website

Link to comment
Share on other sites

I went to your site, and the javascript for the popup script isn't in the <head> section now.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Cheers germ.

 

I take it that the javascript has to be in the head section of my web template?

 

Can you tell me where I can gt the script so that I can put it in?

 

It seems strange that if I turn off sts the the popup's work even without scipt in the head?!!!

 

Cheers.

Link to comment
Share on other sites

Thanks for the help Germ!

 

I read through your earlier posts and found out what I needed to add and have got the pop ups working now!

 

I just needed to include:

 

<!--$headcontent-->

 

I put it in the head section after the link to the stylesheet and the pop ups are working great now!!

 

Now, I dont suppose you would know why in Firefox I see ? instead of £. I have got £ in the currencies and changed USD to GBP but really need to get it right in Firefox as it works OK with Internet Explorer.

 

Cheers for the help.

Link to comment
Share on other sites

Maybe define the pound sign in the Admin like this:

 

£

:unsure:

Edited by germ

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Admin --> Localization --> Currencies --> Euro (?)

 

Edit that & put what I said in the "Symbol Left" field?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Spot on Germ!

 

Put the '£' into symbol left field as you said and it works a treat! Now it displays £ in Firefox and Internet explorer!

 

I just need to get the hang of css and get my template to expand and contract and I am onto a winner!

 

Thanks very much for the help, you have solved two of my probs!

 

Cheers.

Link to comment
Share on other sites

One more thing Germ.

 

I want to specify how many items that the cart displays. If more than 5 items are in the cart then my template breaks apart so I want the cart to go to another page if more than 5 items are in the cart.

 

Can you tell me where I can make the adjustments as I have looked all through admin but to no avail.

 

Any help would be great.

 

Cheers.

Link to comment
Share on other sites

I'm thinking it's going to take a coding change in shopping_cart.php

 

Search the forums, you may find something.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...