Content last modified Sunday 30 November 2008
hop to #bottom
Categories:
Author:
Current version:
0.6.4
About It:
Get it:
Rate it:
  • Helpful?
  • 1 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

glx_if

This plugin comes with 11 different conditional tags.

glx_if_frontpage
If we are on the websites frontpage

glx_if_not_frontpage
If we are not on the websites frontpage, searchpage or category list. hmmm this could be the same as if_individual_article, well i cant remember why i did this one. But it is there for you to play with.

glx_if_section_frontpage
If we are on a sections frontpage

glx_if_not_section_frontpage
If we are not on the sections frontpage but in a section

glx_if_search
If the user are doing a search

glx_if_not_search
If a search not have been attempted

glx_if_category_list
If we are on a category list

glx_if_comments_open
If comments are open for this article

glx_if_comments_closed
If comments are closed for this article

glx_if_comments_closed_comments
If comments are closed for this article, but there are comments left before

glx_if_comments_count
Oputput text if comments are equal to something

You can see some examples and more info at the Information URL below.

Article Request Count:
Initially released:
2004-10-26
Posted here:
21 Feb 2005
Article modified:
09 Apr 2005

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (4)

This is a great plugin that has helped me greatly with my front page being completely different than the rest of my site. Thank you!
this is a GREAT!!! plugin. Thanks for releasing it.
Worth:
Forum link didn’t work for me—should be forum.textpattern.com/viewtopic.php?id=4526

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site. Get a Gravatar.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
TxP · TxD · GG