We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13743
    • 4 Posts
    I'm working with articles in the latest version of Modx and I can't get the links of the tags working. Probably there's somethings wrong with my Friendly URL settings, because when I manually use the URL it works fine. These two links show the different results:

    This one works: http://www.dimensionweld.nl/news/?tag=fashion
    This one gives an error and should display the same page: http://www.dimensionweld.nl/news/tags/fashion

    The tag links were created by the following code:
    [[*articlestags:notempty=`<span class="tags left"> Tags: [[+article_tags]]</span>`]]


    I hope anyone can help me out!

    Thanks,


    Jaap
      • 42562
      • 1,145 Posts
      Does your Friendly URL work at all, I mean without Articles tags?
        TinymceWrapper: Complete back/frontend content solution.
        Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
        5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
        • 13743
        • 4 Posts
        I've managed to get the tags working without friendly URL's with the following call:
        [[!tolinks? &items=`[[*articlestags]]` &tagKey=`articlestags` &tpl=`taglinker` &target=`75` &useTagsFurl=`0`]]


        f.e. use the tag link at http://dimensionweld.nl/news/2013/12/01/accessories/

        When I change the useTagsFurl to 1 the call outputs the following link:
        http://dimensionweld.nl/news/articlestags/fashion
        and this gives an error:
        Fatal error: Call to a member function assign() on a non-object in /core/cache/includes/elements/modplugin/3.include.cache.php on line 44

        Friendly URL's seem to be working fine on the rest of the site.

        Thanks,


        Jaap
          • 38787
          • 74 Posts
          This is similar to a post 1 week older: http://forums.modx.com/thread/?thread=88038

          I'm having the exact same problem whereby a URL in the form below returns a 404 error:
          http://server-name/modx-base/article-container/tags/TheActualTag


          Whereas a URL in the form below will work:
          http://server-name/modx-base/article-container?tag=TheActualTag


          It would be very nice to have the former working.

          Articles 1.7.6
          MODX 2.2.13
          Apache 2.2
          MySQL 5.5.32
          PHP 5.3.10