Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-09 07:13:25

gary
Member
Registered: 2006-09-09
Posts: 18

how to stop line break?

I’m messing around with my own design, and didn’t want the headline of the article to be the permalink, so I took the link tag off of the title. I then tried to put the permalink at the bottom, next to the comments. But it puts them one under the other. Here’s what I’m using:

“<txp:permlink>permalink</txp:permlink> <txp:comments_invite wraptag=“p” />”

It puts the comments below the permalink. Can I get it on one line?

(off topic, is there a way to get comments to show up even when not being used? In other words, instead of ‘comments’ being displayed, there would be ‘comments closed’)

Thanks.

Offline

#2 2006-09-09 07:58:17

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: how to stop line break?

posting code

You can always use <a href="<txp:permlink />">Permanent Link</a>, to output the URL only, if that helps. If the problem is the permlink not showing up, you need to make sure you place it in an article form, like your default one.

Re: Comments

Check out if_comments_allowed and disallowed. You can try something like this:

<code>
<txp:if_comments_allowed>
<txp:comments />
<txp:comments_form />
<txp:else />
<p>Comments are closed.</p>
</code>

Offline

#3 2006-09-12 08:06:33

gary
Member
Registered: 2006-09-09
Posts: 18

Re: how to stop line break?

Thanks deldindesign. You helped me out with both problems.

Offline

Board footer

Powered by FluxBB