Results 1 to 3 of 3

Thread: Homepage only template tag?

  1. #1
    Join Date
    Oct 2006
    Posts
    13

    Question Homepage only template tag?

    Is there a template tag to display something on the homepage only?

    Like {check_homepage}...

    I have a jquery slideshow built that I would like to display on the homepage only.

    Any suggestions would be very appreciated.

    Thanks!

  2. #2
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    49
    Posts
    9,796

    Default Re: Homepage only template tag?

    There is not tag like that but you could create a template that is only used on the home page and only include your slideshow in that template. I think the file should be named page1_main.html but check the docs to be sure.

  3. #3
    Join Date
    Oct 2006
    Posts
    13

    Lightbulb Re: Homepage only template tag?

    Thank so much PB. This worked perfectly!

    Here is the exact solution from the docs:
    page#_main.html - This is an optional main template for the site that is based on the page number. If you wish to have a unique template design for a specific page such as having featured listings in a section of the template on the home page (Page 1) but not the rest of the site then you can create a page#_main.html template with the differences you want. Open-Realty will use the page#_main.html template for pages where the alternate main template exists, if there is no specific main template for that page then it will default to the main.html template for that page. (# would be the page number you want to use this main template for)

    You can specify a PageID=# variable in the URL for any page on your site in order to specify an alternate main template file for the page you are displaying. The PageID=# variable is specified automatically for all page editor created pages, you can create a custom PageID for any other page you wish to have an alternate main template layout for.

Similar Threads

  1. Liquid-Realty template,changing the background color (homepage etc)
    By voodoo1967 in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 1
    Last Post: 05-13-2009, 10:25 AM
  2. homepage help
    By samandsukh in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 1
    Last Post: 08-19-2008, 12:01 PM
  3. Different Homepage from the other
    By sraone77 in forum Addon help, ideas and discussion (CLOSED)
    Replies: 1
    Last Post: 04-04-2008, 09:13 AM
  4. where did the homepage go ?
    By nomadik in forum Installation/Configuration Help (CLOSED)
    Replies: 0
    Last Post: 01-27-2007, 01:50 AM
  5. HomePage
    By Rik in forum General Help (CLOSED)
    Replies: 2
    Last Post: 09-07-2006, 01:33 PM

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
  •