Guest Posted October 14, 2011 Posted October 14, 2011 Hello, I am hoping somebody can tell me how to move a couple of things on my shop home page. If you go to gpstrackershop.biz you can see that the "Welcome to GPS Tracker Shop" heading and text is at the top of the page and then below it is the "New products for xxxx" section. I am wanting to swap that around somehow but not sure how as I a a bit of a newb to oscommerce. So what I want is the "New products for xxxx" section at the top and the text below it. Any help is much appreciated. I can modify files and a cut and paste text but I am not a programmer nor am I familiar with where specific files might be. Cheers Shaun
Guest Posted October 14, 2011 Posted October 14, 2011 Shaun, Try moving this from line 265: include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); to under this at line 238: include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); I am just guessing at the line, but it should be close. Chris
multimixer Posted October 14, 2011 Posted October 14, 2011 I think you refer to the "front page" and not to the pages where product listing happens The file to work on is catalog/index.php In this file, scroll down to line about 243, where it says <?php } else { // default page ?> Anything below here is for the front page, that consist basically of 5 elements as follows <h1><?php echo HEADING_TITLE; // the page title on top ?></h1> <div class="contentContainer"> <div class="contentText"> <?php echo tep_customer_greeting(); // the welcome guest text ?> </div> <?php if (tep_not_null(TEXT_MAIN)) { ?> <div class="contentText"> <?php echo TEXT_MAIN; // the long text you have ?> </div> <?php } include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); // the new products section include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); // upcomming products, that is not visible on your site now ?> </div> You can move this elements around as you like, just take care of the html structure, you see eg, that both text sections are wrapped into <div class="contentText"> while the modules are not and that the whole section is in <div class="contentContainer"> not including the <h1> EDIT: There is also an addon called "modular frontpage" (http://addons.oscommerce.com/info/7626) that you could use, it will add more features to your frontpage My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.