We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2762
    • 1,198 Posts
    Nicola (Banzai) Reply #1, 20 years ago
    again another question about Ditto author..

    is possible filter o tag Ditto author? should be nice allow create page with all post of one user..

      Free MODx Graphic resources and Templates www.tattoocms.it
      -----------------------------------------------------

      MODx IT  www.modx.it
      -----------------------------------------------------

      bubuna.com - Web & Multimedia Design
      • 18397
      • 3,250 Posts
      MARKSVIRTUALDESK Reply #2, 20 years ago
      Yes, very easily. Just use &filter=`userID,createdby` where userID is the ID of the user you wish to show. Alternatively, you can use &filter=`authorname,author` but this will only work in select versions of Ditto.
        • 17282
        • 283 Posts
        Well heres a question then

        If i have my main blog list and then someone clicks read more .. on that read more page How would i add a link that says view all of this authors blogs - and then links to a selective list of just that authors blogs (all my seperate authors blog pages are in one folder the list is called by ditto) i assume you would have to somehow pass the author name or id to the URL and then have a landing page with a ditto list with a filer on .. something like &filter=`[+Author+]

        am i barking up the wrong tree? is there a way of doing this ?

        Thnx

        Martyn
          Everytime you use Flash ... a puppy dies .....
          R.G Taylor
          • 2762
          • 1,198 Posts
          Quote from: Lizard at Oct 11, 2006, 10:17 AM

          Well heres a question then

          If i have my main blog list and then someone clicks read more .. on that read more page How would i add a link that says view all of this authors blogs - and then links to a selective list of just that authors blogs (all my seperate authors blog pages are in one folder the list is called by ditto) i assume you would have to somehow pass the author name or id to the URL and then have a landing page with a ditto list with a filer on .. something like &filter=`[+Author+]

          am i barking up the wrong tree? is there a way of doing this ?

          Thnx

          note: Martyn
          You need to use tags to output a link to the ’’author page’’.

          - add tag data in Ditto call for your author tv in the Blog page:

          ie:
          [!Ditto? &startID=`40` &summarize=`99` &tagDelimiter=`,` &tagData=`tvprovincia,tvriferimento,tvautore` &tagMode=`onlyTags` &tpl=`ListAnnunci` &hideFolders=1 &depth=2 &paginate=`1` &debug=0!]


          add a link to the autor tv in the template of Blog post

          <a href="[(site_url)]yourblogpage.html?tags=[*autore*]"> [*autore*]</a>


          if you want to link from the Ditto tpl change [* with [+

          wink
            Free MODx Graphic resources and Templates www.tattoocms.it
            -----------------------------------------------------

            MODx IT  www.modx.it
            -----------------------------------------------------

            bubuna.com - Web & Multimedia Design
            • 17282
            • 283 Posts
            Cool! errrr whats an author TV?

            what sort of TV do i need to set up ?
              Everytime you use Flash ... a puppy dies .....
              R.G Taylor