Como botar slideshow em todas as páginas?

  • botelhoufrj
  • Avatar de botelhoufrj Autor do Tópico
  • Offline
  • JCB! Novato
  • JCB! Novato
Mais
10 anos 9 meses atrás #92047 por botelhoufrj
botelhoufrj created the topic: Como botar slideshow em todas as páginas?
Fala galera,

Baixei um template que aparece o slideshow só na home. Queria que ele aparecesse em todas as páginas. Sabem onde posso conseguir fazer isso?

Segue o código da index:
<?php

defined('_JEXEC') or die('Restricted access');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/js/classe/layout.php');
/* The following line loads the MooTools JavaScript Library */
JHtml::_('behavior.framework', true);



/* The following line gets the application object for things like displaying the site name */
$app = JFactory::getApplication();
$csite_name  = $app->getCfg('sitename');
$path = $this->baseurl.'/templates/'.$this->template;

?>
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">    
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >   

 <head>      
 <jdoc:include type="head" />
 
 <?php 
 # main width#    
 $mod_left = $this->countModules( 'position-5' );    
 $mod_right = $this->countModules( 'position-7' );    
 if ( $mod_left || $mod_right ) {    $width = '';    }
 else {    $width = '-full';    }    
 ?>  

  <?php 
   $bodybackground  =  htmlspecialchars($this->params->get('bodybackground'));
 ?>
 
 <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/ashton/css/tdefaut.css" type="text/css" media="all" />     
 <script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>     
 <script type="text/javascript" src="templates/<?php echo $this->template ?>/js/superfish.js"></script>    
 <script type="text/javascript" src="templates/<?php echo $this->template ?>/js/hoverIntent.js"></script>  
 <script type="text/javascript" src="templates/<?php echo $this->template ?>/js/nivo.slider.js"></script>  
 <script type="text/javascript" src="templates/<?php echo $this->template ?>/js/scroll.js"></script>   
 <script type="text/javascript" src="templates/<?php echo $this->template ?>/js/hide.js"></script>  
 <link rel="icon" type="image/gif" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.gif" />
 <link href='http://fonts.googleapis.com/css?family=Oswald:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
 
 <script type="text/javascript">           
 var $j = jQuery.noConflict();   $j(document).ready(function() {         
 $j('.navigation ul').superfish({            
 delay:       800,                           
 animation:   {opacity:'show',height:'show'},      
 speed:       'normal',                            
 autoArrows:  true,                             
 dropShadows: true                             
 });     });      
 </script>  
 
 <script type="text/javascript">     
 var $j = jQuery.noConflict();           
 jQuery(document).ready(function ($){         
 $j("#slider").nivoSlider(          
 {effect: "sliceUpDown",            
 slices: 15,             
 boxCols: 8,             
 boxRows: 4,           
 animSpeed: 1000,         
 pauseTime: 4000,           
 captionOpacity: 1          
 }); });       
 </script>


    <?php $menu = JSite::getMenu(); ?>                          
    <?php $lang = JFactory::getLanguage(); ?>                     
    <?php if ($menu->getActive() == $menu->getDefault($lang->getTag())) { ?>       
    <?php if ($this->params->get( 'slidedisable' )) : ?>     
    <?php include "slideshow.php"; ?><?php endif; ?>          
    <?php } ?>

Please Entrar ou Registrar to join the conversation.


Mais
10 anos 9 meses atrás #92051 por cafelipems
cafelipems replied the topic: Re: Como botar slideshow em todas as páginas?
Geralmente o slideshow é um módulo para exibir fotos, artigos, produtos, etc.

Se esse for o caso deve ir no modulo de slideshow e na opção de exibição selecionar em todas as páginas.

Qualquer dúvida posta um link do site, fica mais fácil entender.

Abço! <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

Carlos Felipe MS
Web Designer Junior
Twitter: [url:206ydkl4]http://twitter.com/@CarlosFelipe_MS[/url:206ydkl4]
Site:[url:206ydkl4]http://cfwebdesigner.com.br[/url:206ydkl4]
Skype: cafelipems
E-mail: <!-- e --><a href="Este endereço de email está sendo protegido de spambots. Você precisa do JavaScript ativado para vê-lo.">Este endereço de email está sendo protegido de spambots. Você precisa do JavaScript ativado para vê-lo.</a><!-- e -->

Please Entrar ou Registrar to join the conversation.

  • botelhoufrj
  • Avatar de botelhoufrj Autor do Tópico
  • Offline
  • JCB! Novato
  • JCB! Novato
Mais
10 anos 9 meses atrás #92076 por botelhoufrj
botelhoufrj replied the topic: Re: Como botar slideshow em todas as páginas?
Poisé Carlos, nesse caso não é... é um código php, e de php eu não saco muito
o site é <!-- w -->[url=http://www.mpradvogados.com.br" onclick="window.open(this.href);return false;]www.mpradvogados.com.br[/url]<!-- w -->

Please Entrar ou Registrar to join the conversation.

Mais
10 anos 9 meses atrás #92096 por Henriquesm
Henriquesm replied the topic: Re: Como botar slideshow em todas as páginas?
Bom esse slideshow faz parte do template, acredito que daria muito trabalho colocar ele em todas as páginas. O ideal seria você tirar da página principal a parte do código que chama o slideshow e utilizar um módulo de slideshow, pois ele ti dará muito mais opções de customização.

Espero ter ajudado...

Abraç <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[b:29xnqizn][color=#0000BF:29xnqizn]Henrique Moreira[/color:29xnqizn][/b:29xnqizn]
[u:29xnqizn][i:29xnqizn]Aprendiz Joomla[/i:29xnqizn][/u:29xnqizn]
[i:29xnqizn]E-mail: <!-- e --><a href="Este endereço de email está sendo protegido de spambots. Você precisa do JavaScript ativado para vê-lo.">Este endereço de email está sendo protegido de spambots. Você precisa do JavaScript ativado para vê-lo.</a><!-- e -->[/i:29xnqizn]

Please Entrar ou Registrar to join the conversation.

Mais
10 anos 9 meses atrás #92099 por Moska007
Moska007 replied the topic: Re: Como botar slideshow em todas as páginas?
Poderia passar a url pra gente analisar melhor

Please Entrar ou Registrar to join the conversation.