Bug #23457 Bug Fixed

Layouts do not have newly assigned channel’s category group

Version: 4.0.8 Reporter: Pedro Guimaraes

I created a new category group, assigned it to an existing channel. Then when I went to edit the existing layout for the channel, the category group is nowhere to be found.

  • In system/ee/EllisLab/ExpressionEngine/Model/Channel/Channel.php at line 409 add

    $new_cat_tab = 0;

    at line 413 add:

    if ($section['id'] == 'categories' && $section['visible'])
    {
        $new_cat_tab = $i;
    }

    change line 451 to

    $field_layout[$new_cat_tab]['fields'][] = $field_info;
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases