Results 1 to 2 of 2
  1. #1

    Default Banner on Main Page only

    Hello,

    I've tried reading the different posts on this topic but none fit exactly what I am trying to do.

    I have added a banner on my main page that links to main page=products_all. It is on the top of the page just beneath the EZ pages header location.

    I created its own group, which I named header-banner.

    I only want it to show up on the main page, but currently it is on all my pages.

    What do I need to add and where so that it only shows on my main page?

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Banner on Main Page only

    Put the banner code in this if

    if($this_is_home_page){
    // code to print out that banner goes here.
    }
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 

Similar Threads

  1. Banner sidebox only on main page
    By ddespera in forum Addon Sideboxes
    Replies: 6
    Last Post: 11 Dec 2010, 09:07 PM
  2. Replies: 1
    Last Post: 17 Oct 2009, 11:50 PM
  3. Banner on main page only
    By Berserker in forum Basic Configuration
    Replies: 5
    Last Post: 3 Mar 2008, 05:55 AM
  4. Banner on Main Page Only
    By BradSmith in forum Templates, Stylesheets, Page Layout
    Replies: 26
    Last Post: 16 May 2007, 09:47 PM
  5. Footer Banner Display on Main Only?
    By clayartisan in forum Basic Configuration
    Replies: 1
    Last Post: 2 Feb 2007, 04:49 AM

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