GerHobbelt/CompactCMS — Issue #1: add 'inlined' pages (i.e. mixing db 'pages' to create a single html output page)
Author: GerHobbelt
Created: 2011-12-08 21:18:03+00:00
State: open

Adding 'inlining' to CCMS: place content into menu instead of link to page.

add 1 column to pages table:

ALTER TABLE `ccms_pages` ADD `inlining` ENUM( 'Y', 'N' ) NOT NULL DEFAULT 'N' COMMENT 'Whether or not the text should be displayed in its own page or ''inlined'' in the menu.'

Idea is to have a multicolumn template display more than one 'page' at the same time, say one in the 'contents' pane and another page in the 'sidebar'. Currently, CCMS doesn't support such a thing as the html page URL is related to a single page id.

We can keep that approach (in fact, it's rather clean and I like it: you should be able to uniquely identify each _rendered_ page anyhow and this is how!) by adding a 'mixer' addon: the 'mixer' stores which 'sub'page goes where; only will work when templates support the multiple target areas, the way I have it in my mind right now.