global categories
Reported by dogmatic69 | February 26th, 2010 @ 03:53 PM | in 0.8 alpha
this will remove a lot of duplicate code and tables
http://en.wikipedia.org/wiki/Entity-attribute-value_model
could also do with a form for helping build the backend CRUD
set some sort of schema in the model that wants to use it
Comments and changes to this ticket
-
dogmatic69 February 26th, 2010 @ 03:56 PM
- 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 February 28th, 2010 @ 10:48 AM
- Assigned user set to dakota
-
dakota March 31st, 2010 @ 09:55 AM
- 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 April 20th, 2010 @ 12:07 PM
- Milestone changed from Feature Requests to 0.8 alpha
- State changed from feature to resolved
-
dogmatic69 May 10th, 2010 @ 11:55 AM
- 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 May 13th, 2010 @ 03:30 AM
turns out this was the parent join, ive had this issue with any tree model and self joins
-
dogmatic69 September 6th, 2010 @ 10:00 PM
- 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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Please use this for the current version of Infinitas only, if you are using a older version of the Infinitas report bugs in that project.
Please submit bugs only as pending, and if its a feature request submit the ticket with the milestone "Feature Requests".