I think I might have missing an important parameter, but I am not sure how to go about doing it. In the instruction:
landing: the id of your search result page. If you don’t have one, create it like: [!FlexSearchForm?FSF_showResults=`1` &FSF_showForm=`0`!]
The document ID where I want the tagcloud and result show is ’8’. In my template, I have the TagCloudIn parameter placed in a div block, just like the way where I want the WayFinder shows. I am guessing the reason the error appears is because I didn’t have the parameter inserted for the landing of the search result. This makes sense, but firstly what I don’t understand is why it’s called [!FlexSearchForm?FSF_showResults=`1` &FSF_showForm=`0`!] or is it just an example? This is very confusing to me.
This is the page where i want the tagCloudInc be, right now another template without tagcloudinc is used so that I can show you:
http://lotusseeds.com/index.php?q=stores.html
What I want is to have the tag clouds words appear In the "meet us at ...’ section, and I want the result be in the content area, they are all wrapped in the <div id="right">...</div>
The markup for that section :
<div id="right">
<div id="announce">[[TagCloudInc?parent=`0`&min=`3`&landing=`8`]]</div>
[*#content*]
</div>
Apart from the php parsing error, the concept I need to understand is, I want both tagcloud and results show in the same, how exactly do I make it happen? I am thinking I need to create a new document, make it unpulished, and put all stores listing in that page, and the id for it is ’16’; then in ’8" landing page, I have the
[!FlexSearchForm?FSF_showResults=`1` &FSF_showForm=`0`!]
insert in the ’document content’ area, and the parameter for TagCloudInc will be something like this:
<div id="announce">[[TagCloudInc?parent=`16`&min=`3`&landing=`8`]]</div>
I tried, it didn’t work. I am still getting the same
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: /home/.freckles/lotusseeds/lotusseeds.com/manager/includes/document.parser.class.inc.php(748) : eval()’d code
Line: 43