Hi,

I try to implement the example string:

this is a [popup form=search_theme_form effect=fade activate=click title='TEST POPUP FORM']

but I get:

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'search_theme_form' was given in /home/gbaev/wwwroot/blogher/www/includes/form.inc on line 218.

and no form is displayed

What could be the problem? Please advise!

Comments

geobaev’s picture

Component: Documentation » Code
Scheepers de Bruin’s picture

Status: Active » Closed (won't fix)

Hi,

Rather use:

[popup form=search_form title=Search]

as 'search_theme_form' is not a valid form id (or callback) - my bad - updated the documentation

thanks