(SOLVED) Search Form displayed in Module returns SyntaxError

Status
Not open for further replies.

mbeley

Member
I have a search form that is working well as a menu item.
I'm trying to publish it as a Form Module (to have it display above the list that it redirects to) but I'm getting this error:
SyntaxError: JSON.parse: unexpected character
Any way to publish the search form on the same page as the list?
Thanks
Mathieu
 
I can't help with the module (you may try to set ajaxfy on/off in module's "Advanced" settings).

To display multiple forms/lists/vizs on one page use the Fabrik content plugin:
make sure it is published
create a Joomla article with the Fabrik content strings
{fabrik view=form id=....}
{fabrik view=list id=your-list-id ...filter-elements and conditions...}
http://fabrikar.com/forums/index.php?wiki/content-plugin/

Your form needs a redirect plugin redirecting to the article and adding the parameters needed for filtering to the URL.
 
Just a quick note ... when using the content plugin, it's usually best to specify the template you are using, with layout=whatever, unless you are using the default everywhere. There are a few cases where if you don't specify that in the plugin arguments, it won't use the template you have specified on the form/list itself. It doesn't hurt to specify it in the plugin args, and it'll avoid any potential issues.

-- hugh
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top