We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8274 ☆ A M B ☆
    • 222 Posts
    I have developed a CMP, which one part of it is using a modx-combo-box xtype to "attach" a file to the entry (it records the path to the file in the custom database table).

    The issue is that the MODX Browser (web) is defaulting to the base mediasource instead of the default one I have set in the system settings (id 2, for this).

    Is there some ExtJS config that needs to be set, or something in connector file that needs to be set to tell it which mediasource to use as a default?
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      modx-combo-browser?

      Pass it source: MODx.config.default_source smiley
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.