More Than One Content Area
More Than One Content Area
Is it possible to have two content areas on one page?
Like
|[Header Content]
|[Content A]
|[Footer Content]
And all areas can be changed in the content editor, like with three boxes that allow you to edit each one?
Like
|[Header Content]
|[Content A]
|[Footer Content]
And all areas can be changed in the content editor, like with three boxes that allow you to edit each one?
More Than One Content Area
There is no way to do this yet. A lot of the recent code changes were made to facilitate this ability, but it will probably be a future release (0.9?)
More Than One Content Area
Darn, ok. Thanks anyway! I'll be looking forward to new releases. 

More Than One Content Area
What is the syntax for the menu part of the template? (like {menu})
More Than One Content Area
What version are you using? 0.7.3, it's {dhtmlmenu}. 0.8, it's {cms_module module="phplayers"}
More Than One Content Area
Nope. phplayers (the menu) is a module. Supporting multiple content areas is going to be an interesting challenge.
More Than One Content Area
Is there a way I can change the navigation ({dhtmlmenu}) into another thing like the title? And where it says Menu: on the content manager, text will show up on the page where I put {dhtmlmenu}? Is it as simple as removing the dhtm properties from wherever the nav information is stored?
More Than One Content Area
What if you just put another "title" part on the content page, add another database entry, and make another variable?wishy wrote:Nope. phplayers (the menu) is a module. Supporting multiple content areas is going to be an interesting challenge.
More Than One Content Area
You mean reprogram it?
It's on the top of the TODO list, but it won't happen overnight. 0.8 needs to be out first, and then there are a ton of work to do to make multiple content blocks work. It actually has some crazy corner cases that need to be taken into account.

Multiple Content Areas
I may be missing something here, but can't HTML Blobs be used for multiple content areas?
More Than One Content Area
In a way, they can. However, it would definatly be convienent, especially if you want to force a particular layout for multiple pages to be able to setup multiple content blocks.
More Than One Content Area
I was thinking the same, htmlblobs, templates that can be applied on a page by page basis, user defined plugins ... can't see a use for multiple content areas.
Greg
More Than One Content Area
I definatly can.
Say you have a site where you have a few users, like a school. Teachers each have their own little playground to mess with. Now, the layout (template) has a few different places where the content should change, but the rest of the page should stay the same.
Now, say the layout has a main section, and then a little quote box to the right, etc...
So right now, the end user is in charge of making sure the divs are in the right place, etc. Using an HTML blob doesn't really help, since there is a different one per page.
I think multiple content blocks will give us a ton of flexibility for these kinds of situations.
Say you have a site where you have a few users, like a school. Teachers each have their own little playground to mess with. Now, the layout (template) has a few different places where the content should change, but the rest of the page should stay the same.
Now, say the layout has a main section, and then a little quote box to the right, etc...
So right now, the end user is in charge of making sure the divs are in the right place, etc. Using an HTML blob doesn't really help, since there is a different one per page.
I think multiple content blocks will give us a ton of flexibility for these kinds of situations.
More Than One Content Area
Exactly. Like websites that have main content and a side bar.wishy wrote:I definatly can.
Say you have a site where you have a few users, like a school. Teachers each have their own little playground to mess with. Now, the layout (template) has a few different places where the content should change, but the rest of the page should stay the same.
Now, say the layout has a main section, and then a little quote box to the right, etc...
So right now, the end user is in charge of making sure the divs are in the right place, etc. Using an HTML blob doesn't really help, since there is a different one per page.
I think multiple content blocks will give us a ton of flexibility for these kinds of situations.