Hi all,
I have some questions regarding converting my lay-out to Modx. I already have come very far, but there some things that I don't quite know how to deal with in the best way.
So, first question. My template is constructed normally this way:
header
breadcrumb block
content
footer.
The content div (spanning the total site width) is as follows:
<div class="singlecontent">
My content and it's mark-up.
</div>
So far, nothing special. But my frontpage is a bit special. It doesn't use the breadcrumb block. And it has two content divs. The one I posted above and this one (to create two blocks of content next to each other):
<div class="doublecontent">
<div class="doubleleft">
left block content
</div>
<div class="doubleright">
right block content
</div>
<div class="clear"> </div>
</div>
I could of course create a template for the front page alone, but I guess that with chunks, template variables or something this could be handled more gracefully. How do I do that exactly?
My second question: On my frontpage, in the doubleright block from above, I show the ten last posts from my Wordpress blog. How do I do this in Modx?
My third question: I use a header image (image between my site name and the navigation). My website has a few sections. With a few sections I would like to use a different header image. Again, am I correct in believing that handling that with chunks/template variables or something is more elegant? And how I would exactly do that?
Fourth question: I use a contact form (PHP script, very secure. Got it recommend at Sitepoint). How can I use this one in Modx?
Fifth question: Google Analytics code: can I put this just in the template? Instead of a chunk or so?
Sixth question: Can I let ModX generate a site map automatically? Both for visitors and Google webmasters?
Sorry for the long post, but these are the questions I have. I am happy to return to ModX after many years