Support the ongoing development of Laravel.io →
Configuration Packages Architecture
Last updated 2 years ago.
0

You'll need to be a bit more explicit. What problems are you having?

Last updated 2 years ago.
0

Thanks for reply,

I am using a laravel version 4.2.7. When i run this command from command prompt "php artisan bundle:install fancybox" it display : [InvalidArgumentException] there are no command defied in the "bundle" namespace.

Is that 4.2.7 support this command for fancybox in laravel if yes then how can i use this and if no then whats the alternative for this.

Last updated 2 years ago.
0

You just need to include the necessary css and js files for fancybox and use the classes.

Last updated 2 years ago.
0

Thanks johnvic, ok i can use this fancybox like that but if i have to use fancybox like this then whats the use of laravel functionality of its framework features.why they created these things https://github.com/codenamegary/laravel-fancybox.

Last updated 2 years ago.
0

I think you'll find that those instructions for Laravel are for the older 3.* version. Laravel 4 no longer uses bundles, but uses composer instead.

Last updated 2 years ago.
0

Thanks sitesense, i think you are right those instructions for Laravel 3 but is there any other instructions are there for Laravel 4 .

Last updated 2 years ago.
0

Just head over to http://fancyapps.com/fancybox/ and follow the normal instructions, use the css where ever you've got your other CSS and and JS where ever you've put your other JS scripts.

forget about the bundle nonsense and just go get your lightbox on. :)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

sharma9853 sharma9853 Joined 27 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.