global categories
-
dogmatic69
- State changed from resolved to feature
core_menus, blog_categories, cms_categories, core_module_positions, newsletter_campaigns could all be in one table with a lot less code.
-
dakota
- Assigned user set to dakota
-
dakota
- Assigned user cleared.
Not sure about merging all of those tables.
I was thinking of global categories being global content categories.
So for example you can create a 'Space' category and put all your Space related blog posts, cms pages, products, photos, etc. into the category. Then a site visitor will be able to click on the 'Space' category and be shown all the items that are in that category in a nice friendly page.
But, given the similarity between the various tables you listed, we could merge them somehow. We'll just need to be careful with EVA as it can slow things down (It needs to perform an extra query for each record in the category table)
-
dakota
- Milestone changed from Feature Requests to 0.8 alpha
- State changed from feature to resolved
-
dogmatic69
- State changed from resolved to bug
- Assigned user set to dakota
cms frontpages does not work anymore
Warning (512): Model "Content" is not associated with model "Category" [CORE\cake\libs\model\behaviors\containable.php, line 363]
Debugger::handleError() - CORE\cake\libs\debugger.php, line 306
ContainableBehavior::containments() - CORE\cake\libs\model\behaviors\containable.php, line 363
ContainableBehavior::containments() - CORE\cake\libs\model\behaviors\containable.php, line 368
ContainableBehavior::beforeFind() - CORE\cake\libs\model\behaviors\containable.php, line 121
ModelBehavior::dispatchMethod() - CORE\cake\libs\model\model_behavior.php, line 169
BehaviorCollection::trigger() - CORE\cake\libs\model\model_behavior.php, line 494
Model::find() - CORE\cake\libs\model\model.php, line 2064
Controller::paginate() - CORE\cake\libs\controller\controller.php, line 1204
FrontpagesController::index() - APP\infinitas\cms\controllers\frontpages_controller.php, line 77
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 204
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
[main] - APP\webroot\index.php, line 84 -
dogmatic69
turns out this was the parent join, ive had this issue with any tree model and self joins
-
dogmatic69
- State changed from bug to resolved
- Assigned user changed from dakota to dogmatic69
- Milestone order changed from 0 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.