[vt] Nivo Slider

jQuery Nivo Slider for OXID eShop 4.7+

View project onGitHub

what you get:

  • this module will replace the default OXID's slider with the Nivo Slider ( info, demo )
  • effects, theme and all other settings of nivo slider can be configured in OXID backend
  • no programmer skills are required
  • the slider will be available on all pages instead the start page only, this can be configured in OXID backend

what you need:

  • this module works with OXID eShop Community and Professional Editions 4.7.x
  • it should also work with Enterprise Edition 5, but i could not test it yet
  • you need access to the template files to insert the required code

installation:

getting the module

  • download the zip
  • extract it
  • copy the contents of the "copy_this" folder into the shop root directory
  • if you use a ftp client, make sure you set it to use binaty mode to transfer files

  • if you are familar with git and shell you can checkout the module branch:

    $ cd *your_shop_root*/modules/
    $ git clone -b module git://github.com/vanilla-thunder/vt-nivo.git
    

template changes

  • go to the directory application/views/*active template*/tpl/layout/
  • open file header.tpl and scroll down, you will see:
[{if $oView->getClassName()=='start' && $oView->getBanners()|@count > 0 }]  
    <div class="oxSlider">  
        [{include file="widget/promoslider.tpl" }]  
    </div>  
[{/if}]  
  • place the new code around it:
[{block name="vt_nivo"}]  
[{if $oView->getClassName()=='start' && $oView->getBanners()|@count > 0 }]  
    <div class="oxSlider">  
        [{include file="widget/promoslider.tpl" }]  
    </div>  
[{/if}]  
[{/block}]  
  • save and exit
  • clear the tmp/smarty/ folder

activation and configuration

  • log into the OXID backend and got to extensions->modules
  • activate "vt Nivo"
  • switch to the settings tab and configure the slider
  • the first part is about the sites, where you want to display the slider
  • the second part is about the slider settings, you can read the manual from the nivo slider website
  • there is one important setting: the first one about including jQuery. you can leave it blank and test the slider. if it doesn't work proper enable this setting and test again.

got problems or questions?

please use one of this threads in OXID Community Forum:

international (english): http://forum.oxid-esales.com/showthread.php?p=125821
german: http://forum.oxid-esales.com/showthread.php?p=125820
russian: -coming soon-

license

vt-nivo Module for OXID eShop 4.7

Copyright (c) 2012-2013 Marat Bedoev

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/

Nivo Slider

Copyright (c) 2010-2012 Dev7studios

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.