grid framework without package V5.8
Permalink
Usinghttps://documentation.concrete5.org/developers/designing-for-concret... as a ref.
Wanted to create grid framework without package on ver 5.8 so did
1. Created application/src/Page/MaterialdesignGridFramework.php (not sure if correct location)
Etc .....
2. In application/themes/template/page_theme.php added protected $pThemeGridFrameworkHandle = 'materialdesign';
3. Then added following to application/bootstrap/app.php
but still get Driver [materialdesign] not supported. any help is greatly appreciated.
Wanted to create grid framework without package on ver 5.8 so did
1. Created application/src/Page/MaterialdesignGridFramework.php (not sure if correct location)
Etc .....
2. In application/themes/template/page_theme.php added protected $pThemeGridFrameworkHandle = 'materialdesign';
3. Then added following to application/bootstrap/app.php
use Application\Page\MaterialdesignGridFramework; $manager = Core::make('manager/grid_framework'); $manager->extend('Materialdesign', function($app) { return new MaterialdesignGridFramework(); });
but still get Driver [materialdesign] not supported. any help is greatly appreciated.
Hi Karma, Did you ever get this resolved. I am developing a Bootstrap4 theme on V5.8.2 and having the same problem, site works fine until I put a page into edit mode and it states that the driver [bootstrap4] not supported
I double this. Concrete's handling of Frameworks is patchy at best. I'd like to deal with css grid only and ignore the frameworks, but I can't seem to deactivate the usage of frameworks completely.
Hey Responsive
To my understanding you can not create a grid framework outside of a package. You need to make your theme into a theme package so you can install your grid framework. My latest C5 build is a intranet application with a custom theme package using bootstrap 4, node.js and gulp as a task runner. I have not tried to enable the grid framework option since my users will not be using it. But I will make another branch and test your issue.
To my understanding you can not create a grid framework outside of a package. You need to make your theme into a theme package so you can install your grid framework. My latest C5 build is a intranet application with a custom theme package using bootstrap 4, node.js and gulp as a task runner. I have not tried to enable the grid framework option since my users will not be using it. But I will make another branch and test your issue.
Hi, I managed to get my Bootstrap4 framework working without resorting to creating a package. My problem was around how to register the framework,which this thread was very helpfulhttps://www.concrete5.org/community/forums/5-7-discussion/adding-cus... and getting my head around the changes in the way namespaces is now working in 5.8.