Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-10 15:15:51

wspence
Member
Registered: 2006-09-03
Posts: 84

Ok trying need help with one tag for a form

looking of how to include a author’s email. i guess this is going to pull the email address they supply in the administration area of the site. anyway, anyone know what this tag would be?

thanks in advance!

Offline

#2 2007-05-10 15:41:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Ok trying need help with one tag for a form

You could use
txp:if_article_author and txp:email

<txp:if_article_author name="zem">
<txp:email email="zem@gmail.com" linktext="Contact" title="Send an Email" />
</txp:if_article_author>

<txp:if_article_author name="mary">
<txp:email email="mary@gmail.com" linktext="Contact" title="Send an Email" />
</txp:if_article_author>

<txp:if_article_author name="sencer">
<txp:email email="sencer@gmail.com" linktext="Contact" title="Send an Email" />
</txp:if_article_author>

Last edited by colak (2007-05-10 15:44:08)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2007-05-10 16:03:25

wspence
Member
Registered: 2006-09-03
Posts: 84

Re: Ok trying need help with one tag for a form

many thanks!

Offline

Board footer

Powered by FluxBB