Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

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.

Thanks!

Comments

  • edited 1:28PM
    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'),
    http://docs.getfuelcms.com/general/layouts#layouts_block_layouts
Sign In or Register to comment.