Hello,
I did make some modifications to maxigallery for me. Now i have customfields and can filter the pictures with checkboxes. You can change the look of the filtercheckboxes with templates. The Checkboxes then are generatet from the script. You can set the filters with the url-link, a snippet-parameter or with the checkboxes in the filter-form.
New parameters:
- &customfields - to generate the custom fields
- &filterFields=`steinbesatz,title` - to generate the needed checkboxes in the filterform
- &filters=`steinbesatz(Brillant|Citrin)||title(ring)` - to filter the picures with parameter
- &display=`filter` - to show not the gallery, but the filterform(it calls a own script)
- &filterOuterTpl=`filterOuterTpl`
- &filterTpl=`filterTpl`
- &filterItemTpl=`filterItemTpl`
- and some new placeholters for the new templates
Example-snippetcall for the filterform:
[!MaxiGallery? &display=`filter` &filterOuterTpl=`filterOuterTpl` &filterTpl=`filterTpl`&filterItemTpl=`filterItemTpl` &filterFields=`steinbesatz,title` !]
Example-snippetcall for the maxigallery
[!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &customFields=`steinbesatz` &filters=`steinbesatz(Brillant|Citrin)||title(ring)` &filterFields=`steinbesatz,title` !]
Perhaps is somebody interested to the new functions. I am not a programmer and it would be good if you can have a look to the code. Can I post my changes anywhere?
To see it in action click here
Testlink
sorry for my bad english
regards
Bruno