Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-18 18:24:07

firago
Member
Registered: 2005-01-03
Posts: 54

is there a way to just input the url of an article?

I want to have a link to the comments part of the article on the frontpage. for example, something like <code><a href=”<txp:permalink_url />Comments”>13 Comments</a></code>

something like that. I am having a hard time putting this into words, so I was unable to do a thourough search of the forum, but I hope you can understand what I mean.

Last edited by firago (2006-03-18 18:24:44)

Offline

#2 2006-03-18 18:36:22

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

Re: is there a way to just input the url of an article?

Would the recent comments tag help?
<code><txp:recent_comments limit=“10” break=”<br />” /></code>


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 2006-03-18 18:49:47

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

Re: is there a way to just input the url of an article?

Doesn’t <txp:comments_invite /> do that?

Otherwise you can output the url to an article with <txp:permlink />.

Offline

#4 2006-03-19 07:33:11

firago
Member
Registered: 2005-01-03
Posts: 54

Re: is there a way to just input the url of an article?

<code><txp:comments_invite /></code> brings the user to the form where they can add their comment. I want to let the user go to view all previous comments. <code><txp:permlink /></code> works perfectly. Thanks so much.

Offline

Board footer

Powered by FluxBB