Extension, Fieldtype, Module

Archived
Forum
(read-only)

Zoo Visitor

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Discontinued

     

delete_form not taking class param

General

Lulu
Lulu

The exp:zoo_visitor:delete_form is not accepting the class=”” parameter.
It doest work on exp:zoo_visitor:update_form.
It also works when I change the zoo tag to a normal channel form tag.

ExpressionEngine Zoo
# 1
ExpressionEngine Zoo

Hi,

Here’s fix which will be included in next release, so it will be safe to add it already
in the zoo_visitor_lib.php file on line 358, add the following

$data array_merge($data$this->EE->TMPL->tagparams); 

so that it looks like

$data array_merge($data$this->EE->TMPL->tagparams);

  
$tagdata $this->EE->TMPL->parse_variables($tagdata$vars);

  
$form_declared $this->EE->functions->form_declaration($data); 

Cheers,
Nico

Lulu
# 2
Lulu

Thanks Nico, it works fine!