Gallery Block in Composer - HowTo
Permalink 1 user found helpful
After a long search i found a nice way for my customer to add pictures in composer view for a gallery pagetype:
1) Add new page type
2) edit default site
3) add gallery block (install this one:http://www.concrete5.org/marketplace/addons/gallery/)...
3.5) safe this page
4) go to:
5) create a new file: "composer.php"
6) copy the code from "form_setup_html.php" to the new composer.php
7) add the following to controller.php in same folder
Done! now you can add sets or randomly choosen files from filemanager and give them a sort, name, and style.
Update [19.09.14]: This also works with Sortable Fancybox Gallery (SFG). but you only can use albums then. choosing a single image doesn't work with file manager. i really don't know why
1) Add new page type
2) edit default site
3) add gallery block (install this one:http://www.concrete5.org/marketplace/addons/gallery/)...
3.5) safe this page
4) go to:
/packages/gallery/blocks/gallery
5) create a new file: "composer.php"
6) copy the code from "form_setup_html.php" to the new composer.php
7) add the following to controller.php in same folder
public function composer() { $this->view(); }
Done! now you can add sets or randomly choosen files from filemanager and give them a sort, name, and style.
Update [19.09.14]: This also works with Sortable Fancybox Gallery (SFG). but you only can use albums then. choosing a single image doesn't work with file manager. i really don't know why
- JaPPa