Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-09-01 15:18:45

James Proud
New Member
Registered: 2005-09-01
Posts: 2

How do Remove...

Preview and only have submit. So no previewing of comments just one click and done?

Offline

#2 2005-09-01 15:37:54

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: How do Remove...

<a href=“http://textpattern.org/mods/451/no-force-preview-for-comment-form”>This is what you want</a>

Regards,
Vasanth


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#3 2005-09-01 15:54:20

James Proud
New Member
Registered: 2005-09-01
Posts: 2

Re: How do Remove...

_ Thanks!

Offline

#4 2005-09-03 03:09:13

rubaduckie
New Member
From: California, United States
Registered: 2005-09-03
Posts: 5

Re: How do Remove...

This is how I got rid of my previews after looking through the code in publish\comment.php (based on original 4.0 file)

comment lines (73, 94, 123-125, 137, 149)

insert after line 149:
$out .= (!$preview) ? hInput(‘nonce’,$nonce) : ‘’;

insert after line 125:
$comment_submit_button = fInput(‘submit’,‘submit’,gTxt(‘submit’),‘button’);

Last edited by rubaduckie (2005-09-03 03:23:15)

Offline

#5 2006-01-05 13:57:04

Daniil
New Member
Registered: 2006-01-05
Posts: 3

Re: How do Remove...

Hello,
i cant download the file from this link
does anyone have it?
http://textpattern.org/mods/451/no-force-preview-for-comment-form

Offline

Board footer

Powered by FluxBB