Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
extend authors
Although I am not using it, I lve the new txp:authors
tag and I believe that it could be extended so as to replace the rvm_privileged
plugin. The new tag could work like:
<txp:if_authors name"john,mary,steve">
...
<txp:else />
...
</txp:if_authors>
Or even:
<txp:if_authors group="designer">
<txp:authors wraptag="ul" break="li">
<txp:author link="1" />
(<txp:author_email />)
</txp:authors>
<txp:else />
<txp:if_authors group="publisher">
<txp:author link="1" />
</txp:if_authors>
</txp:if_authors>
and possibly more relevant to the way I work.
<txp:if_authors group="publisher,designer">
<txp:css format="link" name="future" />
<txp:else />
<txp:css format="link" name="default" />
</txp:if_authors>
This actually is a general comment to include an if
tag to all relevant tags – new and old. Although the examples above might look simplistic, the inventiveness of our users will probably use them in unexpected ways.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1