Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-05 09:36:08
- TheUsability
- Member
- Registered: 2005-05-03
- Posts: 51
Linking Authors
Hi,
I’d like to link authors to their respective website. Currently, I’m using <txp:author /> to display the author of each article. Is it possible to include a logic that links those author names to several websites? I.e. if it’s Author A, it goes to website A, if it’s Author B, it goes to website B etc? I haven’t found anything like “if_author” yet.
Any clues?
Thanks,
_TU
Offline
Re: Linking Authors
I don’t know if any or all of these would do the trick – rss_if_author – rss_author_email – rss_author_info.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2005-10-06 14:08:07
- TheUsability
- Member
- Registered: 2005-05-03
- Posts: 51
Re: Linking Authors
rss_if_author would work but it’s broken in 4.0.1. Any idea how to fix it?
Offline
Re: Linking Authors
You could always use override forms. Having a specific form for each author and rapping the <code><txp:author /></code> tag in a link to their website.
Last edited by andreaparrish (2005-10-06 20:40:24)
Offline
#5 2005-10-06 20:44:51
- TheUsability
- Member
- Registered: 2005-05-03
- Posts: 51
Re: Linking Authors
nope, i don’t want to start with the override forms again. I used them for a long time without them being really necessary. I want the logic to be included in my default form where it belongs.
Also, no old articles would have this link then, because they aren’t published with those override forms.
It can’t be so hard to have something like if_author, can it? I mean, it’s pretty standard…
What about using some php magic?
Offline
Re: Linking Authors
I’d like to bump this and hoping towards making this a feature?
There is the rss_author_info plugin but all that is really needed is another field in the user record for website and to adjust the txp:author tag to offer another link type that would generate a link to the author’s website.
Feature ransom ;)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#7 2006-11-09 00:35:11
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Linking Authors
4.0.4 has an if_author tag.
Offline
Re: Linking Authors
Mary, the if_author tag would be cumbersome to maintain with many contributors.
Out of the box, Textpattern lacks a few fundamentals, archives, member pages, etc. Yes, there are plugins and how-tos, but moving forward, I hope that Textpattern makes it easier for the casual user to easily setup sites for their intended purpose.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Pages: 1