Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [superseded] rah_if_title

#1 2007-08-19 01:56:09

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

[superseded] rah_if_title

Rah_if_title’s functionality can be produced with core tags as of Textpattern v4.0.7. The tags as if_variable and variable offer an excellent, native way to do generic comparison operations. A rah_if_title tag’s functionality can be replicated with:

<txp:variable name="title" value='<txp:title />' />
<txp:if_variable name="title" value="">
	Title is empty.
<txp:else />
	Title is set as <txp:variable name="title" />
</txp:if_variable>

Last edited by Gocom (2012-07-24 21:25:41)

Offline

#2 2007-09-19 14:42:25

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [superseded] rah_if_title

Updated the information and link, that were outdated, because change of domain.

Cheers!

Last edited by Gocom (2007-09-19 14:43:04)

Offline

  1. Index
  2. » Archives
  3. » [superseded] rah_if_title

Board footer

Powered by FluxBB