How to add content to right block

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
tccarpenter
Posts: 12
Joined: Sat 6. Jan 2007, 23:05

How to add content to right block

Post 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!
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post 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!!
loub0999
Posts: 28
Joined: Sun 10. Dec 2006, 04:27
Location: Montreal, Quebec, Canada
Contact:

content tag placement

Post 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)
The only limits that exist, are those we impose on ourselves!
-me
Post Reply