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:
/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

1 Attachment

fh123
 
JaPPa replied on at Permalink Reply
How can I do this for Concrete 5.6? When I follow the steps I can see the result in the composer but when I publish the gallery block is empty.

- JaPPa