manual install direct to modules directory
git clone https://github.com/geniv/nette-module-gallery.git app/modules/GalleryModule
must by install db from sql files
- prefix_gallery.sql
- prefix_gallery_item.sql
- prefix_gallery_item_has_locale.sql
- prefix_gallery_has_locale.sql
neon configure:
# gallery module
galleryModule:
tablePrefix: %tablePrefix%
gallery:
pathToImage: "www/files/image/gallery/"
neon configure extension:
extensions:
galleryModule: GalleryModule\Bridges\Nette\Extension
header menu:
<li n:class="$presenter->isLinkCurrent(':Gallery:*') ? active"><a n:href=":Gallery:">{_'header-gallery'}</a></li>