1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Changing PHP Link Directory

Discussion in 'Content Management' started by aaron_nimocks, May 29, 2006.

  1. #1
    This is for someone who is familiar with this popular script.

    Im looking to add something in the template layouts on main.tpl to just show up on the homepage and not all the other pages. Anyone know of a way to do this?

    Site is www.myspacelayoutsdirectory.com if you want to look at what I mean. I want the popular searches only on the homepage.

    Thanks! :)
     
    aaron_nimocks, May 29, 2006 IP
  2. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #2
    Hi,

    To get something on the home page only, use this..

    {if $category.ID eq 0 and not $p and not $qu}
    what u want to show only on the home page goes here
    {/if}

    Hope that helps.
    :)
     
    ing, May 29, 2006 IP
    aaron_nimocks likes this.
  3. aaron_nimocks

    aaron_nimocks Im kind of a big deal Staff

    Messages:
    5,563
    Likes Received:
    627
    Best Answers:
    0
    Trophy Points:
    420
    #3
    You the man!

    Heres some green. :)
     
    aaron_nimocks, May 29, 2006 IP
  4. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #4
    Thanks!

    P.S. - I'm a Woman :p
    lol

    Ingrid
     
    ing, May 29, 2006 IP
  5. aaron_nimocks

    aaron_nimocks Im kind of a big deal Staff

    Messages:
    5,563
    Likes Received:
    627
    Best Answers:
    0
    Trophy Points:
    420
    #5
    Haha,

    You the woman!! :)
     
    aaron_nimocks, May 29, 2006 IP
  6. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #6
    hehe.. that's better !
    :p
     
    ing, May 29, 2006 IP