Hello.
I am just starting with MODx. My purpose is to create a personal web site, but, as a first step, I am creating a very simple web site for my research group (I work at the University as a lecturer).
In fact, it is such an easy site that I could have done it just with notepad+HTML+CSS. But I thought it would be a good opportunity for learning MODx.
First of all, I said "learning MODx" in the same sense you say "learning C++" or "learning Phyton". For me, it’s like programming, sometimes. And I like programming, but... I am lost.
I am not going to say that there is not documentation for MODx. But I can’t get used to the existing documentation. I don’t get the point.
I am at this stage:
- I installed MODx without any trouble.
- I followed the Beginner’s guide from MODx-Wiki (
http://wiki.modxcms.com/index.php/Beginner%27s_Guide_to_MODx). I found it very useful. I used it together with the basic documentation at MODx site.
- I have also created an appropriate HTML template for the site I’m trying to build, and the associated CSS file. I’ve put them on my MODx system.
- I have managed to publish one single page. Hurray!!
- I understand what "Wayfinder" is and how to use it. Also, I liked "Breadcrumbs" a lot.
- I think I understand the difference between snippets, chunks, etc.
But:
- I have slightly understand all the features and possibilities that Ditto, Reflect and other snippets can provide me. But I don’t know exactly how to use them, how to get all the profit from them.
- In fact, I don’t get the idea of what a Template Variable, a snippet, a placeholder IS and IS NOT (I’ll explain this sentence later in this post).
- I don’t know what to do in order to bring the web site from my mind (and my traditional notebook) to my MODx system.
This is what I have in mind:
- A presentation page (that would be the initial page).
- A "members" section, with one single page for each member of the research group (with contact information and so on), and one main page for this section, where you can access to each members page, just like a blog page, where you see the "intro" text for each "post". I guess that Ditto should be used for this.
- A "research" section. Two sub-sections:
- Research lines: just a web page with a list of our research topics.
- Publications: a clickable list with all the papers published by us. Again, I guess that list should be done with Ditto or something related with.
- A contact page: typical contact form.
- That’s the most important. I want also to have a "search" button in the sidebar.
I am going to explain my problem, where I think I am getting lost.
When I think of a list of publications (a dataset, in fact, with a normal structure: author, title, publisher, year, etc.), I DO KNOW that Ditto should be used, but I don’t know how to use it. Also, I don’t know if it is as easy as adding "[!Ditto... ... ...!]" somewhere in my template, or if I should also use a "template variable" to show the results (the clickable list of all the items, I mean), or if the most appropriate is a "placeholder", or whatever... I get lost, because I don’t know which is the next step, and I don’t understand the "philosophy", I think.
As fas as I know, TV are for showing content. But also Snippets can show dynamic content. Or not?
Maybe I need a slide with a "box" for TV, Snnipet, "placeholders", and some rows showing the relationships between them.
Also: can I use the same HTML template (Resources > Templates) for all the site, of should I use a different template for the pages that act as the "main" page of a list ("members" page and "publications" list page)?
I would accept reading all the documentation you told me to read, but the more I read, the more confused I get, because I don’t know how to put it into practice.
Sorry if you think I am too lazy or silly... I think I need some kind of hint, some words like "It is all about..." or "It is just like..." or "Try this...".
Thank you in advance.