ContentBox Beta Updates
ContentBox beta updates delivery
Description
This is the entry that supports auto-update delivery for all bleeding edge ContentBox installations.
Installation Instructions
Here are all the changes: http://coldbox.assembla.com/spaces/contentbox/milestones/1076093-1-0-4-beta
Please note you will need to do some manual DB updates for this update to work until we finish our database updater. For now below are the instructions to update your database.
Warning: We have seen some ehcache issues arise which are fixed in future versions of ehcache, so nothing we can do, except restart.
Manual Update: Please update the Application.cfc with the following manually:
// LOCATION MAPPINGS
this.mappings["/contentbox"] = COLDBOX_APP_ROOT_PATH & "modules/contentbox";
this.mappings["/contentbox-ui"] = COLDBOX_APP_ROOT_PATH & "modules/contentbox-ui";
this.mappings["/contentbox-admin"] = COLDBOX_APP_ROOT_PATH & "modules/contentbox-admin";
// THE LOCATION OF EMBEDDED COLDBOX
this.mappings["/coldbox"] = COLDBOX_APP_ROOT_PATH & "coldbox";
// CONTENTBOX ORM SETTINGS
this.ormEnabled = true;
this.ormSettings = {
// ENTITY LOCATIONS, ADD MORE LOCATIONS AS YOU SEE FIT
cfclocation=["model","modules/contentbox/model","modules/contentbox/modules"],
// THE DIALECT OF YOUR DATABASE OR LET HIBERNATE FIGURE IT OUT, UP TO YOU
//dialect = "MySQLwithInnoDB",
// DO NOT REMOVE THE FOLLOWING LINE OR AUTO-UPDATES MIGHT FAIL.
dbcreate = "update",
// FILL OUT: IF YOU WANT CHANGE SECONDARY CACHE, PLEASE UPDATE HERE
secondarycacheenabled = true,
cacheprovider = "ehCache",
// ORM SESSION MANAGEMENT SETTINGS, DO NOT CHANGE
logSQL = true,
flushAtRequestEnd = false,
autoManageSession = false,
// ORM EVENTS MUST BE TURNED ON FOR CONTENTBOX TO WORK
eventHandling = true,
eventHandler = "modules.contentbox.model.system.EventHandler",
// THIS IS ADDED SO OTHER CFML ENGINES CAN WORK WITH CONTENTBOX
skipCFCWithError = true
};
If you would like to apply the patch manually, just download and process it.
Database updates
The following updates are the SQL to run for MySQL, please adapt for your database.
// Modules Content
CREATE TABLE `cb_module` (
`moduleID` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`version` varchar(255) DEFAULT NULL,
`entryPoint` varchar(255) DEFAULT NULL,
`author` varchar(255) DEFAULT NULL,
`webURL` longtext,
`forgeBoxSlug` varchar(255) DEFAULT NULL,
`description` longtext,
`isActive` bit(1) NOT NULL DEFAULT b'0',
PRIMARY KEY (`moduleID`),
KEY `idx_active` (`isActive`),
KEY `idx_entryPoint` (`entryPoint`),
KEY `idx_moduleName` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
// Cache layout bits
ALTER TABLE cb_content ADD COLUMN cacheLayout BIT NULL DEFAULT b'1';
CREATE INDEX idx_cachelayout ON cb_content(cacheLayout);
// Create new columns custom HTML
ALTER TABLE cb_customHTML ADD COLUMN cache BIT NULL DEFAULT b'1';
ALTER TABLE cb_customHTML ADD COLUMN cacheTimeout INT NOT NULL DEFAULT 0;
ALTER TABLE cb_customHTML ADD COLUMN cacheLastAccessTimeout INT NOT NULL DEFAULT 0;
// Create indexes for those new columns
CREATE INDEX idx_cache ON cb_customHTML(cache);
CREATE INDEX idx_cachetimeout ON cb_customHTML(cacheTimeout);
CREATE INDEX idx_cachelastaccesstimeout ON cb_customHTML(cacheLastAccessTimeout);
Changelog
| # | Summary |
|---|---|
21 |
Admin menu service completion |
24 |
ContentBox Modules |
81 |
Ability to copy page or sections and duplicate them with hierarchy |
90 |
New widget: RenderView, to render any view in your application |
91 |
fixes to content removal when categories where linked |
92 |
better page handling on cbhelper |
93 |
fixes on display for our db search |
94 |
new truly simple skin |
95 |
fixes to some themes files |
96 |
cbhelper bugs on context based identifications |
97 |
new corporattica layout theme |
98 |
ForgeBox integration to widgets and layouts |
99 |
New pagewrapper caching for pages without comments |
101 |
forgebox integration to modules |
102 |
New algorithm to deal with content slugs, caching of slugs and lookup of slugs |
Menu
Forge Entry Types


