Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-26 10:20:23

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Author personal web site - how to show it

I have also a personal page and I would like to show it below the articles, linking my name.
I also would like not have the same for everyone comments the articles. I’haven’t found the right tag.
Does anyone know it?
Thanks

Offline

#2 2009-04-26 10:28:21

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

Re: Author personal web site - how to show it

Bongo-man wrote:

I have also a personal page and I would like to show it below the articles, linking my name.

Hi Bongo man, You can hard code it in your page templates

I also would like not have the same for everyone comments the articles. I’haven’t found the right tag.

Sorry can you rephrase this?


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 2009-04-26 10:41:02

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Author personal web site - how to show it

I wanted to know how have the article author’s web-site without allowing the same for the comment author, but your first answer is what I needed and is also an obvious solution.

…I’m sorry I have again some difficulties in being used with blogs. I’m a ‘static’ webmaster. :-)

I’ve almost found the solution in this way:
- I’ve created a link category ‘author’, inserted in the same categoy the link Authorname&surname, with its homepage address and the I used this conditional expression:

<txp:if_article_author name=“admin”> <txp:linklist category=“author”> <span class=“authorcss”>Author: <txp:link />,</span> <txp:posted /> </txp:linklist>
</txp:if_article_author>

but I don’t know how not to have also the article default author’s name & date aboveit and have now the notice: ‘commets closed’ below the author name, instead of above.

Last edited by Bongo-man (2009-04-26 17:15:19)

Offline

#4 2009-04-26 13:00:22

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

Re: Author personal web site - how to show it

Bongo-man wrote:

but I don’t know how not to have also the article default author’s name & date aboveit and have now the notice: ‘commets closed’ below the author name, instead of above.

The article’s default author is somewhere in your forms – probably in the default form – and it is called in with the <txp:author /> tag. If you put your <txp:link> solution in that form (replace it with the <txp:author /> tag), it’ll probably appear where you want it


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2009-04-26 17:18:15

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Author personal web site - how to show it

Yes, I had not understood the way the forms act. Now it’s looks ok. I have also seen I can add a <txp:else /> to get the opportunity to display other authors, creating other categories for them. …it’s a little cumplicated, but I’ve got the solution for my problem.
I have also corrected some errors in my antecedent solution posted.
Thanks,
Bongo-man

Last edited by Bongo-man (2009-04-26 17:24:32)

Offline

#6 2009-04-28 21:37:59

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Author personal web site - how to show it

Now I have a problem related to the antecedent.in which I added the <txp:posted> tag.

I need to insert many antecedent articles in the blog, and I need to display the antecedent date, so I think to display it only in the article (not in the template) and using the same template and then the same section.
PRobably, I think I must use a conditionalexpression based on the article IDs, but I wonder if is there any better solution.
Bongo-man

Offline

#7 2009-04-28 22:04:26

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

Re: Author personal web site - how to show it

I’m not sure if I understand you correctly, but if you mean you need to post articles with dates in the past, you can easily change the posted date by clicking the “More” link in the Write screen. It’s just above the Save/Publish button.

Offline

#8 2009-04-28 22:16:44

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Author personal web site - how to show it

That is what I really needed. It is a little hidden, I didn’t noticed it!
Thank you, very much.

Offline

Board footer

Powered by FluxBB