Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
cbe_if_form : check existence of a (list of) form(s)
Preliminary notes :
- as it is the first time I publish a plugin, I may (surely ?) have make mistakes in the process ; please forgive me and let me know :)
- english is not my native language, just ask if there’s anything you don’t understand.
Here we go :
cbe_if_form
provides an unique tag to check whether a form – or a list of forms – exist(s) or not in order to take the appropriate action.
Installation
- Download the plugin : either regular or compressed
- Copy-paste the code as usual, in Administration > plugins
- Activate it
The plugin leaves the database untouched.
Usage and syntax
It’s a conditional tag, always used as a container, which supports <txp:else />
The complete syntax of the tag is :
<txp:cbe_if_form name="..." delim="..." logic="...">
... action ...
<txp:else />
... other action ...
</txp:cbe_if_form>
Attributes are explained and examples are provided in the help that comes with the plugin.
Last edited by CeBe (2010-09-24 15:08:57)
Offline