Page 1 of 1

How to add content to right block

Posted: Tue 9. Jan 2007, 14:26
by tccarpenter
I have spent a huge amount of time trying to figure out how to add content to the right block of my template. I must be missing something simple. Where do I define the content for a block (other than the primary content block)? Don't find any info on this in the documentation.

Thanks!

Posted: Tue 9. Jan 2007, 14:32
by pepe
First of all... you must put in the following ReplacementTag {RIGHT} into your template. So the script knows, where to show the Input!

When putting in the ContentParts there is a selectionBox for choosing the target of the CP...

search "on top" of the articleinformation!!

content tag placement

Posted: Wed 17. Jan 2007, 18:43
by loub0999
The first step is to place a content tag in you template where you want the content to appear:
Image
This is the place holder for content from your articles. The tag you have to use is indiacted in the popup when you select where you want your content placed. They are:

Code: Select all

{content}, {left}, {right}, {header}, {footer}
When you have put a content tag into your template you are ready to create dynamic content to drop stuff into. Go to the admin section of your site and click the link for article. In your article you will want to create any type of content, it doesn't matter, what matters is what you sellect for destination in the supplied pop up:
Image

By doing this you can dynamically replace content and associate it with an article instead of creating a diffrent template for diffrent header (or any other section) content. In my site the header section is a blank layout with just the company logo, and the image on the right is associated with each article, that way I only have one template for the whole site, but the header changes with each article. :)

If you navigate my site you'll notice the image of the house on the top right changes when you look at diffrent articles, it is an image I've placed as an article, that has been configured as above to be placed in {header} and not the default choice {content}.
http://firsttimesellers.com/phpWCMS/index.php

Hope this helps, it took me a few hours to figure this out! ;)

P.S.: You'll have to navigate a bit to see what I mean, as I don't quite have content to fill the site! As of this writing, you'll find a pciture under, home, value of improvements, about me and Google map (under contatct info)