Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-12-12 04:40:36

alexdickow
New Member
Registered: 2006-12-09
Posts: 8

Re: Toggle comments form (was: new to textpattern)

Jm mu, I tried putting the link after <txp:body />, but it just garbled the page. Any other ideas?
Thanks,
Alex

Offline

#14 2006-12-12 05:00:24

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Toggle comments form (was: new to textpattern)

It’s just a typo – the last quote is missing. :)

<a href="#txpCommentInputForm" onclick="toggle('txpCommentInputForm'); return false;">Comment</a>

(Don’t forget the return false;.)

Offline

#15 2006-12-12 05:40:36

alexdickow
New Member
Registered: 2006-12-09
Posts: 8

Re: Toggle comments form (was: new to textpattern)

Well, that almost works: the “Comment” link now appears on the blog page, and in the right spot, but it doesn’t function: when clicked on, it does nothing.
But I’m making progress! Thanks a million….
Yours,
Alex

Offline

#16 2006-12-12 16:28:28

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

Re: Toggle comments form (was: new to textpattern)

I think after that tag you also need <div id="txpCommentInputForm"><txp:comments_form /></div>.

(Edit: I changed the title of this thread so that it describes the subject more adequately.)

Last edited by els (2006-12-12 16:33:06)

Offline

Board footer

Powered by FluxBB