Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Popup image problem


JosephB

Recommended Posts

I installed STS as one of my first contribs on my OSC site. I LOVE IT! I'm not a php coder but can handle myself in html and am agile using FrontPage. STS was a perfect fit for me.

 

When I installed STS, I suddenly had no popups - unless I set the "normal" value to 1 and the "template" variable to 0. Then, magically, all popups worked fine - except Dynamic Mopics contrib - it always comes up with a text link that does not compute accurately (it misses the filename variable when it prints to the screen). Even in normal mode, Dynamic Mopics won't work with my STS installation.

 

Still, I'd be happy just to get the damn popup to work in template mode.

 

I think the problem might be in the sts_display_output.php file around line 234:

 

  if ($display_template_output == 1) {

    echo $template_html;

  }

 

The next line is:

 

if ($display_normal_output == 1) {

  echo $sts_block['applicationtop2header'];

  echo $sts_block['header'];

and seems to make the popup work fine. But it also keeps me from using my very nice templates.

 

Any ideas?

 

Thanks in advance,

Joseph

Steep learning curve? Hell, I don't even know enough to formulate a stupid question!!

Link to comment
Share on other sites

:lol: Eureka! I managed to fix my popup problem. I had replaced the header.php file with the original from the OSC MS2 download. That stripped off the javascript portions necessary for the javascripts to work with STS.

 

Now I'm having trouble with Dynamic Mopics. The popup comes up now but all I get is a text link to a nonexistant jpg file "/catalog/images/_big.jpg" when it should be "/catalog/images/voyagerxl_big.jpg"

 

As you can see, the filename is missing (the portion just before "_big"). Where did it go?

 

I've set my paths correctly in the admin so I'm left scratching my head.

 

Maybe I'll solve this problem as well and I'll post it here for others.

 

Joseph

Steep learning curve? Hell, I don't even know enough to formulate a stupid question!!

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...