kronik76 Posted January 3, 2005 Share Posted January 3, 2005 i'm trying to move some info boxes from left to right but i'm having no luck at all I've cut & pasted the following code from column_left.php to column_right require(DIR_WS_BOXES . 'reviews.php'); // STS: ADD $sts_block_name = 'reviewsbox'; require(STS_RESTART_CAPTURE); // STS: EOADD uploaded both pages but it's not switched sides, i've tried it with various boxes and had the same results Is there something else i need to be doing to get this working ? thanks Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 3, 2005 Share Posted January 3, 2005 How are you editing the files? It could be the changes are not getting to the files on the server. Also be sure you are not looking at cached versions of the page. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
kronik76 Posted January 3, 2005 Author Share Posted January 3, 2005 How are you editing the files? It could be the changes are not getting to the files on the server. Also be sure you are not looking at cached versions of the page. Jack <{POST_SNAPBACK}> i'm editing the files locally and then ftping, even doing a hard refresh (ctrl+f5) has no effect on it <?php /* $Id: column_right.php,v 1.1 2003/09/08 19:26:22 jhtalk Exp jhtalk $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // STS: ADD $sts_block_name = 'columnleft2columnright'; require(STS_RESTART_CAPTURE); // STS: EOADD require(DIR_WS_BOXES . 'search.php'); // STS: ADD $sts_block_name = 'searchbox'; require(STS_RESTART_CAPTURE); // STS: EOADD require(DIR_WS_BOXES . 'whats_new.php'); // STS: ADD $sts_block_name = 'whatsnewbox'; require(STS_RESTART_CAPTURE); // STS: EOADD ?> this is my column_right.php code, i've copied the code for the search and whats new over from column_left to this file but the change hasn't happened So far this is being the biggest head f**k i've had so far :) should be the easiest thing to change really.. Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 3, 2005 Share Posted January 3, 2005 I'm sorry. I didn't pick up on the fact that you are using STS. The purpose of STS is to move things around via the template, not the code. Open your template file and move the file that way. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
kronik76 Posted January 3, 2005 Author Share Posted January 3, 2005 my mistake, i'd been toying with STS but decided to carry on without it, didn't realise i'd by using sts code all sorted out now :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.