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

    For MODx Evo 1.0.4 released plugin jSam 0.1
    Plug-compatible with version 1.0.5, but still not recommended to put it there.

    The plugin is designed to customize the look of the administrative panel by writing a simple JavaScript-rules. With the plugin, you can hide/add/change/assign/ alter a panel of anything!

    Download - http://modx-jsam.googlecode.com/files/jsam-0.1.rar

    Installation:
    1. Unzip the archive to the root directory site.
    2. Create a plug-in.
    Plugin name: jsam
    Description:
    <strong style='color:#3355CC;'>0.1</strong> MODx Toolkit administrator to customize the appearance of administrative panel

    Plugin code (php):
    /* !
    ** jSam - JavaScript Admin-Manager
    ** @version:
    **   0.1
    ** @author:
    **   Aleksandr Kuznecov aka Regent(l-i-v-e.ru)
    ** @license:
    **   GNU General Public License version 3 - gnu.org/copyleft/gpl.html
    ** @home:
    **  jsam-modx.net
    ** @blog:
    **   l-i-v-e.ru
    ** @twitter:
    **   twitter.com/vjRegent
    */
     
    include_once( $modx -> config[ 'base_path' ] . 'assets/plugins/jsam/assets/php/class.php' );

    Sheck the event OnManagerPageInit

    3. In the list of plugins look for "Inherit Parent Template" and "ManagerManager" and turn them off!
    4. Installing the plugin is finished! Now you only need to write a JS-rule. Just go into a file at assets/plugins/jsam/rules.js
    Documentation of the rules at the moment is only in Russian at http://jsam-modx.net/ru-docs/0.1/js

    You can use http://translate.google.com/


    Have a nice test!

    Excuse my English, I use http://translate.google.com/ smiley


    Links:
    - Official Website - http://jsam-modx.net/

    - Direct download link - http://modx-jsam.googlecode.com/files/jsam-0.1.rar

    - Install the plugin - - http://jsam-modx.net/ru-docs/0.1/setup

    - Documentation for version 0.1 - http://jsam-modx.net/ru-docs/0.1/

    - Documentation for the JavaScript-rules http://jsam-modx.net/ru-docs/0.1/js/

    - Google translate - http://translate.google.com

    [ed. note: Regent last edited this post 15 years ago.]
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      Mark Hamstra Reply #2, 15 years ago
      So what's the difference with ManagerManager?

      And I'm having trouble translating that page with Google Translate, but it doesn't tell me why it wont translate. sad
        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.
        • 24763
        • 9 Posts
        The difference in the flexibility and advanced functionality. In an earlier, less stable version was the ability to manage the top menu and deervom documents.

        The main idea of ​​the plugin - it's flexible. For example, you can request a field just by name in the language of the control system or a number or some other convenient way. You can do with all lyrics, whatever. You can change the field types, TV-parameters in a single rule, such as:
        jSam.filed.convert( 'Title', 'autocomplete' );
        jSam.filed.convert( 'longtitle', 'number' );
        jSam.filed.convert( 'tv3', 'datepicker' );
        jSam.filed.convert( 'Menu index', 'colorpicker' );
        jSam.filed.rename( 'menuindex', 'Document color' );



        As a result, you can perform almost any task for customization.

        Just describe the problem and I will try to give a solution.


        As for Google Translate - probably need to translate one page sad
          • 4310
          • 2,310 Posts
          Thanks Aleksandr.
          Will try it out.