Lazy how-to question for people who've created contrib or core layouts - what do you use to make the layout icon? Is there significance to the size of white space around the block regions?
Hi @DianeBAS
It doesn't look like there are any port requests for these modules and they do not appear in https://github.com/backdrop-contrib so it doesn't look like anybody has tried anything unless...
Thanks for those ideas. Here is what I'm doing now that works.
This adds the video_filter to the config file.
$format = filter_format_load('filtered_html');
$format->filters['video_filter'] = (...
The port of Organic Groups is within days (if not hours) of a beta release. Feel free to help test and report issues.
https://github.com/backdrop-contrib/og
I agree with BWPanda about the better way to add a filter. As for your general question on how to add an array to a config file (which gets stored as json), have you tried:
$config = config('...
I think that directly editing config is rarely, if ever, the best way to do something...
Perhaps try loading a format (with it's filters) using filter_format_load(), add the new filter array (by...
Posted22 hours 8 min ago by Peter Anderson (BWPanda) on:
Comments
I've not created contrib or core layouts but a few custom layouts. For the icon, I changed the appearance of an existing one like https://github.com/backdrop/backdrop/blob/1.x/core/layouts/boxton/boxton... using a graphics editor.
Regarding the white space around the block regions, I'm not sure. Personally, I'd try to visualize the regions not exactly but only approximately.