d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Installing Novi Slider Or Wow Slider On Php Theme
Add Reply New Topic New Poll
Member
Posts: 16,525
Joined: Mar 18 2003
Gold: 1,589.00
Aug 12 2013 04:07am
does any one know how to hard code novi slider or wow slider into a theme on e107?

not wordpress.






i've installed the java...

Code
function theme_head() {
       echo '
           <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"></script>
           <script type="text/javascript" src="'.THEME_ABS.'js/jquery.nivo.slider.js"></script>
           <script type="text/javascript" src="'.THEME_ABS.'js/theme.js"></script>
           <link rel="stylesheet" href="'.THEME_ABS.'csslib/nivo-slider.css" type="text/css" media="screen" />
           <link rel="stylesheet" href="'.THEME_ABS.'csslib/default.css" type="text/css" media="screen" />
       ';
   }


at the top of my php to start it which is working correctly.



but the middle part:
i want to put a slider in the middle of my page oh php...

Code
<div class='wrapper'>
<div class='slider-wrapper theme-default'>
<div class='ribbon'></div>
<div id='slider' class='nivoSlider'>
{SETSTYLE=nivoslider}
{MENU=100}
</div>


and

Code
// tablestyles
if($style == "nivoslider"){
static $slide; //!
$slide++; //!
if(empty($text))
echo '
 <img src="'.THEME_ABS.'slideimages/slideimage-'.$slide.'.jpg" title="'.$caption.'" alt="" />
';
else
echo '
 <a href="'.$text.'" title="'.$caption.'"><img src="'.THEME_ABS.'slideimages/slideimage-'.$slide.'.jpg" title="'.$caption.'" alt="" /></a>
';
}




i have image in image folder and added the novi class css to my themes css...

but images doesn't appear...

i also installed corelett labs plugin and fbox plugins


it only appears when i move the fbox menu to my novi menu area...

how do i resolve this?



has anyone installed novi slider or wow slider successfully on this before using e107 core?
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll