We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6705
    • 79 Posts
    Is it possible to use ’keywords’ as tags (to be displayed using ’tagLinks’) using Ditto 2.0.2 under MODx 0.9.6.1p2?

    I have recently set up a test site (running the current version of MODx, ie, 0.9.6.3 (ships with Ditto 2.1+)) to avoid working on the live site as much as possible, and am now trying to implement recent work back onto the live website. (It’s not convenient for us at this point in time to try to upgrade the live site to the newer MODx release, although we realise that we will need to factor in time for upgrades in due course.)

    On the test site, the following Ditto call on my blog summary page will display tags (as defined by the keywords set for each individual blog post) in each article summary:

    [!Ditto? &parents=`10` &paginate=`1` &display=`4` &tpl=`BlogTemplate` &commentsChunk=`BlogComments` &dateFormat=`%H:%M, %d %B %Y` &keywords=`1` &tagDelimiter=`,` &tagData=`keywords`!]
    


    The corresponding part of the BlogTemplate is:

    <br />Tags: [+tagLinks+]
    


    The code is exactly the same on the live site (apart from the ’parents’ parameter being changed accordingly). This results in the summary listing page being displayed as on the test site, except that where the ’tagLinks’ should show, it displays "Tags: None".

    I have set keywords in the individual blog posts on the live site, and when you view the individual blog posts, you can see that MODx has included the meta-keywords tag in the page source, so I’m not sure why the ’tagLinks’ isn’t working on the summary listing page?

    Does anybody know if this is a known issue with Ditto 2.0.2? Should ’tagLinks’ (using keywords) work in this version, or if need be, is it possible to install the newer version of Ditto onto the live (MODx 0.9.6.1p2) website (without upgrading the site as a whole)?
      Please don't PM me unless it's absolutely essential: if a technical question is worth asking, it's worth asking in public, so that others can share their experience, and so that all can learn from the answers.