Content last modified Monday 17 November 2008
hop to #bottom
Categories:
Author:
About It:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

form vs. listform

“form” and “listform” attributes are normally associated with article tags. The “article” tag will accept both attributes, and will select which form will be used to display article information based on the system`s mode.

Textpattern`s article display mode is either “single article”, or “article list”.

Single Article

When a hyperlink to a specific article is activated, Textpattern will display that article by itself; this context is recognized by the “article” tag and the form defined with the “form” attribute is used for display.

Article List

When category or section search is done, Textpattern returns a list of articles according to the search criteria; this context is recognized by the “article” tag and the form defined with the “listform” attribute is used for display

Article Request Count:
Posted here:
17 Feb 2005
Article modified:
01 Apr 2005

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

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

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