Jump to content
Latest News: (loading..)
Sign in to follow this  
JosephB

Popup image problem

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

Share this post


Link to post
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!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×