I have a question regarding Manager context.
If someone develop one manager’s layout without ExtJS, what will happen to 3rd parties that still use it.
For example Quip use ExtJS for the backend component.
Plus, Quip refer to the manager context via ’mgr’, so i suppose any 3rd parties will too.
So outside of the ’mgr’ context, most of third party plugins will need their own specific interface?
More to that, i’ve taken a look a the Manager markup and page so i can customize the default context ’mgr’.
The css refer to a single line which point to a directory in the manager, but we can’t really change the CSS’s direction for ExtJS CSS:
<!-- Not modifiable Path -->
<link rel="stylesheet" type="text/css" href="{$_config.manager_url}assets/ext3/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="{$_config.manager_url}assets/ext3/resources/css/xtheme-gray-extend.css" />
<!-- Path to manager template -->
<link rel="stylesheet" type="text/css" href="{$_config.manager_url}templates/{$_config.manager_theme}/css/index.css" />
It has caused me issue, because i wanted to change the xtheme-gray-extend.css to ext-notheme.css
I created a directory in Manager, put all my files inside it and change what needed to be change.
But when i wanted to go back to default theme, it stays with the ext-notheme.css, even when i refreshed the page, emptied the cache of both browser and MODx, even when i reinstalled Revolution’s.
Plus, i wanted to play with the markup of the navbar a little. But processors are outside the template path and not modifiable.
It’s not a serious issue, i just wanted to try to simplify the html and avoid html errors of the navbar.
From what i understand now, i will have to create my own context if i want modify those lines? But even if that solves the problem with ExtJS and 3rd party plugin, it does not solve the fact that most official plugins will refer to ’mgr’ context?