We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8790
    • 526 Posts
    Hi,

    I’m testing this snippet and I’m not sure about what is going on :

    first I got a few times error 500 when loading the page with the snippet call.
    « 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 `nuwebnwtekk`.mx_site_tmplvar_contentvalues stc LEFT JOIN `nuwebnwtekk`.mx_site_tmplvars stv ON stv.id=stc.tmplvarid WHERE stv.name='TagsCloud' AND stc.contentid IN () ORDER BY stc.contentid ASC; 
    


    Then it suddedly works ??

    But the landing page shows strange stuff looking like counts or some debug info I dont know the hell where it came from (and how the master it).

    this:
    Array ( [0] => 52 [1] => 106 [2] => 108 [3] => 48 [4] => 50 [5] => 62 [6] => 61 [7] => 65 [8] => 107 )


    associated tv:
    "TagsCloud" (texte area mini) with some keywords entered.

    Call:
    [!TvTagCloud? &parent=`47` &landing=`107` &tvTags=`TagsCloud` &showCount=`0` !]


    Landing page:
    [!Ditto? &startID=`47` &tagData=`TagsCloud` &tagDelimiter=`,`!]



    Can someone give me a hand ?

    EDIT : today this debug is gone !!!! huh ? did some saw" Ghost in the shell" shocked huh
      Schtroumpf Grognon - Grouchy Smurf
      ---------------------------------
      Faites pas attention.. - Don't pay attention
      http://www.dzi-neo.net
      • 17705
      • 501 Posts
      i have this: [!TvTagCloud? &parent=`47` &landing=`67` &tvTags=`ArtistaApellido` &showCount=`1` &sort=`asc`!]

      and this for the landing page (67): [!Ditto? &startID=`47` &tagData=`ArtistaApellido` &tagDelimiter=`,`!]

      when I click over a tag (showing two documents found) it just shows the page and "No documents found."

      :(

      any idea?

      I am using 1.0.2
        • 17705
        • 501 Posts
        &depth=`0`
        did the trick smiley