Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-04-01 16:33:57

amavai
Member
Registered: 2009-08-25
Posts: 37

Author page profile [SOLVED]

In this post I would like to show you my particulary solutions for author page and author profile.

On an article, after the title I want to show the date, and the author name with a link to the author page where you can find an entire article with the author information.

Ok, so what I need is two main codes. The author’s article and the landing page. For this propouse I used two plugins:

<txp:mta_author/> give me the chance to link the author realname
<txp:smd_bio /> provide me with all the author information

I also use <txp:dzd_counter_view /> to show the numbers of reads.

So, first you need to create a section call “authors” and asign a page with the landing page.

This is the header of my article with the link to author profile:

<h1><txp:title /></h1>
<h5> <txp:dzd_counter_view force=“1” />
<txp:custom_field name=“countxx” /> Reads -
Posted on <txp:posted /> by
<txp:mta_author link=“1” display=“realname” />
</h5>

For mta_author just install and follow the plugin instruction, nothing particular at this point.

And this is my “landing page” or author page profile:

<div id=“Header_Main_authors”>
<a href=”/authors/<txp:smd_bio_info items=‘tx_url’ label=”“ />”>
<txp:smd_bio_info items=“main_header” label=”“>
<txp:image id=”{smd_bio_main_header}” />
</txp:smd_bio_info></a>
</div>

After installing smd_bio, on the User tab in Textpatter you have to add a field named tx_url witch will contain the url of the article that you want to show in the user profile. And this is the most important thing: On the article that you want to display as the author profile you have on the bottom-left corner a field named “article url”. Both, article url and in smd_bio tx_url need to be the same! eg: customer-name.

Hope that is clear, please feel free to send any comments! ( if you want to see a live example, click in any news on the site that I working on: www.allinhr.com)

Amavai

Last edited by amavai (2010-04-27 12:55:23)

Offline

#2 2010-04-01 17:13:06

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

Re: Author page profile [SOLVED]

Hi Amavai,

What does it not work? or as importantly what does?

From the plugin’s forum thread: Note: Clean URLs” must be enabled.

Can we have an actual url?


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 2010-04-01 17:29:21

amavai
Member
Registered: 2009-08-25
Posts: 37

Re: Author page profile [SOLVED]

Hi,

Thanks for your response. If you want to see what it happens live, here are the links:

Amavai

Last edited by amavai (2010-04-06 10:26:56)

Offline

#4 2010-04-01 21:17:29

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Author page profile [SOLVED]

The plugin doesn’t seem to be supported anymore. Have a look at smd_bio.

Offline

#5 2010-04-02 11:01:01

amavai
Member
Registered: 2009-08-25
Posts: 37

Re: Author page profile [SOLVED]

Thank you Els, I will Investigate in that direction.

Amavai

Offline

Board footer

Powered by FluxBB