Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STS w/ Dropdown Menu


Recommended Posts

I added the folowing to sts_user_code.php:

 

$sts_block_name = 'dropdownmenu';
require(STS_START_CAPTURE);
require(DIR_WS_BOXES . 'categories_js.php');
require(STS_STOP_CAPTURE);
$template['dropdownmenu'] = strip_unwanted_tags($sts_block['dropdownmenu'], 'dropdownmenu');

 

And added the variable $dropdownmenu to sts_template.html. However, the output is messed up. See http://www.world-motorsports.com/catalog to see what I'm talking about. It looks like I might be missing something, but I'm not sure what. Could someone take the time to look at our site and try to figure out what else I need to do from here? Thank you in advance.

Shawn Pauley

WORLD Motorsports

Link to comment
Share on other sites

I've also added code to column_left.php and application_top.php. Those resolved the formatting problem, the only thing left is the Javascript; it's not loading for some reason. Does it need to be added to the <head> of sts_template.html perhaps, or is there a better way?

Shawn Pauley

WORLD Motorsports

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