Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    38
    Plugin Contributions
    0

    Default Non-template home page

    Is it possible to have my home page (index.php) not be template-based, but include certain Zen Cart functions such as "Search", "New Products", "Sale Items", "Featured Products", etc.?

    Lucy Caldwell

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Non-template home page

    It is possible to have a completely different template for the home page compared to the rest of the site. (Look at my site.)

    You can create a special stylesheet named index_home.css in the /your_template/css/ folder to control display of many items, and define_main_page.php (in Tools > Define Pages Editor) can add unique code and content. Those are the main methods I used.

    There are also directions in the comments at the top of /includes/templates/your_template/common/tpl_main_page.php for selectively enabling or disabling elements on various pages.

 

 

Similar Threads

  1. v154 Template Home page
    By StevenUK in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jan 2016, 12:46 PM
  2. Replies: 12
    Last Post: 13 Oct 2013, 11:41 PM
  3. v139d Change home page on custom template
    By WEBDUDE in forum General Questions
    Replies: 7
    Last Post: 20 Apr 2013, 10:45 AM
  4. help, someone added non visible links to my home page?
    By simondirect in forum General Questions
    Replies: 2
    Last Post: 2 May 2011, 10:18 AM
  5. Non-SSL forms on an SSL page in a Template Monster template
    By sidney in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 25 Aug 2010, 06:36 PM

Posting Permissions

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