Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Define Main Page (missing from my template)

    As outlined in the edited screenshot provided, I need to display another element on the home page (just a simple table with images and text).

    As far as I can tell, define_main_page isn't included in my template's tpl_main_page. Is there a simple solution to display my own include for the home page only?

    Thanks in advance!
    Attached Images Attached Images  

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Define Main Page (missing from my template)

    define_main_page isn't usually included in tpl_main_page. Rather it's included in tpl_index_default and tpl_index_categories. You IF statement should go in there and take advantage of the $this_is_homepage variable.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: Define Main Page (missing from my template)

    Thanks, Kuroi.

    Found what I was looking for in tpl_index_default. Didn't need to use an if statement or anything elaborate.

    A simple include("....") was all that was required.

    Thanks again.

    inn-shoes.com

 

 

Similar Threads

  1. Cannot edit main page from Tools/Define page editor
    By bearlymakinit in forum Customization from the Admin
    Replies: 2
    Last Post: 9 Apr 2015, 02:15 AM
  2. v151 Main page displaying text from define editor on every category page
    By Canvas101 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jun 2014, 02:47 AM
  3. v151 template monster define main page no longer active
    By Derek Bryant in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 30 Dec 2013, 11:08 PM
  4. Define Main Page Missing
    By DontBlink7 in forum General Questions
    Replies: 2
    Last Post: 6 Nov 2011, 01:02 AM
  5. Adding Code for Define Main Page back to my purchased template?
    By Delights in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 1 Sep 2010, 08:10 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