FREE: Source Code for my Photo Gallery Module
I created this a while back. You can download the source code. I would appreciate it if we could re-organize this source code and contribute more to the Fuel CMS Community..
Example:
http://www.chestnutstrand.com/photogalleryRepo:
https://github.com/JBWebServices/FUEL-CMS-Photo-GalleryThings I probably did wrong.
* I don't know that I did things correctly with the Fuel CMS Git Install.
* I also had to create a module file in the app/module folder. Is that correct?
* References a lot of files out of the module's folder
Comments
To grant access to other user (not superadmin) to the gallerymanager module, we need first, add the permissions from the option menu on the CMS like the tutorial says. Then, we need to edit these permissions, changing the default "name". For our case, we need 3 permissions:
1. Gallery Manager( the name would be "tools/gallerymanager" )
2. Create Group ( the name would be "tools/gallerymanager/add_group" )
3. Help ( the name would be "tools/gallerymanager/help" )
Thanks for you time. See you on the next issue !
I used this gallery and these are some points I faced :
1. gallery_model.php is missing I took it from sample code and create models folder.
2. I can't do anything until I create a gallery and there is no link to make it so I create it manually in database , maybe in future I will make a link.
3. paths of javascript and css files doesn't work , so I add "site_url()" before any src url.
4.when uploading images , preview of images doesn't appear because of invalid path , so I change gallerymanager.js line no. 490 & 491
$('#upload_image').attr('src', site_url + '/tempupload/' + jsonObj.resize_path);
$('#preview_thumb').attr('src', site_url + '/tempupload/' + jsonObj.resize_path);
I defined site_url in view gallery_manager.php
there are more but that is enough for today , maybe another time
Please guide me also to add Gallery in our modules.
https://github.com/Rosha/FUEL-CMS-Photo-Gallery/tree/master/gallerymanager
Is it possible in FUEL CMS to integrate http://photoswipe.com/
?
best regards,
matt