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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
rahulsadagopan

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

Post 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
Last edited by rahulsadagopan on Mon Dec 10, 2007 7:49 am, edited 1 time in total.
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: 2 {content} in 1 page possible?

Post by cubix »

{content block="something"}
{content block="somethingelse"}
rahulsadagopan

Re: 2 {content} in 1 page possible?

Post by rahulsadagopan »

Wonderful!
Thanks a zillion.  :)

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

- Rahul
Last edited by rahulsadagopan on Mon Dec 10, 2007 7:38 am, edited 1 time in total.
alby

Re: 2 {content} in 1 page possible?

Post 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
Locked

Return to “CMSMS Core”