Page 1 of 1

[SOLVED] Different pictures in sidebar on pages

Posted: Tue Nov 02, 2010 11:17 am
by qwalk
Hi,

How come it isn't possible to have 2 x content editing areas on each page?

I want to display some pictures in my sidebar, but i dont want to make Global Content Blocks, cause I don't want to make 100 different templates.

I have this:

#main
#main .content - this is here all my text goes in, and this is here in the HTML the {content} is
#main .sidebar - this is here i want pictures, but different pictures for each page

How should i fix this? Isn't it possible to get 2 x {content} areas when you click on a page to edit it? The first one for the text in {content} and another one for a {sidebar}?

The only other way I can figure out to solve this issue, is to make a template for each page, and in each template put in a Global Content Block with the pictures i want to display. But this isn't really handy since I need to create a new template and global content block every time I want to create a new site.

Please help me out, I'm on a deadline and I really need your help!

Thanks in advance,
Qwalk

Re: Different pictures in sidebar on pages

Posted: Tue Nov 02, 2010 11:27 am
by uniqu3
Never say something isn't possible  :)

You can enable second content block by {content block='sidebar' label='Sidebar Content'} for example which would go in your HERE
If you need it more flexible you could use some smarty logic to enable/disable these blocks or make use of AdvancedContent module http://dev.cmsmadesimple.org/projects/content2 where you are able to add for example dropdown for Global Content Blocks, this way you could also select specific Global Content Blocks per page.

Re: Different pictures in sidebar on pages

Posted: Tue Nov 02, 2010 11:46 am
by qwalk
uniqu3 wrote: Never say something isn't possible  :)

You can enable second content block by {content block='sidebar' label='Sidebar Content'} for example which would go in your HERE
If you need it more flexible you could use some smarty logic to enable/disable these blocks or make use of AdvancedContent module http://dev.cmsmadesimple.org/projects/content2 where you are able to add for example dropdown for Global Content Blocks, this way you could also select specific Global Content Blocks per page.
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Re: [SOLVED] Different pictures in sidebar on pages

Posted: Tue Nov 02, 2010 5:09 pm
by Dr.CSS
@qwalk

Reading the default content would have helped you...

http://multiintech.com/defaultcontent/i ... tent_types