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

    we are currently developing some custom modules for a modx-website. We would like to use WYSIWYG-editor, datapicker and image-upload functionality in these modules.
    It seems to me that the most elegant way to do this is to use some kind of modX-API-calls because these are widgets that are already available in het modx-core. Is this possible?

    Olaf
      • 27376
      • 576 Posts
      You might want to look in to the [tt]renderFormElement()[/tt] function in [tt]manager/includes/tmplvars.inc.php[/tt]

      Also check out line 1044 in [tt]manager/actions/mutate_content.dynamic.php[/tt].
        • 6726
        • 7,075 Posts
        Just a small aparté : I am dropping by, but not about the code part : your project seems quite interresting, which makes me curious : any plan to share this back with the community at some point ?
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l'outil id
          • 22098
          • 218 Posts
          Quote from: davidm at Mar 15, 2007, 07:25 PM

          Just a small aparté : I am dropping by, but not about the code part : your project seems quite interresting, which makes me curious : any plan to share this back with the community at some point ?

          Hi DavidM,

          if there are interesting developments from our side that are of use to the ModX community we will definately give back!

          Olaf