Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

[Resolu]Erreur avec le module NewsSlider
#13

je viens de verifier mes gabarits et il semblerai que tout soit clean, mais je vous laisse tout de meme voir le code :

1- Gabarit page d'accueil :


Code :
[== Indéfini ==]
{process_pagedata}<!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="fr" lang="fr">
<head>
<title>{sitename} - {title}</title>
{metadata}
{cms_stylesheet}
{literal}
<script type="text/javascript" src="/congo/uploads/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/congo/uploads/js/jquery.cycle.all.min.js"></script>
<script type="text/javascript">
$(document).ready(function($){
    $('#slideshow').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 3000,
        pager:  '#slider_nav',
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '#slider_nav li:eq(' + (idx) + ') a';
        }
    });
});
</script>
<script type="text/javascript" src="/congo/uploads/js/jquery.accessible-news-slider.js"></script>

<script type="text/javascript">
// when the DOM is ready, convert the feed anchors into feed content
jQuery(document).ready(function($) {

    jQuery('#newsslider').accessNews({
    
    });

    jQuery('#newsslider2').accessNews({
        title : "BREAKING NEWS:",
        subtitle:"stories from the internet",
        speed : "slow",
        slideBy : 4,
        slideShowInterval: 100000,
        slideShowDelay: 100000
    });

});
</script>
{/literal}
</head>
<body>
<div id="wrap">
    <div class="top_corner"></div>
    <div id="main_container">
    
        <div id="header">
              
           <div class="anim">
             <img src="uploads/images/ban2.gif" />
          </div>
            
              <div class="clear"></div>
        
              <div class="menu">
                <ul>                                                                                            
                    <li>{cms_selflink page="accueil"}</li>
                    <li>{cms_selflink page="formations"}</li>
                    <li>{cms_selflink page="conseils-assistance"}</li>
                    <li>{cms_selflink page="news"}</li>
                    <li>{cms_selflink page="telechargements"}</li>
                    <li>{cms_selflink page="depot-de-cv"}</li>
                    <li>{cms_selflink page="galerie"}</li>
                    <li>{cms_selflink page="contact"}</li>
                </ul>
            </div>
           <div class="clr"></div>        
        </div>
        
        
        <div class="slider">              
          
               <!-- start slideshow -->
        <div id="slideshow">
          <div class="slider-item"><a href="#"><img src="/congo/uploads/images/simple_img_1.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
          <div class="slider-item"><a href="#"><a href="#"><img src="/congo/uploads/images/simple_img_2.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
          <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_3.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
          <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_4.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
         <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_5.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
         <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_6.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
         <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_7.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
         <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_8.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
        <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_9.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
        <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_10.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
        <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_11.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
        <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_12.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
        <div class="slider-item"><a href="#"><img src="/congo/uploads/slides/simple_img_13.jpg" alt="icon" width="665" height="280" border="0" /></a></div>
        </div>
        <!-- end #slideshow -->
        <div class="marquee">
         <div class="info">Flash Info</div>
        
         <div class="infotexte">
         <marquee  behavior="scroll" direction="UP" scrollamount="3" scrolldelay="0" onmouseover="this.stop()" onmouseout="this.start()" width="250" bgcolor="white">
       <div class="home_sub1">
          {news category="Flash Info" summarytemplate="info"  detailpage="flash-info" detailtemplate="newsDetail" sortby="news_date"}
       </div><br/>
        </marquee>
         </div>
        
        </div>
        
        </div><!---------------------------------end of middle banner-------------------------------->
         <div class="controls-center">
                  
          <div id="slider_controls">
            <ul id="slider_nav">
              <li><a href="#"></a></li>
              <!-- Slide 1 -->
              <li><a href="#"></a></li>
              <!-- Slide 2 -->
              <li><a href="#"></a></li>
              <!-- Slide 3 -->
              <li><a href="#"></a></li>
              <!-- Slide 4 -->
            </ul>
          </div>
        </div>
        <div class="clr"></div>
        
        <div class="center_content">
        
        
        
  <div class="home_section_left1">
            <img src="/congo/uploads/images/glob3.gif" alt="" title="" class="home_section_icon" border="0">
                            
                <h2 class="home_title">Qui sommes-nous!</h2>
                
              <div class="home_sub">  
                 <p>{content}</p>
                  </div>  
      
                  
        <div class="clear"></div>
        </div>
        
        
        <div class="home_section_left">
       <h2>News et actualité</h2>
       <!-- News  dynamique -->
        {news lang="fr_FR" category="news" summarytemplate="slide_01" detailpage="actualites" detailtemplate="newsDetail" moretext="Lire la suite ..."}
        <!-- End News  dynamique -->

      
        <div class="clear"></div>
        </div>
        
  <div class="home_section_left2">
            <img src="uploads/images/icon3.gif" alt="" title="" class="home_section_icon" border="0">
                            
                <h2 class="home_title">Nos formations</h2>
        <div class="home_sub">  
<div class="home_news">
                <a href="{cms_selflink href='gestion-de-bureau-et-administration-pour-assistants-administratifs-et-secretaires-de-directions'}">Gestion de Bureau et Administration pour assistants administratifs et secrétaires de direction</a>
                <a href="{cms_selflink href='administration-et-gestion-des-organisations'}">Administration et gestion des organisations locales</a>
                <a href="{cms_selflink href='repondre-efficacement-a-un-appel-d-offres-des-marches-publics'}">Comment répondre efficacement à un appel d'offres des marchés publics</a>
                <a href="{cms_selflink href='finances-pour-managers-non-financiers'}">Finances pour les managers non financiers</a>
                <a href="{cms_selflink href='renforcement-des-capacites-de-planification-des-elus-locaux'}">Renforcement des capacités de planification des élus locaux</a>
                <a href="{cms_selflink href='formation-en-passation-des-marches-travaux-fournitures-et-services'}">Formation en Passation des marchés publics : travaux, fournitures et services</a>
                <a href="{cms_selflink href='femme-et-leadership'}">Management et leadership des femmes</a>
                <a href="{cms_selflink href='la-gestion-axee-sur-les-resultats-approche-outils-et-techniques'}">La gestion axée sur les résultats : approche, outils et techniques</a>
                <a href="{cms_selflink href='assurer-la-fonction-d-assistant-e-de-direction'}">Assurer la fonction d'assistant de direction</a>
                

                </div>
                  </div>
      <a href="{cms_selflink href='formations'}" class="more"><img src="/congo/uploads/images/more.gif" alt="" title="" border="0"></a>          
        <div class="clear"></div>
        </div>  

        
    
          <div class="left_block_wide">
               <div class="title_galerie">Visitez nos galéries</div>
                
                <a href="{cms_selflink href='galerie'}"><img src="/congo/uploads/images/p1.jpg" alt="" title="" border="0" class="projects" /></a>
                <a href="{cms_selflink href='galerie'}"><img src="/congo/uploads/images/p2.jpg" alt="" title="" border="0" class="projects" /></a>
                <a href="{cms_selflink href='galerie'}"><img src="/congo/uploads/images/p3.jpg" alt="" title="" border="0" class="projects" /></a>
                <a href="{cms_selflink href='galerie'}"><img src="/congo/uploads/images/p4.jpg" alt="" title="" border="0" class="projects" /></a>
                
            
            
            </div>
          <div class="clear"></div>
        </div>
        <div class="clear"></div>
        <div class="footer">
            <div class="footer_resize">
      <div class="info1">FORMATION – CONSEIL – ASSISTANCE TECHNIQUE</div>
      <p class="leftt">www.iprc-training.org | Email: iprc@iprc-training.org<br />
      Tél.: +242 06 636 28 38 / +242 05 750 56 07 / +242 06 992 04 91/+242 06 600 06 22<br />
       7éme Etage Immeuble CNSS - Pharmacie MAVRE | B.P. : 537 Brazzaville République du Congo</p>
      
        <p class="right">© Copyright iprc 2011. All Rights Reserved. <a href="{cms_selflink href='accueil'}"><br />
        Accueil</a> | <a href="{cms_selflink href='depot-de-cv'}">Depôt de CV</a> | <a href="http://webmail.iprc-training.org/" target="_blank">Webmail </a>| <a href="http://www.iprc-training.org/admin" target="_blank">Accès membre</a> | <a href="{cms_selflink href='contact'}">Contact </a></p>
      <div class="clr"></div>
    </div>
    <div class="clr"></div>
        </div>
      
      
    
    </div>
</div>
</body>
</html>

2- Gabarit 2
Code :
[== Indéfini ==]
{process_pagedata}<!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="fr" lang="fr">  
<head>
<title>{sitename} - {title}</title>
{metadata}
{cms_stylesheet}
</head>
<body>
<body>
<div class="main">
<div class="top_corner"></div>
  <div class="main_resize">
    <div class="header">
      
<div class="header-bg">
<div id="logo"> </div>
</div>
      <div class="clr"></div>
      <div class="menu">
              <ul>                                                                                            
                    <li>{cms_selflink page="accueil" class="current"}</li>
                    <li>{cms_selflink page="formations" class="nav"}</li>
                    <li>{cms_selflink page="conseils-assistance" class="nav"}</li>
                    <li>{cms_selflink page="news" class="nav"}</li>
                    <li>{cms_selflink page="telechargements" class="nav"}</li>
                    <li>{cms_selflink page="depot-de-cv" class="nav"}</li>
                    <li>{cms_selflink page="galerie" class="nav"}</li>
                    <li>{cms_selflink page="contact" class="nav"}</li>
                </ul>
      </div>
      <div class="click">
        
      </div>
      <div class="clr"></div>
    </div>
    <div class="clr"></div>
     <div class="fil_ariane">
<p><strong>{breadcrumbs starttext='Vous êtes ici'  root= 'accueil'  delimiter = '&raquo;'}</strong></p>
     </div>
    <div class="main_left">
        
      <ul id="flyout" style="position: relative; z-index : 2;">
        <div class="titre_formation"><h2>Nos formations</h2></div>
        <li><a href="{cms_selflink href="mdp"}"><b>Management des Projets</b></a> </li>
        <li><a href="{cms_selflink href="mo"}"><b>Management des Organisations</b></a> </li>
        <li><a href="{cms_selflink href="gmp"}"><b>Gestion des Marchés Publics</b></a> </li>
        <li><a href="{cms_selflink href="grh"}"><b>Management des RH</b></a> </li>
        <li><a href="{cms_selflink href="gsm"}"><b>Gestion du Service Marketing</b></a> </li>
        <li><a href="{cms_selflink href="pdg"}"><b>Promotion  de la Gouvernance</b></a> </li>
        <li><a href="{cms_selflink href="ep"}"><b>Efficacité Professionnelle</b></a> </li>
        <li><a href="{cms_selflink href="lt"}"><b>Logistique et transport</b></a> </li>
           </ul>


<div class="clr"></div>
<div class="clr"></div>
      <div class="colG">
      <div class="titre1">Témoignage</div>
      <p><img src="uploads/images/test.gif" alt="picture" width="15" height="14" class="floated"></p>
      <p><em><strong>En construction</strong> </em></p>
      
      
      </div>
      
<div class="colG1">
      <div class="titre1">D'où viennent nos participants</div>
<p><img src="uploads/images/test.gif" alt="picture" width="15" height="14" class="floated" /></p>
       <p><em><strong>En construction</strong></em></p>
      </div>
      <div class="clr"></div>
    </div>
    <div class="main_right">
      <div class="clr"></div>
      <div class="right_text">
      
      </div>
      <div class="clr"></div>
      <h1><span>{$friendly_position}</span>  {title}</h1>
      <p>{content}</p>
    </div>
    <div class="clr"></div>
  </div>
  <div class="footer">
    <div class="footer_resize">
        <div class="info1">FORMATION – CONSEIL – ASSISTANCE TECHNIQUE</div>
      <p class="leftt">www.iprc-training.org | Email: iprc@iprc-training.org<br />
      Tél.: +242 06 636 28 38 / +242 05 750 56 07 / +242 06 992 04 91/+242 06 600 06 22<br />
       7éme Etage Immeuble CNSS - Pharmacie MAVRE | B.P. : 537 Brazzaville République du Congo</p>
      
        <p class="right">© Copyright iprc 2011. All Rights Reserved. <a href="#"><br />
        Accueil</a> | <a href="#">Depôt de CV</a> | <a href="#">Webmail </a>| <a href="#">Accès membre</a> | <a href="#">Contact </a></p>
      <div class="clr"></div>
    </div>
    <div class="clr"></div>
  </div>
</div>
</body>
</html>




3- Gabarit 3
Code :
[== Indéfini ==]
{process_pagedata}<!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="fr" lang="fr">
<head>
<title>{sitename} - {title}</title>
{metadata}
{cms_stylesheet}
{literal}
<script src="/congo/uploads/js/jquery.min.js"></script>
<script src="/congo/uploads/js/jquery-ui.min.js"></script>
<script>
$(document).ready(function() {
$("#tabs").tabs();
});
</script>
{/literal}
</head>
<body>
<div class="main">
  <div class="main_resize">
    <div class="header">
      
<div class="header-bg">
<div id="logo"></div>
</div>
      <div class="clr"></div>
             <div class="menu">
                <ul>                                                                                            
                    <li>{cms_selflink page="accueil" class="current"}</li>
                    <li>{cms_selflink page="formations" class="nav"}</li>
                    <li>{cms_selflink page="conseils-assistance" class="nav"}</li>
                    <li>{cms_selflink page="news" class="nav"}</li>
                    <li>{cms_selflink page="telechargements" class="nav"}</li>
                    <li>{cms_selflink page="galerie" class="nav"}</li>
                    <li>{cms_selflink page="contact" class="nav"}</li>
                </ul>
            </div>
   <div class="clr"></div>
    </div>
    <div class="clr"></div>
    <div class="fil_ariane">
<p><strong>{breadcrumbs starttext='Vous êtes ici'  root= 'accueil'  delimiter = '&raquo;'}</strong></p>
     </div>
    <div class="main_left">
        
      <ul id="flyout" style="position: relative; z-index : 2;">
        <div class="titre_formation"><h2>Nos formations</h2></div>
        <li><a href="{cms_selflink href="mdp"}"><b>Management des Projets</b></a> </li>
        <li><a href="{cms_selflink href="mo"}"><b>Management des Organisations</b></a> </li>
        <li><a href="{cms_selflink href="gmp"}"><b>Gestion des Marchés Publics</b></a> </li>
        <li><a href="{cms_selflink href="grh"}"><b>Management des RH</b></a> </li>
        <li><a href="{cms_selflink href="gsm"}"><b>Gestion du Service Marketing</b></a> </li>
        <li><a href="{cms_selflink href="pdg"}"><b>Promotion  de la Gouvernance</b></a> </li>
        <li><a href="{cms_selflink href="ep"}"><b>Efficacité Professionnelle</b></a> </li>
        <li><a href="{cms_selflink href="lt"}"><b>Logistique et transport</b></a> </li>
           </ul>
        
<div class="clr"></div>
      <div class="colG">
      <div class="titre1">Nos participants témoignent</div>
      <p><img src="/congo/uploads/images/test.gif" alt="picture" width="15" height="14" class="floated" /></p>
      <p><em><strong>En construction</strong></em></p>
    
      
      </div>
      

<div class="colG1">
      <div class="titre1">D'où viennent nos participants</div>
       <p><em><strong>En construction</strong></em></p>
      </div>
    
      <div class="clr"></div>
    </div>
    <div class="main_right">
      <div class="right_text">
      
      </div>
      <div class="clr"></div>
      
       <div id="tabs">
<ul>
<li><a href="#tabs-1">Détail de la formation</a></li>
<li><a href="#tabs-2">Télécharger le document</a></li>
<li><a href="#tabs-3">Inscription</a></li>
</ul>
<div id="tabs-1">
<p>
{content}</p>
</div>
<div id="tabs-2">
<p>
{content block="Telecharger"}
</p>
</div>
<div id="tabs-3">
<p>
{content block="Inscription"}
</p>
</div>
</div>
      
    </div>
    <div class="clr"></div>
  </div>
  <div class="footer">
    <div class="footer_resize">
      <div class="info1">FORMATION – CONSEIL – ASSISTANCE TECHNIQUE</div>
      <p class="leftt">www.iprc-training.org | Email: iprc@iprc-training.org<br />
      Tél.: +242 06 636 28 38 / +242 05 750 56 07 / +242 06 992 04 91/+242 06 600 06 22<br />
       7éme Etage Immeuble CNSS - Pharmacie MAVRE | B.P. : 537 Brazzaville République du Congo</p>
      
        <p class="right">© Copyright iprc 2011. All Rights Reserved. <a href="#"><br />
        Accueil</a> | <a href="#">Depôt de CV</a> | <a href="#">Webmail </a>| <a href="#">Accès membre</a> | <a href="#">Contact </a></p>
      <div class="clr"></div>
    </div>
    <div class="clr"></div>
  </div>
</div>

</body>
</html>
Répondre


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 2 visiteur(s)