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

    I’m using Ditto with tagCloud.
    [!TvTagCloud? &parent=`39` &landing=`47` &tvTags=`doctags` &showCount=`1`!]

    In document 47
    [!ditto? &parents=`39` &depth=`99` &tagData=`tvdoctags` &tagDelimiter=`,` &tpl=`searchDocTags` &hideFolders=`1` &summarize=`all` &tagMode=`onlyAllTags`!]

    In this page, I’d like to add another tagCloud only based on documents selected by the previous tagCloud. So, in order to do that, I want to get the id’s list of the documents shown by Ditto...

    Someone could help me for that ?
      :: RiderCrazy.Com :: Server@Home - [WIP] En cours de transition vers MODx
      • 25059
      • 47 Posts
      up !
        :: RiderCrazy.Com :: Server@Home - [WIP] En cours de transition vers MODx
        • 18397
        • 3,250 Posts
        This thread should be just what you need. http://modxcms.com/forums/index.php/topic,7973.0.html to get the parent ID’s that Ditto parsed. However, to do what you are describing you will need to modify TvTagCloud to get the documents based on their ID’s and not the parents. Instead of something like $modx->getDocumentChildren it would be something like $modx->getDocuments.
          • 25059
          • 47 Posts
          Great...

          Next job: hack TvTagsCloud to be able to get tags in url and using them to specify the selection :p
            :: RiderCrazy.Com :: Server@Home - [WIP] En cours de transition vers MODx