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.

Taxonomy term page title

Discussion in 'Drupal' started by kawal24, Apr 6, 2012.

  1. #1
    Hi,
    I want to check in my theme's page.tpl.php that whether the current page is a taxonomy term page or not.
    Can anyone help me with this ?
     
    kawal24, Apr 6, 2012 IP
  2. kajol

    kajol Well-Known Member

    Messages:
    523
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #2
    if(arg(0) == 'taxonomy'){
    print 'taxonomy page';
    }
     
    kajol, Apr 7, 2012 IP
  3. kawal24

    kawal24 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I actually figured it out just after posting the question.

    Thank you for your help though.
     
    kawal24, Apr 8, 2012 IP