Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » if_author

#1 2006-05-15 07:42:32

Bender
Member
From: Czech Republic
Registered: 2005-11-01
Posts: 23
Website

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

#2 2006-05-15 12:38:25

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

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.

:)


Offline

#3 2006-05-15 13:01:17

Bender
Member
From: Czech Republic
Registered: 2005-11-01
Posts: 23
Website

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

#5 2006-05-15 14:17:11

Bender
Member
From: Czech Republic
Registered: 2005-11-01
Posts: 23
Website

Re: if_author

Ok, thank you.

Plugin looks great :)

Offline

#6 2006-05-15 14:22:32

Bender
Member
From: Czech Republic
Registered: 2005-11-01
Posts: 23
Website

Re: if_author

Yes, it works. Thank you again.

Offline

  1. Index
  2. » Archives
  3. » if_author

Board footer

Powered by FluxBB