Closed Jakub41 closed 9 years ago
I fix it the problem
Could you explain what you did, to help others in the future? :smile:
Hello, the problem was in the db config of laravel. I just deleted and wrote it again and then the command worked. :-)
I have one last question. I'm trying with your system to create a single page for the photo gallery inside my project. I wouldl ike to have in the back the possibility to create the albums and in front only the page with the photo albums. You have some suggestion if this is possible from your system to make and how? Thank you
I don't really get what you mean. What do you mean with 'back' and 'front' of what?
I mean in my project to have a page for the album photo galleries and a system in the back end only for the admin to create this albums and add photos. Piratically one page a front end what every one see with the albums and when you click one of that you see the photos inside. The system to make the albums with the photos in the back end for the admin.
Yes, you can do that! The way the gallery looks can easily be adjusted. Follow the guide in the readme on publishing the views so you can make your own nice front end. It is possible to secure the backend with filters. Take a look at the routes file of the package to see which routes you need and then follow the docs (I think you need the pattern based filter).
Thanks for your suggestions I'll try.
Hi, When I wrote the command php artisan migrate --package="jeroen-g/laravel-photo-gallery" I received the error [PDOException] SQLSTATE[HY000] [2002] No such file or directory. Can you help me to fix it? Thanks Jakub