osCmax v2.5 User Manual
Results 1 to 2 of 2

Seperate Main Page Layout

This is a discussion on Seperate Main Page Layout within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I'd like to do a different layout for the home page of a site as opposed the the rest of ...

      
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    49
    Rep Power
    0


    Exclamation Seperate Main Page Layout

    I'd like to do a different layout for the home page of a site as opposed the the rest of the site (i.e. no infoboxes on the side). I understand this requires creating a different main_page.tpl.php file and calling it from index.php using the following bit of code:

    include (bts_select('main', $content_template)); // BTSv1.5

    I'm just unsure how to modify this bit of code to call the new version of main_page.tpl.php. Do I need to use a certain naming convention for the new version of main_page.tpl.php?

    I'd appreciate any help; I've been all over this site and the osCommerce forum as well.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Seperate Main Page Layout

    See the tutorial I wrote, it explains exactly how to do it:
    BTS Template Tutorial, Examples, converting osC template to BTS
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Where do I edit the product page layout?
    By Crimson220 in forum osCmax v2 Customization/Mods
    Replies: 7
    Last Post: 02-12-2009, 11:52 AM
  2. different layout for homepage and category page
    By ericgtp313 in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 08-14-2007, 01:05 PM
  3. Printer Friendly Product Page adapted for Seperate Price per Customer (SPPC)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-23-2007, 02:00 AM
  4. Product detail page as the home/main page???
    By sukarya in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-17-2006, 05:21 AM
  5. BTS: Different Layout for Main Site Page
    By ddecjc in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 09-15-2004, 10:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •