aboyz Posted June 10, 2003 Posted June 10, 2003 Hi, How do you remove all of the Right Column? Which file do i edit to remove all right columnt. thanks
Guest Posted June 10, 2003 Posted June 10, 2003 catalog/includes/ // in front to edit out boxes there's column right and column left
Guest Posted June 10, 2003 Posted June 10, 2003 http://wiki.oscommerce.com/helpHowtoRemoveBoxes HTH The_Bear
Guest Posted July 3, 2003 Posted July 3, 2003 Anyone up for a challenge... I was kind of hoping it might happen in default.php. I tried: <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php [b]/*[/b] require(DIR_WS_INCLUDES . 'column_right.php'); [b]*/[/b] ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> as well as deleting this section of code, but to no avail. I think I could fumble through it if someone could point me in the right direction and assure me it's possible. The contributions pages don't have a right column, so there must be a way! :idea: Jenn
Guest Posted July 3, 2003 Posted July 3, 2003 nevermind, just now followed the link above and found my answer!
Guest Posted July 3, 2003 Posted July 3, 2003 Ok, so I do have a question after all. I followed directions from Wiki: http://wiki.oscommerce.com/helpHowtoRemoveBoxes and changed code in default.php, however really it was just adding some spaces. Well, the column is displaying the code now, and before I remove the code in question from EVERY php file that displays a page I would like to be certain there wasn't a typo in the document. So this time, I really could use some assistance! This is what my default is showing now: http://alphabetangel.com/oscom/catalog/default.php Jenn
usmanaa Posted July 3, 2003 Posted July 3, 2003 There one other way of removing column_right.php, go into column_right.php page and comment everything out, which is what i did, saves a lot of time
Guest Posted July 3, 2003 Posted July 3, 2003 I actually need it to go completely away. I want a background image to repeat down the right side of the page, but the image changes with each page. I tried simply commenting everything out, but there is still something there taking up space when that happens and the image won't come up. Somebody, anybody? Gracias!
Guest Posted July 3, 2003 Posted July 3, 2003 You have to edit all the .php files in your base catalog directory that include column_right.php. You should not have to edit any of the files under include, etc. Hth, Matt
Guest Posted July 3, 2003 Posted July 3, 2003 Jenn This is the piece of code that generates the whole column right. Found at the bottom of every page in the catalog folder :cry: <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> The Html part obviously makes a table the full length of you main page and the PHP calls the boxes. Depending on how you want to put your background image? Either delete the whole code from the <TD> to the </TD> or just delete the call to the column right and put your image as a backround in the <table>. Unfortunaltely if this piece of code was placed in the footer.php file you would only have to make the change there, but it isnt so you will need to alter every page found in the catalog folder. Hope this helps you to acheive what you are trying to do?
Lazze Lazer Posted July 3, 2003 Posted July 3, 2003 Wiki Im just new to this oscom thing and have wandered around in the files and folders trying to get some sence out of it. I didnt! :( :( It doesnt look like anything ive been doing before , with dreamweaver, ASP and access. But Follow the link above and in 15 minutes of reading some sence comes out of it . Great - I can start modding the shop he he he :twisted:
Guest Posted July 3, 2003 Posted July 3, 2003 if you wanted to remove the column from displaying, rename the file , like from column_right.php to column_right_no.php To eleimate a file from displaying , its easier to rename it. Sorry, but you probably will have to replace what you removed to get the script off your page. Your other choice is to replace the default with someones default and go from there.
Guest Posted July 4, 2003 Posted July 4, 2003 SCORE! Just in case this may help someone else, I have a tendency to not see things clearly at the end of the day... Anyway, I was trying to figure out how to edit the code, and upon reviewal, I was supposed to remove it. So, yay, no more right column! :wink: Jenn
Guest Posted July 4, 2003 Posted July 4, 2003 Thanks to everyone who had a moment to assist... and Lars, This link was awesome! I am currently working on my second osCommerce project and it would have saved me so much time if I had been pointed in this direction in the beginning. It should be required reading for all! :lol: Jenn
Recommended Posts
Archived
This topic is now archived and is closed to further replies.