-
- 1,097 Posts
If you want to avoid code, you’re in luck. You can have different template for different types of page. So just have a different template for your homepage.
Duplicate your template, call it Homepage Template or somesuch.
Put the sidebar in that template only.
Edit the homepage so that it uses Homepage Template.
Easier to make a TV for the sidebar content, give it the default that you want on all the other pages. Then on your home page document edit the TV to whatever you want on the homepage. And if you happen to have other pages that you want to have custom content, you can just edit their TV.
-
- 4,213 Posts
And if you want to do it within code, you’re in luck too
if ($modx->documentIdentifier == $modx->config[’site_start’]) { ... }
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
- 27 Posts
hey. you guys all rock!
THANKS A LOT!