Fork me on GitHub




« 1 (2) 3 »


Re: bug entre newbb et le thème XDGlossy_box
Régulier
Inscrit: 31/01/2008 01:30
Messages: 285
Citation :
Nikita a écrit :
Citation :
DragonTribal a écrit :
Forum 4,3 RC 2 (07/07/2012)

XOOPS XOOPS 2.5.5


Et le thème XDGlossy_box, c'est celui d'origine ou tu l'as modifié ?

si tu l'as modifié, peut-on avoir un lien pour le télécharger ?



oui j'ai modifier le thème.

Mon Theme XDGlossy_box

donc le dossier thème/XDGlossy_box avec un dossier news-slide a coller à la racine du site ainsi que deux tables MySQL pour le slide du thème qui n'est plus a écrire dans theme.html mais maintenant dans une table MySQL.


PS: même si je ne trouve pas de solution, un grand merci pour vos contributions.

Cordialement
Dragon

Posté le : 20/05/2013 09:55
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
Cela ne vient pas du thème mais du module(c'est un beug).Pour le résoudre :

Ouvrir le fichier : root/modules/newbb/templates/newbb_thread.html avec un éditeur de texte.

Remplacer vers la ligne 10


Citation :
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$topic_post.post_id}>">#<{$topic_post.post_no}></a>


Par

Citation :
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$topic_post.post_id}>#forumpost<{$topic_post.post_id}>">#<{$topic_post.post_no}></a>


Posté le : 20/05/2013 10:23
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Régulier
Inscrit: 31/01/2008 01:30
Messages: 285
Merci pour la modif, mais cela ne change rien sniffffff

Posté le : 20/05/2013 11:08
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Régulier
Inscrit: 31/01/2008 01:30
Messages: 285
bon j'ai vraiment supprimé le maxi de mon fichier theme.html
jusqu'à viré le css et aussi le JavaScript plus des blocs personnalisé



Mon theme.html original pour mon site:

<!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">
    <!-- 
Assign Theme name -->
    <{
assign var=theme_name value=$xoTheme->folderName}>
   <{
assign var=theme_name value=$xoTheme->folderName|cat:'/xotpl'}>
   
 

    <
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
    <
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
    <
title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{/if}><{$xoops_sitename}></title>
    <
meta name="robots" content="<{$xoops_meta_robots}>" />
    <
meta name="keywords" content="<{$xoops_meta_keywords}>" />
    <
meta name="description" content="<{$xoops_meta_description}>" />
    <
meta name="rating" content="<{$xoops_meta_rating}>" />
    <
meta name="author" content="<{$xoops_meta_author}>" />
    <
meta name="copyright" content="<{$xoops_meta_copyright}>" />
    <
meta name="generator" content="XOOPS" />
    <!-- 
Rss -->
    <
link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" />
    <!-- 
Favicon -->
    <
link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" />
    <
link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" />
    <!-- 
Sheet Css -->
    <
link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" />
    <
link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl css/style.css}>" />
        <!--[if 
lte IE 8]>
        <
link rel="stylesheet" href="<{xoImgUrl css/styleIE8.css}>" type="text/css" />
    <![endif]-->
 <!--
script type="text/javascript">
$(
document).ready(function() {
    
// select all nav items with class 'listitm' and display any links with a title attribute
    // color is set default at blue
    // options include: red, blue, green, yellow, white, black
    
$('li.listitm > a[title]').colorTip({color:'green'});
});
</
script-->
        <
script src="http://test.france-clan.com/themes/XDGlossy_box/js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="http://test.france-clan.com/themes/XDGlossy_box/js/slide.js" type="text/javascript"></script>
<script type="text/javascript" src="<{$xoops_url}>/js/jquery-1.6.1.min"></script>

      <!-- PNG FIX for IE6 -->
      <!-- http://24ways.org/2007/supersleight-t ... nt-png-in-ie6 -->
    <!--[if lte IE 6]>
        <script type="text/javascript" src="js/pngfix/supersleight-min.js"></script>
    <![endif]-->
<!-- jQuery - the core -->
<script>
$(document).ready(function() {
//Lorsque vous cliquez sur un lien de la classe poplight et que le href commence par #
$('a.poplight[href^=#]').click(function() {
    var popID = $(this).attr('rel'); //Trouver la pop-up correspondante
    var popURL = $(this).attr('href'); //Retrouver la largeur dans le href

    //Récupérer les variables depuis le lien
    var query= popURL.split('?');
    var dim= query[1].split('&');
    var popWidth = dim[0].split('=')[1]; //La première valeur du lien

    //Faire apparaitre la pop-up et ajouter le bouton de fermeture
    $('#' + popID).fadeIn().css({
        'width': Number(popWidth)
    })
    .prepend('<a href="#" class="close_slide"><img src="<{$xoops_url}>/images/icone/close_pop.png" class="btn_close" title="Close Window" alt="Close" border="0" /></a>');

    //Récupération du margin, qui permettra de centrer la fenêtre - on ajuste de 80px en conformité avec le CSS
    var popMargTop = ($('#' + popID).height() + 80) / 2;
    var popMargLeft = ($('#' + popID).width() + 80) / 2;

    //On affecte le margin
    $('#' + popID).css({
        'margin-top' : -popMargTop,
        'margin-left' : -popMargLeft
    });

    //Effet fade-in du fond opaque
    $('body').append(''); //Ajout du fond opaque noir
    //Apparition du fond - .css({'filter' : 'alpha(opacity=80)'}) pour corriger les bogues de IE
    $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn();

    return false;
});

//Fermeture de la pop-up et du fond
$('a.close_slide, #fade').live('click', function() { //Au clic sur le bouton ou sur le calque...
    $('#fade , .popup_block').fadeOut(function() {
        $('#fade, a.close_slide').remove();  //...ils disparaissent ensemble
    });
    return false;
});

});
</script>
    <!-- customized header contents -->
    
  
   
</head>
<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>">
<{php}>
                        include_once XOOPS_ROOT_PATH.'/modules/system/blocks/system_blocks.php';
                        $modules = b_system_main_show();
                        $this->assign('defModules', $modules);
                    <{/php}> 
                    <{xoMemberInfo assign=member_info}>
                    <{xoUserInfo assign=member_info_forum}>
                    <{includeq file="$theme_name/login.html"}>
    <div class="clear"></div>


<div id="templatemo_wrapper_outer">
<div id="templatemo_wrapper">
             <!-- debut header  -->
        <div id="templatemo_header">
            <div id="site_title">
                <h1><a href="<{$xoops_url}>"><strong><{$xoops_sitename}></strong><span><{$xoops_slogan}></span></a></h1>
            </div> 
            
            <div id="XDBanner"><{$xoops_banner}></div>

                <ul id="social_box">
                    <li><a href="http://www.facebook.com/AssociationFranceClan"><img src="<{xoImgUrl images/facebook.png}>" alt="facebook" /></a></li>
                    <li><a href="http://battlelog.battlefield.com/bf3/fr/servers/show/79d7d894-2844-4ba3-b730-04015d9de2c3/France-Clan/"><img src="<{xoImgUrl images/logo_bf3_24x24.png}>" alt="Section BF3" /></a></li>
                    <!--li><a href="#"><img src="<{xoImgUrl images/linkedin.png}>" alt="linkin" /></a></li>
                    <li><a href="#"><img src="<{xoImgUrl images/technorati.png}>" alt="technorati" /></a></li>
                    <li><a href="#"><img src="<{xoImgUrl images/myspace.png}>" alt="myspace" /></a></li -->                
                </ul>
            
            <div class="cleaner"></div>
        </div>
        

      
          <div id="templatemo_menu">
           <ul>
                    
                    
                    <li><a href="<{$xoops_url}>" <{if $xoops_dirname == "system"}> class="current"<{/if}>><span>Accueil</span></a></li>
                    <{foreach item=module from=$defModules.modules}>
                    <li><a href="<{$xoops_url}>/modules/<{$module.directory}>/" <{if $xoops_dirname== $module.directory}> class="current"<{/if}> title="<{$module.name}>"><span><{$module.name}></span></a>
                    <{/foreach}>
                    <li>                
                    
                    <input type="button" id="styleslide" value="Slider"  class="current" style="display:inline;padding: 5px 10px 5px 10px;text-align: center;font-weight: bold; color:#FFFFFF;text-decoration: none; border: 1px inset #aaa;-webkit-border-radius: 8px; width: auto; -moz-border-radius: 8px;-khtml-border-radius: 8px;  border-radius: 8px;-moz-box-shadow: 1px 1px 1px #666;-webkit-box-shadow: 1px 1px 1px #666;  box-shadow: 1px 1px 1px #666;text-shadow: rgba(0,0,0, .5) 0px -1px 0px;border-top: inset 1px #ccc; border-left: inset 1px #ccc; border-bottom: solid 1px solid #000; border-right: 1px solid #666;width:100px;position:relative;top:-11px;"/>
</li>

<{if $SCRIPT_NAME == "/index.php"}>


<li>
<input type="button" id="styleacceuil" value="Annonce"  class="current" style="display:inline;padding: 5px 10px 5px 10px;text-align: center;font-weight: bold; color:#FFFFFF;text-decoration: none; border: 1px inset #aaa;-webkit-border-radius: 8px; width: auto; -moz-border-radius: 8px;-khtml-border-radius: 8px;  border-radius: 8px;-moz-box-shadow: 1px 1px 1px #666;-webkit-box-shadow: 1px 1px 1px #666;  box-shadow: 1px 1px 1px #666;text-shadow: rgba(0,0,0, .5) 0px -1px 0px;border-top: inset 1px #ccc; border-left: inset 1px #ccc; border-bottom: solid 1px solid #000; border-right: 1px solid #666;width:100px;position:relative;top:-11px;"/>
</li>
<{/if}>
                </ul>        
           </div>
     

                         
                 <div id="popup" style="display:block"> <div id="templatemo_slider_wrapper">
        
            <div id="templatemo_slider">
            
                <div id="one" class="contentslider">
                    <div class="cs_wrapper">
                        <div class="cs_slider">
                        
                    <{php}>
                    include_once XOOPS_ROOT_PATH.'/news-slide/slide.php';
                    <{/php}>
                      
                        </div>
                    </div>
                </div>
                
                
                   
                </div>
                            <script type="text/javascript" src="<{xoImgUrl js/jquery-1.3.1.min.js}>"></script>
                <script type="text/javascript" src="<{xoImgUrl js/jquery.easing.1.3.js}>"></script>
                <script type="text/javascript" src="<{xoImgUrl js/jquery.ennui.contentslider.js}>"></script>
         
                <script type="text/javascript">
                    $(function() {
                    $('#one').ContentSlider({
                    width : '940px',
                    height : '240px',
                    speed : 400,
                    easing : 'easeOutSine'
                    });
                    });

                </script>
                <script src="<{xoImgUrl js/jquery.chili-2.2.js}>" type="text/javascript"></script>
<script type="text/javascript">
                     $("#styleslide").click(function () {      $("#popup").slideToggle("slow");    });
                    $("#styleacceuil").click(function () {      $("#annonce").slideToggle("slow");    });
                

</script>

                <div class="cleaner"></div>
                
            
        
        </div></div>
        
<div id="templatemo_content_wrapper"> 
<div id="XDcontent">
<{if $SCRIPT_NAME == "/index.php"}>
                    <{php}>
                    include_once XOOPS_ROOT_PATH.'/news-slide/accueil.php';
                    <{/php}>

<{/if}><{includeq file="modules/system/templates/blocks/system_block_online.html"}>
<table cellspacing="0">
    <tr>
        <!-- Start left blocks loop -->
        <{if $xoops_showlblock}>
            <td id="leftcolumn">
            <{foreach item=block from=$xoBlocks.canvas_left}>
                <{includeq file="$theme_name/theme_blockleft.html"}>
            <{/foreach}>
            </td>
        <{/if}>
        <!-- End left blocks loop -->

        <td id="centercolumn">
            <!-- Display center blocks if any -->
            <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
                <table cellspacing="0">
                    <tr>
                        <td id="centerCcolumn" colspan="2">
                        <!-- Start center-center blocks loop -->
                        <{foreach item=block from=$xoBlocks.page_topcenter}>
                            <{includeq file="$theme_name/theme_blockcenter_c.html"}>
                        <{/foreach}>
                        <!-- End center-center blocks loop -->
                        </td>
                    </tr>
                    <tr>
                        <td id="centerLcolumn">
                        <!-- Start center-left blocks loop -->
                        <{foreach item=block from=$xoBlocks.page_topleft}>
                            <{includeq file="$theme_name/theme_blockcenter_l.html"}>
                        <{/foreach}>
                        <!-- End center-left blocks loop -->
                        </td>
                        <td id="centerRcolumn">
                        <!-- Start center-right blocks loop -->
                        <{foreach item=block from=$xoBlocks.page_topright}>
                            <{includeq file="$theme_name/theme_blockcenter_r.html"}>
                        <{/foreach}>
                        <!-- End center-right blocks loop -->
                        </td>
                    </tr>
                </table>
            <{/if}>
            <!-- End center top blocks loop -->

            <!-- Start content module page -->
            <{if $xoops_contents && ($xoops_contents != ' ') }><div id="content"><{$xoops_contents}></div><{/if}>
            <!-- End content module -->

            <!-- Start center bottom blocks loop -->
            <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
                <table cellspacing="0">
                    <{if $xoBlocks.page_bottomcenter}>
                        <tr>
                            <td id="bottomCcolumn" colspan="2">
                            <{foreach from=$xoBlocks.page_bottomcenter item=block}>
                                <{include file="$theme_name/theme_blockcenter_c.html"}>
                            <{/foreach}>
                            </td>
                        </tr>
                    <{/if}>

                    <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
                        <tr>
                            <td id="bottomLcolumn">
                            <{foreach from=$xoBlocks.page_bottomleft item=block}>
                                <{include file="$theme_name/theme_blockcenter_l.html"}>
                            <{/foreach}>
                            </td>

                            <td id="bottomRcolumn">
                            <{foreach from=$xoBlocks.page_bottomright item=block}>
                                <{include file="$theme_name/theme_blockcenter_r.html"}>
                            <{/foreach}>
                            </td>
                        </tr>
                    <{/if}>
                </table>
            <{/if}>
            <!-- End center bottom blocks loop -->
        </td>

        <!-- Start right blocks loop -->
        <{if $xoops_showrblock}>
            <td id="rightcolumn">
            <{foreach item=block from=$xoBlocks.canvas_right}>
                <{includeq file="$theme_name/theme_blockright.html"}>
            <{/foreach}>
            </td>
        <{/if}>
        <!-- End right blocks loop -->
    </tr>
</table>

</div>
</div>
<div id="templatemo_content_wrapper_bottm"></div>
        <div id="templatemo_footer">
             Copyright © 2048 <a href="#">France-Clane</a> |  thème par <a href="userinfo.php?uid=1">DragonTribal</a> by <a href="http://www.templatemo.com" target="_parent">Free CSS Templates <{$xoops_userid}></a><br/><{$xoops_footer}> | Adapted for <a href="http://www.xoops.org" target="_blank">Xoops</a>

       </div>
</div>
</div>





</body>
</html>



Avec un grand ménage :

<!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">
    <!-- 
Assign Theme name -->
</
head>
<
body id="<{$xoops_dirname}>">
<{
includeq file="modules/system/templates/blocks/system_block_online.html"}>
<
table cellspacing="0">
    <
tr>
        <!-- 
Start left blocks loop -->
        <{if 
$xoops_showlblock}>
            <
td id="leftcolumn">
            <{foreach 
item=block from=$xoBlocks.canvas_left}>
                <{
includeq file="$theme_name/theme_blockleft.html"}>
            <{/foreach}>
            </
td>
        <{/if}>
        <!-- 
End left blocks loop -->

        <
td id="centercolumn">
            <!-- 
Display center blocks if any -->
            <{if 
$xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
                <
table cellspacing="0">
                    <
tr>
                        <
td id="centerCcolumn" colspan="2">
                        <!-- 
Start center-center blocks loop -->
                        <{foreach 
item=block from=$xoBlocks.page_topcenter}>
                            <{
includeq file="$theme_name/theme_blockcenter_c.html"}>
                        <{/foreach}>
                        <!-- 
End center-center blocks loop -->
                        </
td>
                    </
tr>
                    <
tr>
                        <
td id="centerLcolumn">
                        <!-- 
Start center-left blocks loop -->
                        <{foreach 
item=block from=$xoBlocks.page_topleft}>
                            <{
includeq file="$theme_name/theme_blockcenter_l.html"}>
                        <{/foreach}>
                        <!-- 
End center-left blocks loop -->
                        </
td>
                        <
td id="centerRcolumn">
                        <!-- 
Start center-right blocks loop -->
                        <{foreach 
item=block from=$xoBlocks.page_topright}>
                            <{
includeq file="$theme_name/theme_blockcenter_r.html"}>
                        <{/foreach}>
                        <!-- 
End center-right blocks loop -->
                        </
td>
                    </
tr>
                </
table>
            <{/if}>
            <!-- 
End center top blocks loop -->

            <!-- 
Start content module page -->
            <{if 
$xoops_contents && ($xoops_contents != ' ') }><div id="content"><{$xoops_contents}></div><{/if}>
            <!-- 
End content module -->

            <!-- 
Start center bottom blocks loop -->
            <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
                <
table cellspacing="0">
                    <{if 
$xoBlocks.page_bottomcenter}>
                        <
tr>
                            <
td id="bottomCcolumn" colspan="2">
                            <{foreach 
from=$xoBlocks.page_bottomcenter item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_c.html"}>
                            <{/foreach}>
                            </
td>
                        </
tr>
                    <{/if}>

                    <{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
                        <
tr>
                            <
td id="bottomLcolumn">
                            <{foreach 
from=$xoBlocks.page_bottomleft item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_l.html"}>
                            <{/foreach}>
                            </
td>

                            <
td id="bottomRcolumn">
                            <{foreach 
from=$xoBlocks.page_bottomright item=block}>
                                <{include 
file="$theme_name/theme_blockcenter_r.html"}>
                            <{/foreach}>
                            </
td>
                        </
tr>
                    <{/if}>
                </
table>
            <{/if}>
            <!-- 
End center bottom blocks loop -->
        </
td>

        <!-- 
Start right blocks loop -->
        <{if 
$xoops_showrblock}>
            <
td id="rightcolumn">
            <{foreach 
item=block from=$xoBlocks.canvas_right}>
                <{
includeq file="$theme_name/theme_blockright.html"}>
            <{/foreach}>
            </
td>
        <{/if}>
        <!-- 
End right blocks loop -->
    </
tr>
</
table>
</
body>
</
html>



Ben toujours pareil, si je clic sur un poste, cela fait com un TOP pour mon navigateur il remonte en haut du site.

Mais avec le thème suico cela fonctionne très bien. La je comprend pas.

Posté le : 20/05/2013 11:33
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
Citation :
DragonTribal a écrit :
Merci pour la modif, mais cela ne change rien sniffffff


As tu vidé tes caches?passe tu tes templates en surecharges?

Posté le : 20/05/2013 11:36
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Régulier
Inscrit: 31/01/2008 01:30
Messages: 285
Oui j'ai vider la Cache, mais je comprend pas ce que tu veux dire par "templates en surcharge".

Posté le : 20/05/2013 11:46
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
Les templates de ton module ne se trouvent pas dans root/themes/XDGlossy_box/modules/newbb?

Posté le : 20/05/2013 11:51
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
Il y a un Problème avec ton module je m'explique : si on regarde ce lien, si tu regardes l'adresse dans #1 il devrait théoriquement avoir l'id 1 hors la tu as l'id 5 et si tu regardes les autres liens en dessous ils ne correspondent pas également avec leur id

Posté le : 20/05/2013 11:57
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Régulier
Inscrit: 31/01/2008 01:30
Messages: 285
Citation :
tatane a écrit :
Les templates de ton module ne se trouvent pas dans root/themes/XDGlossy_box/modules/newbb?



Non pas du tout.

Posté le : 20/05/2013 11:57
Partager Twitter Partagez cette article sur GG+
Re: bug entre newbb et le thème XDGlossy_box
Régulier
Inscrit: 31/01/2008 01:30
Messages: 285
Oui il me semble que ceci est du au module sondage.

Enfin je pense...

EDITE : Mais avec le thème suico sa fonctionne niquel, alors pourquoi pas avec mon thème, même en suppriment 80% du code ? la grande question.

Posté le : 20/05/2013 12:04
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant
« 1 (2) 3 »



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

166 Personne(s) en ligne (118 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 166 | Plus ...