We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46979
    • 2 Posts
    Hello,
    I am starting my MODX Theme and I would like to know how to create a custom admin panel?
    I have some screenshots to show what I try to do.

    • Each custom option is a TV?
    • Each tab is a Template? Where can I create this tabs?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Generally, custom site themes are styled using .css files. I don't see the purpose in such an admin panel.

      How would this CMP work? Saving would write to the CSS files? You can use resources as .css documents, which would be much easier to set up. You could even use multiple resources, one for each section of styling, then use a snippet to concatenate them into one .css resource.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 46979
        • 2 Posts
        I have my html website. I would like to turn the html into a MODX Theme.
        I have the original folders of my html here:
        modex/assets/themes/theme_name/css/
        modex/assets/themes/theme_name/js/
        modex/assets/themes/theme_name/images/
        Is this the best way to do it?
        I need to create an admin to font,style,color,etc customization. How can I do that?
        I want to have an admin just like the one I attached before.
        I am new here, so I hope someone can help me with that. Thanks!
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          You do not need an admin panel to modify your styling. Your stylesheets are in assets/themes/theme_name/css/. Just edit those files.

          You can use the File Browser to edit the files; if you install one of the code editors like Ace or CodeMirror you'll get a nice editing form with line numbers and syntax highlighting. Or you can use almost any code editor; there are several available specifically for managing CSS, and they'll automatically work through FTP or SFTP to access your site's stylesheets.


          If you do really want an admin panel, you'll need to create a Custom Manager Page with the forms, which will automatically edit those same .css files. It's far more trouble than it's worth, in my opinion.

            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 46980
            • 11 Posts
            Hello,

            I also would like to know how to create an admin options panel like this:


            Could you please explain me how to do this Admin?
              • 28042 ☆ A M B ☆
              • 24,524 Posts
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org