Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-08-10 13:17:40

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Need to use <txp:author/> on a list page

I would like to use <txp:author /> on a page (I know I can’t) that lists all articles, within a certain section, written by a particular author. I have just hacked together a solution, but I’m sure there is a way to do this better, my solution is:

<txp:article limit="1"><h1>Blog articles written by <txp:author /></h1></txp:article>

My article list code is below this.

Cheers in advance.

Zander


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#2 2010-08-10 20:06:01

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: Need to use <txp:author/> on a list page

article_custom will let you filter by both author and section attributes, if I understand your question correctly?

I’m using a plugin that I wrote to provide a solution of that type in general here Authors

The plugin is available @ ras_author_list

Last edited by rsilletti (2010-08-10 20:11:39)

Offline

Board footer

Powered by FluxBB