Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Using the website comment field for other data types.
For an internal project, I’d like to use the website field in the comments table to store other data, say for example a userid.
Unfortunately, when you use the <txp:comment_web> tag it extracts the info from the database, which is stored as entered, but adds the http://… to make it a link.
Is there any way I can surpress this or easily retrieve the info from the comment display form?
Thanks,
Doug.
Offline
Re: Using the website comment field for other data types.
Retrieve – yes, with <txp:rah_replace from="http://" to=""><txp:comment_web /></rah_replace>
, but it will work in comment form only. Suppress – I am not sure.
Offline
Re: Using the website comment field for other data types.
That’ll do! :-) Thanks for that!
Offline