Customize appearance

Questions, comments, discussions. Over time certain topics might be moved to their own category.
Post Reply
ian
Posts: 1
Joined: Wed Dec 04, 2019 6:19 pm

Customize appearance

Post by ian »

I could not find any information regarding theme customization on the documentation or the settings. Is this at all possible? If so how and where can I find a good resource on this? Thanks in advance

User avatar
rosarior
Developer
Developer
Posts: 522
Joined: Tue Aug 21, 2018 3:28 am
Location: Puerto Rico
Contact:

Re: Customize appearance

Post by rosarior »

We had support in the past to change the CSS file used. Due to lack of use and becuase the HTML templates became more complex, the feature was removed. The process to customize the appearance is now the same process used to customize any part, the creation of a custom app that overrides the core app function.

For visual appearance create a skeleton app (https://docs.mayan-edms.com/chapters/de ... cture.html) and place new CSS in your app in a location that mirrors the CSS location in the appearance app (https://gitlab.com/mayan-edms/mayan-edm ... arance/css). CSS alone won't achieve much. To change the templates to the same as with the CSS files (https://gitlab.com/mayan-edms/mayan-edm ... appearance). Add your app to the settings COMMON_EXTRA_APPS to activate it.

The book has information about working with the internals of Mayan (https://www.mayan-edms.com/book/). A new section can be added for visual modifications and examples if there is enough interest. As soon as the final remaining upgrade issues for version 3.3 are resolved work on the new edition of the book will start. So this is the right time to ask for new material for inclusion.

Post Reply