Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-14 08:21:50

fas.khan
Member
From: Paris
Registered: 2007-06-06
Posts: 41

Stucked with authors data and information

Hello,

I am quite a lot stucked with author management lately with my project in TextPattern. It is a multi-author blog site and I am stucked in handling multiple information of authors.

First I wrote this post about author management which i really didn’t get any clue and I am stucked in it even now.

Now, the new thing is that I want with every article of mine, a brief introduction about author with his picture at the end of the article; like we usually see on news sites. Plus atleast I want that If someone clicks on author anchor in the article as written by: author name, I should get his page telling about his bio and the articles he wrote. (Not all the articles listed down in full text)

You can see My Site

I really think that it should be easy and has been tried by many people.

I would be very thankful for any help.

Regards,
Faisal Khan

Offline

#2 2007-08-14 12:52:30

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Stucked with authors data and information

If every site’s author makes profile information page/article by themselves, you can use something like this. Requires asy_wondertag

  1. Make section authors
  2. Tell your writes write there info about themselves, and use the Image-field for a profileimage.

But inside the default, used article-form:

<txp:asy_wondertag>
<txp:article_custom author="<txp:author />" section="authors" limit="1" form="author-info" />
</txp:asy_wondertag>

Create article form named author-info. Put there something like this:

<div id="author-info">
Info about <txp:author />
<txp:article_image />
<txp:body />
</div>

Cheers!

Last edited by Gocom (2007-08-14 12:53:38)

Offline

#3 2007-08-14 13:37:26

fas.khan
Member
From: Paris
Registered: 2007-06-06
Posts: 41

Re: Stucked with authors data and information

So what I will do is that i will make a section just for authors and say my authors to write about them in that … this is clear to me but I actually didnt understand the usage of asy_wondertag …

also When I select the author’s name will I be redirected to his page which shows his bio, pictures and all the articles he wrote ?

I am sorry for this stupid question but I really didnt understand.

Offline

Board footer

Powered by FluxBB