|
Adding Animated SlideshowsCurrently Wild Apricot does have a built in photo album pages (see Photo Gallery) and member photo albums (see Member Albums ) but we don't have any other gadgets to display images on other pages. But with a little jQuery and Theme Override magic we can get some impressive results pretty quickly - like the example below .
RequiredFirst you should know that these tutorials are written for experienced designers and developers so they are bit more technical then our regular help. To complete this example you will need the following:
Installing the PluginIf you've used the jQuery library before you might think that you need to include the library into your public website. With Wild Apricot sites this is not necessary since the library is included by default on all public pages. Uploading the FilesAfter you've downloaded the plugin you will need to extract the files on your computer and then upload them to your site. You can do this through the online file management tool (see File Management) or through WebDav (see Working with WebDAV). I decided to put them in the /Theme folder in a new folder called 'easyslider'. But you could put them anywhere so long as you update all the references to the files as needed. My final folder structure looks like this:
Including the Plugin via Theme OverridesAgain since the jQuery library is already included into Wild Apricot pages we don't need to include it - but we do need to include the easySlider plugin and css files into our theme to start using slideshows on our pages. To do that we need to edit the Head.tpl file in our Theme Overrides and then upload that file to our Theme Overrides folder. Assuming you've used the same file structure as this example you would insert the following at the bottom of your Head.tpl file. Code Breakdown:
Plugin Options
Inserting a SlideShow into a pageFinally we can actually insert the slideshow into one of our pages by adding the following lines of code via the HTML button (see Inserting HTML or JavaScript) to any page on our site .
Final Tweaks and AdjustmentsDepending on the design you have in mind you may need to edit the position and size of the slideshow. You may also need to edit the position of the slider elements (i.e. Next/Previous buttons) within the the CSS but other than that the setup should be pretty straight forward.
|
|
|


