Folders or groups for blocks

edited June 2014 in Feature Requests
Can we get folders or groups for blocks created in the admin section? I have a LOT of blocks on my site and with no way to organize them it's kind of a pain.



  • edited 2:44AM
    You can put them in subfolders and just reference "myfolder/myblock":
    echo fuel_block("myfolder/myblock");
    If this is more for the CMS side of things and you are using the "block" field type and only want a certain group of blocks to appear in the drop down, you can use a "group" parameter like so which will reference the group value assigned to the block layout class property (I can explain that in more detail if that is indeed where you are needing help):
    'block' => array('type' => 'block', 'folder' => 'sections', 'group' => 'sections'),
Sign In or Register to comment.