archangel_mike Posted August 9, 2005 Share Posted August 9, 2005 Hi, Great program! I have been riding the OsCommerce learning curve for about a month now. It's a steep climb but worth it :thumbsup: One thing that I am stumped on, & am hoping to get some help is boxes. I have read & re-read knowledge base on the subject, but can't seem to find the answer. Ok - here's my problem I have an install of oscommerce running under Mambo. (moscommerce) The Mabo install has stripped the left & right columns off OsCommerce, but I still want them (well some) Is there a way to move these boxes (What's New, Quick Find, Information, Shopping Cart, Bestsellers, Specials & Reviews) to the centre area of the OsCommerce window? I'd love to have them appear in a table across the screen just under the New Products area. I assume that it's doable - if I can just find the file that defines the location of these boxes I think I'll be right :blink: Thanks! Link to comment Share on other sites More sharing options...
wheeloftime Posted August 9, 2005 Share Posted August 9, 2005 Hi, Great program! I have been riding the OsCommerce learning curve for about a month now. It's a steep climb but worth it :thumbsup: One thing that I am stumped on, & am hoping to get some help is boxes. I have read & re-read knowledge base on the subject, but can't seem to find the answer. Ok - here's my problem I have an install of oscommerce running under Mambo. (moscommerce) The Mabo install has stripped the left & right columns off OsCommerce, but I still want them (well some) Is there a way to move these boxes (What's New, Quick Find, Information, Shopping Cart, Bestsellers, Specials & Reviews) to the centre area of the OsCommerce window? I'd love to have them appear in a table across the screen just under the New Products area. I assume that it's doable - if I can just find the file that defines the location of these boxes I think I'll be right :blink: Thanks! <{POST_SNAPBACK}> You should experiment a little bit but you should be able to include/require the different infoboxes within your index.php just like they are called within the colum_left.php and column_right.php. It's probably merely a question of finding the right place and make sure the width of each infobox stays correct. Link to comment Share on other sites More sharing options...
archangel_mike Posted August 9, 2005 Author Share Posted August 9, 2005 You should experiment a little bit but you should be able to include/require the different infoboxes within your index.php just like they are called within the colum_left.php and column_right.php. It's probably merely a question of finding the right place and make sure the width of each infobox stays correct. <{POST_SNAPBACK}> Thanks for your reply! That is what I assumed too. For me, it's more a problem of finding which page actually specifies what appears in the center ie between column_left & column_right. I also assumed that it is index.php Is that the index.php that appears in the same folder as column_left & right? Then I planned to drop each of the boxes into a table row, to maintain the correct width. Thanks again Mike Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2005 Share Posted August 10, 2005 Oscommerce is divided into 5 sections THe header the left column the main body area the right column the footer. Most file make up the main body area, and 'call' the columns, header and footer to show on the page. All the 'called' items can be found in /includes folder under obvious names like column_left, header.php, footer.php etc THe front page, categories and subcategories page are all controlled from the index.php file. To do what you want to do find line 318 and this <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> now add this below it <tr> <td><?php include(DIR_WS_BOXES . 'whats_new.php'); ?></td> </tr> so it should like this <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> <tr> <td><?php include(DIR_WS_BOXES . 'whats_new.php'); ?></td> </tr> You should be able to find your way with adding the other boxes too. The boxes are set to 100% width so will stretch to fit. If you want them next to each other just create a few ,<td> tags and put each box in one ;) moscommerce has a lot of changes so be carefull when altering it. Link to comment Share on other sites More sharing options...
archangel_mike Posted August 10, 2005 Author Share Posted August 10, 2005 Fantastic! Thanks very much! I'm a happy camper now :thumbsup: When I have made mods i'll post the URL here so you can see them Mike Link to comment Share on other sites More sharing options...
archangel_mike Posted August 11, 2005 Author Share Posted August 11, 2005 An update! (to say thanks again to the guys who helped out) After finding & modifying the correct index.php file, & then trying to find out why it made no difference I made an important discovery. That is that mosCommerce has a module that lets you add in any OsCommerce box as a Mambo module! So problem was already solved, & I wasted a week trying to figure out how to do it! at least I learned a hell of a lot about OsCommerce & Mambo in the process Thanks again Mike Link to comment Share on other sites More sharing options...
archangel_mike Posted August 18, 2005 Author Share Posted August 18, 2005 Another update! Mambo is a b!@#$h - it's nearly impossible to figure where a template will put anything, you have to spend days just sucking it & seeing before you can figure out just what's going on. But anyway - I now have the OSCommerce Mambo Component, plus box modules up & running , nearly to my satisfaction! If youwant to take a look www.hell.net.au/Mambo Thanks again for your fast assistance Mike Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.