We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • So, I’m new to using PHx and I’m trying to accomplish what I’ve been told is fairly simple for a client blog.

    The blog has multiple authors and I need to be able to link to those authors bio page and then filter their related content as "my posts"

    Currently I have the document tree like this:

    Blog >
    * Author 1
    * My Post
    * My 2nd Post
    * Author 2
    * My Post
    * My 2nd Post
    * Author 3
    * My Post
    * My 2nd Post

    The ditto call for the main blog page is filtering just fine and I can display all the posts within each author’s folders by using &filter=`isfolder,0,1`. Within the template chunk for the blog I have

    by [+author+] | Tags: [+tagLinks+]


    This obviously displays the document’s author and tags. I’d like to be able to link to Author’s bio page and on that bio page I need to filter the ditto call in the chunk to only display that author’s posts.

    Does anyone have something to work off of to point me in the right direction?
      Sal Baldovinos
      SEO & DIGITAL MARKETING

      ARIEL DIGITAL | Maximize Your Potential
      www.arieldigitalmarketing.com
      • 10313
      • 375 Posts
      Why do you ask this in the PHx forum?
        • 33337
        • 3,975 Posts
        By looking at your doc tree structure, I can suggest using this:
        by <a href="[~[+parent+]~]">[+author+]</a> | Tags: [+tagLinks+]
        

        See if this works. smiley
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link