2012-09-21 09:19:39

douglgm
Member
êta
Real name: Doug Roberts
From: Bristol
Website

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

 

2012-09-21 10:48:05

etc
Plugin Author
mu
Real name: Oleg
Known languages: ru, fr, en, google.translate(*)
Website

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.


etc_[ query | search | link_to | pagination | date | url ]

Offline

 

2012-09-21 11:24:28

douglgm
Member
êta
Real name: Doug Roberts
From: Bristol
Website

Re: Using the website comment field for other data types.

That’ll do! :-) Thanks for that!

Offline

 

Powered by FluxBB