Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-03-05 21:31:11

alivato
Member
Registered: 2011-03-31
Posts: 151

How to add link to comments

How to add link to comments
If you do so, just open the article full.

<txp:permlink><txp:comments_count /> com.</txp:permlink>
or 
<txp:comment_permlink><txp:comments_count /> com.</txp:comment_permlink>

?

Last edited by alivato (2015-03-05 21:35:40)

Offline

#2 2015-03-06 08:58:51

etc
Developer
Registered: 2010-11-11
Posts: 5,393
Website GitHub

Re: How to add link to comments

The question is ambiguous: do you need a link to the comment form/display, or individual comments?

Offline

#3 2015-03-06 09:43:09

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: How to add link to comments

If you want to link anchor to an individual comment you can use txp:comment_permlink.

Offline

#4 2015-03-09 18:20:11

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: How to add link to comments

i also need adding automatic link if someone typed a URL on the comment box. example:
if someone wrote a URL to comment http://website.com and submitted. after that if possible automatically system add a link to that like: <a href="http://website.com">http://website.com</a> , is it possible ?

Offline

#5 2015-03-09 19:38:39

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,356
GitHub

Re: How to add link to comments

raminrahimi wrote #288896:

if someone wrote a URL to comment http://website.com and submitted. after that if possible automatically system add a link to that like: <a href="http://website.com">http://website.com</a> , is it possible ?

www.textpattern.net/wiki/index.php?title=comment_web

Offline

#6 2015-03-09 19:58:06

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: How to add link to comments

I think he means wet_commentmagic. I have a vague feeling, though, that it contradicts the intention (inner workings, respectively) of rah_comment_spam he’s also using currently.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB