Hi, all.
Am I alone who has problem with sub-directory qm styling?? Can’t find the solution. Qm links to "assets/plugins/qm/css/style.css" trying to find its stylesheet, that’s the reason it doesn’t work properly in sub-directories.
Modx 1.0.0.0
qm 1.3++
--
Best regards..
-
☆ A M B ☆
- 24,524 Posts
I have several installations in subdirectories in my local development setup, and they all work just fine.
-
☆ A M B ☆
- 24,524 Posts
What do you mean by saying ’I have several installations in subdirectories’??
On my MAMP installation, the web root is htdocs. In that directory I have several subdirectories, each one containing a distinct MODx installation. These are subject to change as I install various versions for various purposes. I usually have one or two older 0.9.6.x versions taken from a site I’m developing a snippet or module for and want the exact installation that the client is using, as well as one or two of the latest from SVN. I try to keep one pristine bleeding-edge installation that I keep updated from SVN and one likewise prisine installation of the latest "stable" release for reference when I check something for posting on the forums.
-
☆ A M B ☆
- 24,524 Posts
The problem is that I haven’t figured out a way to detect if the user is editing a document in manager or in QM+.
Can’t you use one of the $_SERVER variables to determine if there’s a /manager/ in the request path? Or use a hidden field in the form and use POST?