LisaT Posted August 24, 2005 Share Posted August 24, 2005 I installed the Xmas greeting banner extension and found that it has forced my main content down the page and has made my other infoboxes too wide - all in all, the page is now a mess! I can't figure-out what's causing this to happen. I have STS installed and have added require(DIR_WS_BOXES . 'xmasbox.php'); into column_left.php when I remove the above line of code, the page goes back to normal Any ideas?? Link to comment Share on other sites More sharing options...
LisaT Posted August 24, 2005 Author Share Posted August 24, 2005 Forgot to mention - you can see the problem atGet the Gift Link to comment Share on other sites More sharing options...
Guest Posted August 24, 2005 Share Posted August 24, 2005 seems there are additional table elements terminators near the end of your whatsnew/gifts boxes. See your html source Link to comment Share on other sites More sharing options...
LisaT Posted August 24, 2005 Author Share Posted August 24, 2005 HI Mark, Within column_left.php this is the relevant piece of code: // STS: ADD $sts_block_name = 'categorybox'; require(STS_RESTART_CAPTURE); // STS: EOADD if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } // STS: ADD $sts_block_name = 'manufacturerbox'; require(STS_RESTART_CAPTURE); // STS: EOADD require(DIR_WS_BOXES . 'xmasbox.php'); require(DIR_WS_BOXES . 'whats_new.php'); // STS: ADD $sts_block_name = 'whatsnewbox'; require(STS_RESTART_CAPTURE); // STS: EOADD I don't see any HTML in here. Am I therefore looking at the wrong file? Link to comment Share on other sites More sharing options...
Guest Posted August 24, 2005 Share Posted August 24, 2005 yes the files of interest are 'xmasbox.php' 'whats_new.php' In there make sure there are no additional or missing table elements. And you can see the html source of the page. Go to your page then on your browser click View->Source. Then search for xmas to see how the html output is shown for xmas box. Here I was seeing extra table terminators. Link to comment Share on other sites More sharing options...
LisaT Posted August 24, 2005 Author Share Posted August 24, 2005 Hi Mark, Thanks for your help. This problem really had me stumped as I am quite new to OSc. I came across the solution by accident - I merely moved the code require(DIR_WS_BOXES . 'xmasbox.php'); underneath the code for the order_history_box in column_left.php I noticed that the code for the xmas box was appearing in the middle of the code for the whats new box Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.