I have new to MODX environment: i have read the documetation, but i have yet more difficult to understand the logic of the CMS. How, for example, to do a login system into a reserverd sector of the web site?... I have read the coumentation of the widdgets, but how use it?... Exist a live example for learning ? Thank you
Hey Abmcr,
I’m new to ModX and I realize that what you really have to do to learn this system is experiment and just try things on your own (you will get it!). Usually, I don’t get how to use something but then, if you look inside the code of a snippet, the author will have very useful COMMENTS that will tell you what variables you can change and also how to call the function onto your webpage.
For ModX you most probably want to use WebLoginPE (It looks pretty amazing/flexible). Here is the support thread for this snippet:
http://www.modxcms.com/forums/index.php?topic=17359. Check out the live demo on the site and how to implement it:
http://demo.scottydelicious.com/ . With enough experimenting, you should be able to get it.
"Don't waste your time or time will waste you"
-
☆ A M B ☆
- 24,524 Posts
It has been said many times, but it bears repeating! Make up a local installation; XAMPP for windows, MAMP for OS X, if you’re on Linux you probably already know how to set up LAMP or have it set up already. OS X does come with a web evironment already set up, but most of us Mac users prefer a separate MAMP installation.
Then install MODx with the full demo site and dig in.
I ususally have at least three or four installation for working with different snippets and modules on my iBook at any one time.
-
☆ A M B ☆
- 24,524 Posts
I create new databases for each install, that way it’s easier for me to keep my database clean. When I’m finished with an installation I just drop its database. But you can use unique table prefixes and one database if you prefer. And yes, I do install to different subdirectories. I have my browser’s home page set to "localhost", so when I go home I get the directory listing of my MAMP web root, and can easily navigate to the installation I want to work with.