-
- 25 Posts
I am using Maxigallery for years now. Since having problems with dragsort view (see other post) and not finding any solution for that problem I am now on the search for a new gallery snippet.
I found EvoGallery and SimpleGallery whereof the latter seems to be the most actively developped. The problem here is that the only documentation I found is in russian language. Even with heavy usage of google translator I was not able to get it running.
What I read was that many people are changing from MaxiGallery and EvoGallery to SimpleGallery because they think that this is the most future proof.
I would like to get some suggestions which gallery snippet to use. For SimpleGallery I would be glad if there were a hint to a tutorial or working example.
-
- 1,613 Posts
SimpleGallery is the only and best pick.
You need PHP 5.6 =>
Just a short basic help;
> Install SimpleGallery from the Extras.
> Update DocLister from the Extras.
> Check your plugin > configuration settings
[!sgLister?
&ownerTPL=`@CODE: <div class="row">[+dl.wrap+]<div class="clear"></div></div>`
&display=`4`
&paginate=`pages`
&PrevNextAlwaysShow=`1`
&tpl=`foto-tpl`
&TplWrapPaginate=`@CODE:<ul class="pagination">[+wrap+]</ul>`
&TplCurrentPage=`@CODE:<li class="active">[+num+]</li>`
&TplPage=`@CODE:<li><a href="[+link+]">[+num+]</a></li>`
&TplNextP=`@CODE:<li><a href="[+link+]"><i class="fa fa-angle-right" aria-hidden="true"></i></a></li>`
&TplPrevP=`@CODE:<li><a href="[+link+]"><i class="fa fa-angle-left" aria-hidden="true"></i></a></li>`
&TplNextI=`@CODE:<li class="disabled"><i class="fa fa-angle-right" aria-hidden="true"></i></li>`
&TplPrevI=`@CODE:<li class="disabled"><i class="fa fa-angle-left" aria-hidden="true"></i></li>`
!]
<div class="clear"></div>
[+pages+]
<style>
.pagination li{list-style:none; margin:4px; padding:0; float:left;}
.pagination li:before{content:'';}
</style>
Chunk Foto Tpl: (foto-tpl)
<a href="[+sg_image+]" style="padding:10px; float:left;"><img src="[[phpthumb? &input=`[+sg_image+]` &options=`w=120,h=120,zc=1`]]" alt="[+sg_title+]"></a>
Evolution user, I like the back-end speed and simplicity
-
- 25 Posts
Thank you.
I installed SimpleGallery from extras and newest DocLister on PHP 7.1. When I am on the manager page of a ressource that I included in the configuration of SG there is an SG tab that is otherwise completely empty.
Is there something more to configure so that there is a gallery management visible in the SG tab? Do I have to enter a controller name in config? Which name? Where do I find controller if needed?
-
- 25 Posts
The reason for the empty SG tab in manager was the missing translation in my system language. After I added the translation SG works. Maybe this helps someone else.