Modx Monday Screencast Week 3: Templates & Chunks
Welcome back Modx users! This week we’ll be covering the basics of using Templates & Chunks. If you’re just joining and would like to catch up, please check out Week 1: Introduction to Modx CMS and Week 2: Manager Interface and Creating, Editing, Deleting Documents.
We welcome your feedback, suggestions and questions, so please feel free to leave us your comments below. Thanks for stopping by and have a great week!
RSS Feeds
On November 16, 2009 @ 8:55 am Tweets that mention Modx Monday Screencast Week 3: Templates and Chunks | Lab Notes -- Topsy.com said
[...] This post was mentioned on Twitter by Pop Labs and Sal B, mary. mary said: RT @mayhemchaos: Shout out to @einsteinsboi in our new @modxcms screencast! #ModxMonday http://bit.ly/modx_monday [...]
On November 16, 2009 @ 2:56 pm mary
said
Thanks for the shoutout! Nice screencast, I like the way you quickly summarized the essentials. Another good thing with chunks is that they can make your template pretty lightweight, and they also make it easy to organize and get a good overview of your layout without getting caught up in lots and lots of code.
You can use the concept of chunks when designing your template to separate areas and thus be more efficient.
On November 16, 2009 @ 3:14 pm Sal Baldovinos
said
Thank Mary!
We used to set up our templates with chunks but found it can becoming overwhelming with the amount of chunks; depending on the layout.
{{header}} — All your header info up to <body>
{{main-content}} — All the main content area
{{sidebar}} — Side Content
{{footer}} — Footer information
That's a good start for anyone looking to keep a light-weight Template. Thanks for stopping by.
On December 14, 2009 @ 4:42 pm Sal Baldovinos
said
Peter:
Thanks for stopping by! We'll have more videos in the coming weeks. The conditional chunks with template variables will be a good one to check out! Stay tuned & subscribe.
On February 8, 2010 @ 3:26 pm Paul Thomas
said
Hi, Very interesting tutorial. Like Mary I set up my templates with chunks but this can lead to many templates with only minor differences. I cannot see how your template method would reduce that but hopefully that will become clear when the conditional chunks with template variable video is posted. Do you know when this is likely to be?
On February 8, 2010 @ 9:33 pm Sal Baldovinos
said
The way we have it set up is 2 Templates with all the HTML with parts of it in chunks (hard to explain without showing). Then there's options to use CSS to change up layouts based on the page your own or if it's the home page or sub pages.
On February 10, 2010 @ 8:44 pm Paul Thomas
said
Thanks Sal, I'm sure it will make sense when the screencast is posted. Do you know when this will be please?
On February 10, 2010 @ 8:48 pm Sal Baldovinos
said
Happy to help! If you're looking for some good resources for the time being, check out Mary's site (she commented above) and Gregory Smart (http://www.gregorysmart.com) Lots of good content to learn from!