We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17403 ☆ A M B ☆
    • 183 Posts
    There would be more and more extras (add-on) made by the community, and I hope so. Perhaps specific MODext namespace to accommodates extras will make javascript's extra more organized, and also to prevent conflict between one extras to another or with MODext.

    MODx.extra or MODx.addon would be a good choice. So, if I create a new extra named "gallery" that required ExtJS, my MODext would be MODx.extra.gallery.

    Thanks

    Note: I can't express my thoughts in English very well. Hope no one confused reading my post smiley
      zaenal.lokamaya
      • 33976 ☆ A M B ☆
      • 571 Posts
      Hi,

      I'm not sure to fully understand you. If you follow the documentation you should never use the MODx object. See Doodles for example.

      Another option could be Ext.ns.
      Those ways you won't have any conflict smiley

      Hope that makes sense.
        • 17403 ☆ A M B ☆
        • 183 Posts
        Ah, you are right. Even Articles (modBlog) also use "Articles" as it's main Object, not MODx.resource.panel.articles.
          zaenal.lokamaya