Quote from: scandiman at Dec 07, 2006, 08:04 PM
printing facilities. Yet I’m struggling to understand the meaning of, the differences between, and how to combine a TV, chunk, snippet, @binding, widgets, plugins, modules, DBAPI, etc. and all of their subcategories. It is very overwhelming, and goes beyond just semantics.
It *is* overwhelming if you try to understand them all at once...
What I am doing is working through one concept at a time, gradually learning new stuff as I need it, and trying to make sure I understand it fully before moving on. Meanwhile I am peppering the forums with queries all of which have been graciously answered, and in return I try to help as many people as I can in my own areas of expertise.
You only need a few key concepts to get started though..
Template = overall page structure
Chunk = named chunk of literal HTML
Snippet = piece of PHP code that produces some output
The snippets are mostly written for you by other kind souls, and although some of them take some learning, they don’t involve PHP - you would only need PHP if you want to write your own snippets. [Certainly it helps to be able to *read* a bit of PHP sometimes.]
My own site (still in infancy) started as follows:
(1) Install MODx
(2) Choose template - andreas01 - and modify for my needs
- involved fiddling with the HTML in the template and the CSS in the associated style file, but if you are happy with the default structure then you don’t need to do anything.
(3) Add Wayfinder snippet call to template for menus (no PHP needed, just learn Wayfinder which is well documented)
(4) Add Contact Me page using eForm snippet (again, need to learn eForm, but well documented)
(5) Add AjaxSearch snippet to template (so it appears on every page)
(6) Start adding content..
Next I will be learning about Ditto (for summarising pages), then Jot (for user comments), then working through the blog stuff... I still haven’t needed to explicitly use any widgets, plugins, modules, TVs etc.
HTH
Gordon