Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
if_author
Hi,
please can I use if_author tag? I have Textpattern · 4.0.3 installed and this tag not working.
Can anyone help me? Please. Thank you.
I want create author´s list of article.
Last edited by Bender (2006-05-15 13:01:53)
Offline
Re: if_author
We need more information.
How are you trying to use it.
Post your code here like this <code>< code ><txp:if_author></txp:if_author>< /code ></code>
but without the spaces in the “code” tags.
:)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: if_author
Thank you!
I my presentation->pages is code:
<code>
…
<txp:if_author name=“My name”>
<ul><txp:article listform=“seznam-autor” /></ul>
</txp:if_author>
…
</code>
seznam-autor form:
<code>
…
<li><txp:posted />: <a href=”<txp:permlink />/” title=”<txp:title />”><txp:title /></a>, <txp:comments_invite showalways=“1” /><txp:else /> / [<a href=”<txp:permlink />#komentar” title=”<txp:title />”>Přidat komentář</a>]</txp:if_comments></li>
…
</code>
I don´t know where is mistake.
Thank you again
Offline
#4 2006-05-15 14:14:39
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: if_author
Two possibilities:
if_author is recent and may not be present if you downloaded from the 4.0.3 download link on textpattern.com.
Also if_author looks for search by author name much like if_search looks for a search to be conducted and won’t return true in a page template otherwise.
If you need a plugin I have one available at Plugin Link that will provide the required function.
Offline
Re: if_author
Ok, thank you.
Plugin looks great :)
Offline
Re: if_author
Yes, it works. Thank you again.
Offline