We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46580
    • 167 Posts
    I'm searching a way to extend modX Lexicon with my own.

    - I would like to Add entries via modX Lexicon

    - Have the possibility to export my Lexicon package with Packman extra in order to reuse it on another modX installations.

    I know I can add Lexicon entry with modX Lexicon but there is no way to export new words to another modX installation -- without to have to deal with phpMyAdmin to export and import tables --.

    Any ideas?
      MODX lover
      -
      Développeur MODX / Webdesign / Solutions web
      • 3749
      • 24,544 Posts
      MyComponent has some pretty full-featured lexicon help for you (it will even write the lexicon files for you if you do things right), but you have to learn it and adapt your project to fit how it works. It's worth it, imo, if you will be doing much work on your package. http://bobsguides.com/mycomponent-tutorial.html

      PackMan will let you specify directories to transport, so if you send your lexicon directories to core/components/{yourcomponent)/lexicon/ they should be usable by the installed package, but it's kind of a pain to set up. MyComponent will do this for you automatically.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 40045
        • 534 Posts
        I'm simply doing this by creating a new file in core/lexicon/<lang>/customstrings.inc.php then you can find these in the lexicon manager page under topics. this file can be easily copied to any other site.