news: how to create a link to articles by same author

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
admsh
Forum Members
Forum Members
Posts: 93
Joined: Tue Aug 19, 2008 6:30 pm

news: how to create a link to articles by same author

Post by admsh »

not sure if this is possible - i have a "Author" custom field in news. each article lists the authors at the top. i want to make the name a link to a page where articles authored by that person will show up.

possible?
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: news: how to create a link to articles by same author

Post by Gregor »

In the T&T is a post on a UDT Prev / Next, I think there is a post regarding this UDT as well. This UDT 'collects' articles within a category. Maybe you can use this as a start for your request.

Gregor
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: news: how to create a link to articles by same author

Post by applejack »

In the page where you link from make so that the link goes to a specific page and pas the authors name as a variable i.e. authors/?joe-bloggs

On the authors page call a news summary template to which you pass the authors name and show only those articles based upon a conditional loop of the custom field.
User avatar
manuel
Power Poster
Power Poster
Posts: 354
Joined: Fri Nov 30, 2007 9:15 am

Re: news: how to create a link to articles by same author

Post by manuel »

Hi admsh,

I created an article on the i-do-this blog you might be interested in ;)

http://www.i-do-this.com/blog/65/Show-a ... ame-author

Greetings,
Manuel
Post Reply

Return to “CMSMS Core”