We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36834
    • 25 Posts
    Hello

    Is there a reason for Articles adding two columns to the site_content table and not extending modResource using a separate table for the two columns? The reason I ask (to further my understanding of MODx) is because I thought best practice was to not alter the core tables in an extra as in the 'Extending modUser' tutorial?

    Thanks in advance.
      • 10378
      • 375 Posts
      Which two field do you mean Articles is adding?
        Freelancer @bitego http://www.bitego.com
        ---
        GoodNews - one of the most advanced and integrated Group Mailer premium add-ons for MODX Revolution!
        More infos here: http://www.bitego.com/extras/goodnews/
        • 22303 MODX Staff
        • 10,725 Posts
        This was done in one version of Articles, and later reverted not to do so. The upgrades to latest should remove the extra columns the earlier versions added. It now uses the new properties field/API from modResource rather than making changes to the table, to conform with the "best practices" you refer to.