Hi,
I’ve just tried to include TvTagCloud as a sidebar on my site but I’m getting the following error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY stc.contentid ASC' at line 1 »
SQL: SELECT stv.name,stc.tmplvarid,stc.contentid,stv.type,stv.display,stv.display_params,stc.value FROM `mymodxdb`.`modx_site_tmplvar_contentvalues` stc LEFT JOIN `mymodxdb`.`modx_site_tmplvars` stv ON stv.id=stc.tmplvarid WHERE stv.name='ai-document-tags' AND stc.contentid IN () ORDER BY stc.contentid ASC;
I’m using MODx 0.9.6 and TvTagCloud 2.0.
I’ve created a TV:
Variable Name: ai-document-tags
Input Type: List-Box (Multi-Select)
Input Option Values: Ada||Ada83||Ada95||Ada 2005||C||C++
Widget: Delimited List
Delimiter: ,
Then I’ve created a chunk which is called liked this:
[!TvTagCloud? &parent=`1` &landing=`30` &tvTags=`ai-document-tags` &showCount=`1` &tagDelim=`,` &displayType=`cloud`!]
This chunk is then called within another TV which is used to select which sidebars are displayed on which pages.
Thanks,
Luke.