I just installed MODx and tried to do as the tutorial wants. Initially, it went OK.
First problem: I created a new template, and it showed up right. Just by guessing (!) I found out where the MODx-template expects the CSS-file to be. But within that CSS-file I defined an image-url as a background. Where to put it? I just uploaded it (via FTP) to the same location as the CSS-file. But the image didn’t show up.
Second non-working issue: I inserted the [[MenuSnippet&id_’0’&activelink=’active’]] in the template.
The only stuff that appeared was a lot of JS-code, some of it defined display-mode to be "display:none". Why?
Where the heck does all this JS-stuff come from?
I created a new content-folder with a new page containing some blind text, arguing that most of the stuff in the root-level is "special purpose" like 404page and others. Result: nothing showed up at all, the space between my "menu-divs" (i.e. the snippet-stuff) was plain empty! Are my links not matching a strange ’active’ attribute? And what does "activelink" mean? And what are the semantics of an active activelink? Very Strange!
I tried to check out the background/configuration of the MenuSnippet but didn’t find a resource named MenuSnippet - is it just a generic item? But the tutorial handled it differently.
Right now, another issue came to my mind: If the menu just reflects the file/folder-structure, how can I control which pages should appear on the page and which not? And, after trying to find an answer in the forums, the mix-up between stuff stored in the database and stuff stored in the file-system is merely confusing. For example: you have a template-folder. So, if I create a new template I expect it to appear in this folder. But it doesn’t: it gets buried in the database. (BTW: how can I change the template used for the WHOLE site, not just for individual pages??)
Very miraculous. Well guys: I still believe that MODx is the most convenient CMS on this planet - but the flat learing-curve promised does not match my expectations. I guess you tried your best - but instead of trying you should have a REAL newbie being part of it.
I solved some of the problems mentioned by replacing "MenuSnippet" with "DropMenu". But I’m still clueless on how to reproduce my hover-effects, which worked with:
<a href="index.html" class="menu">
<img src="ar_void.gif" class="passive" /><img src="ar_red.gif" class="active" /> Start
</a>
and the following CSS:
a:hover IMG.passive{
display: none;
}
a:hover IMG.active{
display: inline;
}
Any advice or tips?