Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-12-13 07:57:50

pictu
New Member
Registered: 2011-12-13
Posts: 1

Comment preview hook

Hi,

Basically I would like to only allow plain text comments (why can’t you do this in core is beyond me.)
So since I can’t configure that behaviour I was wanting to preprocess the text myself or I suppose make my own comment preview process based on the existing code except not processing the textile tags.

Hooking comment.save is much too late for this, and if I can do this in comment.form, I’m not sure how.
Does anyone have any ideas?

Thanks for your time.

Offline

Board footer

Powered by FluxBB