WORLD Motorsports Posted April 8, 2005 Posted April 8, 2005 Is there a way to implement Dropdown Menu 2.7 with the Simple Template System? I tried editing sts_display_output.php but I couldn't make the new search box appear. Quote Shawn Pauley WORLD Motorsports
WORLD Motorsports Posted April 11, 2005 Author Posted April 11, 2005 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. Quote Shawn Pauley WORLD Motorsports
WORLD Motorsports Posted April 12, 2005 Author Posted April 12, 2005 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? Quote Shawn Pauley WORLD Motorsports
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.