Hi,
To meet our needs, I've added a settings page to this module which allows us to have more control over what our end users can do. Specifically:
* Only allow nodes of specified types to be chosen
* Define max height and width (and validate)
* Override orientation
* Override CCK field choice
* Don't show slideshow type option if there is only 1 type available
* Add an extra permission for access to the settings page
I thought this might be useful to others, so I'm attaching a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 848426.patch | 104.78 KB | lambic |
| fancy_slide.patch | 14.03 KB | lambic |
Comments
Comment #1
lambic commentedI've extended this further with a bunch of other features we needed, so here's a fresh patch. Some highlights:
* Some CSS tweaks
* Custom classes
* Admin functions moved to fancy_slide.admin.inc
* Allow presets for width, height and imagecache preset combos
* Override showing of alt text
* Provide default value for delay
* New text overlay feature, with defaults
* Allow different list styles (icon or thumb)
* Break forms up into fieldsets
* Allow randomizing of images
Comment #2
TomGould01 commentedHi lambic
I have downloaded both patches with a view to applying them to the master copy but the "fancy_slide.admin.inc" file only has a licence in it and none of the removed admin functions from the module file.
Could you shed any light in to this, I have also pushed some more changes today you may be interested in
Comment #3
lambic commentedStrange, the patch file looks ok. I'll try to apply it myself today sometime. It's my first git patch so I may have screwed up somehow.
The 2nd patch replaces the first patch so you don't need both.
Comment #4
lambic commentedI applied the patch semi-successfully. It complained about conflicts with changes in your latest release but it did create the correct admin.inc file. If I get some time in the next few days I'll try to do a merge of 2.6 with my version.