Page 1 of 1

2 {content} in 1 page possible? [SOLVED]

Posted: Mon Dec 10, 2007 5:35 am
by rahulsadagopan
Hi,

Here is my scenario,

I have a page which has a maincontent division & a sidebar.
The maincontent division is where I have the {content} coming. That works great!
I also want the content of the sidebar to be content managed (i.e. do not want to code the content in the template)
Any way of doing that?

My initial idea was to have each sidebar's content as a news item & then using {news number="1" start="<the number of that sidebar content."} display them in the sidebar. A small problem in this will be that I will need as many templates as sidebar contents I have.
Since I'm already using the news module to display the news, the above approach is ruled out (I think so).

Any pointers to address this?

Thanks in advance,

- Rahul

Re: 2 {content} in 1 page possible?

Posted: Mon Dec 10, 2007 5:45 am
by cubix
{content block="something"}
{content block="somethingelse"}

Re: 2 {content} in 1 page possible?

Posted: Mon Dec 10, 2007 6:11 am
by rahulsadagopan
Wonderful!
Thanks a zillion.  :)

I found this one link while searching.
Does anyone know of any others?

- Rahul

Re: 2 {content} in 1 page possible?

Posted: Mon Dec 10, 2007 8:17 am
by alby
rahulsadagopan wrote: I found this one link while searching.
Does anyone know of any others?
Search in forum for a tips of calguy1000 for feu and private page.
There is a tips for use in metadata option field a your variable for each page

You can use this variable for news module

Alby