Forum OpenACS Development: template::form and noquote

Posted by Janine Ohmer on
I'm working on a package that predates ad_form, or at least doesn't use it.  We've recently upgraded the site, and now section and field labels that contain HTML are displaying the HTML, presumably because they need to be noquoted.  But how do  I do that?  The code for the section labels looks like this:

template::form section $form_name $section($form_type)

And the rest of the form is created from a content type by calling content::new_item_form.

Is there anything I can do here?  Rewriting with ad_form really isn't an option right now, and taking the HTML out wouldn't make some folks very happy.

Posted by Nis Jørgensen on
Can  you perhaps put the "noquotes" in the form templates -
packages/acs-templating/resources/forms in my 4.6.3 installation.

(haven't been using 5.x, so don't know if this will work)