Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

global categories

#155

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

Reported by dogmatic69 · February 26th, 2010 @ 03:53 PM

State: resolved
Milestone: 0.8 alpha
Assigned to: dogmatic69 dogmatic69

Activity

  1. dogmatic69
    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.

    February 26th, 2010 @ 03:56 PM

  2. dakota
    dakota
    • Assigned user set to dakota

    February 28th, 2010 @ 10:48 AM

  3. 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)

    March 31st, 2010 @ 09:55 AM

  4. dakota
    dakota
    • Milestone changed from Feature Requests to 0.8 alpha
    • State changed from feature to resolved

    April 20th, 2010 @ 12:07 PM

  5. dogmatic69
    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

    May 10th, 2010 @ 11:55 AM

  6. dogmatic69
    dogmatic69

    turns out this was the parent join, ive had this issue with any tree model and self joins

    May 13th, 2010 @ 03:30 AM

  7. dogmatic69
    dogmatic69
    • State changed from bug to resolved
    • Assigned user changed from dakota to dogmatic69
    • Milestone order changed from 0 to 0

    September 6th, 2010 @ 10:00 PM

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.