Go to content Go to navigation Go to search

Ode de Fun :) Ode de Falter :( · Aug 20, 09:52 pm by Rick Silletti


The Textpattern Devs have unleased comments in Texpattern. All the normal default behaviors are there, but the new options have unleased some two edged potentials.
Two examples of what can be done.

Ode de Fun:

< txp:if_comments_disallowed id="3" >
< txp:comments id="3" form="special" / >
< /txp:if_comments_disallowed >

Will display the comments for article id 3 when that article is disabled for new comments, if available.

Ode de Falter:

< txp:if_comments_disallowed id="4" >
< txp:comments id="3" form="special" / >
< /txp:if_comments_disallowed >

Will display the comments for article id 3 when article id 4 is disabled for new comments, if available.

I believe both of these can be used in a column or page with the defined result. Obviously one must define those results carefully.


Section: article


  1. < txp:comment_premlink > will show you a link in a page or a column, but it doesn’t get passed an id to link with unless TXP is displaying an individual article. No id, link no worky-worky!
    Rick Silletti    Aug 21, 08:11 pm    #
Name
E-mail
http://
Message
  Textile Help

"> Ba Da TEXTPATTERN 4.0