Fork me on GitHub




(1) 2 »


Insertion flash dans theme "alkhir kids"
Newbie
Inscrit: 17/10/2004 12:10
Messages: 9
Bonjour à tous,

Je re-débute sur xoops et j'ai un problème pour insérer mon fichier swf dans le header de ma page.

J'utilise le theme alkhir kids (http://www.xoops-theme.com/modules/myalbum/photo.php?lid=266) et je voudrais remplacer l'image du header (avec le panda) par un swf et je n'y arrive pas.

J'ai tenter de modifier le code dans le fichier theme.html en ajoutant entre les balises <td> :
<table cellspacing="0" id="top">
<tr><td class="slogan" colspan="2"><{$xoops_slogan}></td></tr>
<tr id="header">
<td id="headerlogo">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/sh ... ash/swflash.cab#version=6,0,0,0" WIDTH="500" HEIGHT="110" id="logo" ALIGN="">
<PARAM NAME=movie VALUE="<{$xoops_imageurl}>logo.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="<{$xoops_imageurl}>logo.swf" quality=high bgcolor=#FFFFFF WIDTH="500" HEIGHT="110" NAME="logo" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflash ... /EMBED></OBJECT>
</td>


mais ça ne fonctionne pas...

Merci de votre aide

Posté le : 13/03/2012 12:29

TC
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Team FrXoops
Inscrit: 14/05/2004 22:32
Messages: 2554
Bonjour
plusieurs remarque:
- Certaines balises ne sont pas fermée correctement
- Il manque des délimiteurs double quote de chaînes notamment sur la deuxième url et les value="" et name=""
- <{$xoops_imageurl}> si je me souviens bien n'a pas le dernier slash, il faut donc l'ajouter <{$xoops_imageurl}>/logo.swf

<table cellspacing="0" id="top">
  <
tr>
    <
td class="slogan" colspan="2">
      <{
$xoops_slogan}>
    </
td>
  </
tr>
  <
tr id="header">
    <
td id="headerlogo">
      <
OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
              
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6" 
              
WIDTH="500" HEIGHT="110" id="logo" ALIGN="">
        <
PARAM NAME="movie"   VALUE="<{$xoops_imageurl}>/logo.swf">
        <
PARAM NAME="quality" VALUE="high">
        <
PARAM NAME="bgcolor" VALUE="#FFFFFF">
        <
EMBED src="<{$xoops_imageurl}>/logo.swf" quality="high" bgcolor="#FFFFFF" 
               
WIDTH="500" HEIGHT="110" NAME="logo" ALIGN="" 
               
TYPE="application/x-shockwave-flash" 
               
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer%22%3E%3C/EMBED%3E%3C/OBJECT%3E">
        </
EMBED>
      </
OBJECT>
    </
td>
  </
tr>
</
table>


Si je n'ai rien oublié, ça devrait être un peu mieux.


J'ai indenté et mis quelques retours à la ligne pour une meilleure lecture, ça ne devrait pas gêner l’interprétation par le navigateur., et il est plus facile de détecter des balises ou des doubles cotes manquantes.

JJDai

Posté le : 13/03/2012 13:29

Ne pas perdre patience, même si cela semble impossible, c'est déjà de la patience.
Origami
Conseil des Sages
Sur gitHub
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Newbie
Inscrit: 17/10/2004 12:10
Messages: 9
Merci de ta réponse.

J'ai recopié ton code et j'ai mis dans ma page theme.html mais ça ne change rien...

Je te copie tout mon code de page :

<!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="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<!-- 
Theme name -->
    <{
assign var=theme_name value=$xoTheme->folderName}>
<!-- 
Directory html files -->
    <{
assign var=theme_name value=$xoTheme->folderName|cat:'/xotpl'}>
<!-- 
Title and meta -->
    <
title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title>
    <
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />    
    <
meta name="robots" content="<{$xoops_meta_robots}>" />
  <
meta name="keywords" content="<{if $xoops_pagetitle !=''}><{$xoops_pagetitle}>, <{/if}><{$xoops_meta_keywords}>" />
    <
meta name="description" content="<{if $xoops_pagetitle !=''}><{$xoops_pagetitle}>, <{/if}><{$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-theme.com" />
    
<!-- 
Rss -->
<
link rel="alternate" type="application/rss+xml" title="RSS Feed" 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/icon.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}>" />
    
    <{
$xoops_module_header}>
<
script src="http://impressthemes.xoops-theme.com/JS/jquery-1.3.2.min.js"></script>
<script src="http://impressthemes.xoops-theme.com/JS/jquery.tools.min.js"></script>
</head>
<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>">
  <noscript><h1><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}><{/if}></h1></noscript>
<div id="xo-canvas">
        
    <div id="top">
        
        <div id="logo">

            <!--<h1><a href="<{xoAppUrl }>">Xoops Land </a></h1>
            <p> free themes for <a href="http://www.xoops.org/">XOOPS CMS</a></p>-->
        </div>
        
        <div id="login-form">
            <!-- User Bar -->
        <{includeq file="$theme_name/xouserbar.html"}>
        </div>
        <!-- end #search -->
      </div>
  <!-- Start header -->
    <div id="header">

    </div> 
  
  <!-- Navigation Menu -->
      <div id="menu">
        <ul>
            <li><a href="<{xoAppUrl }>">Home</a></li>
            <li><a href="<{xoAppUrl modules/news/}>">Baby's astuces</a></li>
            <li><a href="<{xoAppUrl modules/extgallery}>">Photos</a></li>
            <li><a href="<{xoAppUrl modules/newbb/}>">Discution</a></li>
            <li><a href="<{xoAppUrl modules/mytube/}>">Videos</a></li>
            <li><a href="<{xoAppUrl modules/contact/}>">Contact</a></li>
        </ul>
    </div> 
  <!-- End header -->
  
  <table id="xo-canvas-content" cellspacing="0">
    <tr > 
        <!-- Start left blocks loop -->
          <{if $xoops_showlblock}>
                    <td id="xo-canvas-leftcolumn">
                    <{foreach item=block from=$xoBlocks.canvas_left}>
                    <{includeq file="$theme_name/theme_blockleft.html"}>
                    <{/foreach}>         
                     </td>
         <{/if}>
        <!-- End left blocks loop -->

    <td id="xo-page">
        
        <table cellspacing="0" id="top">
    <tr><td class="slogan" colspan="2"><{$xoops_slogan}></td></tr>
    <table cellspacing="0" id="top"> 
  <tr> 
    <td class="slogan" colspan="2"> 
      <{$xoops_slogan}> 
    </td> 
  </tr> 
  <tr id="header"> 
    <td id="headerlogo"> 
      <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  
              codebase="http://download.macromedia.com/pub/sh ... ash/swflash.cab#version=6,0,0,0" 
              WIDTH="500" HEIGHT="110" id="logo" ALIGN=""> 
        <PARAM NAME="movie"   VALUE="<{$xoops_imageurl}>/header.swf"> 
        <PARAM NAME="quality" VALUE="high"> 
        <PARAM NAME="bgcolor" VALUE="#FFFFFF"> 
        <EMBED src="<{$xoops_imageurl}>/header.swf" quality="high" bgcolor="#FFFFFF"  
               WIDTH="500" HEIGHT="110" NAME="logo" ALIGN=""  
               TYPE="application/x-shockwave-flash"  
               PLUGINSPAGE="http://www.macromedia.com/go/getflash"> 
        </EMBED> 
      </OBJECT> 
    </td> 
  </tr> 
</table>
        <!-- Start center top blocks loop -->
        <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
        <table  id="xo-topblocks" cellspacing="0">
            <tr>
                    <td id="xo-topcenterblocks" colspan="2">
                    <{foreach item=block from=$xoBlocks.page_topcenter}>
                    <{includeq file="$theme_name/theme_blockcenter_c.html"}>
                    <{/foreach}>
                    </td>
            </tr>
            <tr>
                    <td id="xo-topleftblocks">
                    <{foreach item=block from=$xoBlocks.page_topleft}>
                    <{includeq file="$theme_name/theme_blockcenter_l.html"}>
                    <{/foreach}>
                    </td>
                    
                    <td id="xo-toprightblocks">
                    <{foreach item=block from=$xoBlocks.page_topright}>
                    <{includeq file="$theme_name/theme_blockcenter_r.html"}>
                    <{/foreach}>
                    </td>
            </tr>
        </table>
        <{/if}>
        <!-- End center top blocks loop -->
        
        <!-- Start content module page -->
        <div id="xo-content"><{$xoops_contents}></div>
        <!-- End content module -->
    
        <!-- Start center bottom blocks loop -->
        <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
        <table id="xo-bottomblocks" cellspacing="0">
        <{if $xoBlocks.page_bottomcenter}>
        <tr>
                <td id="xo-bottomcenterblocks" 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="xo-bottomleftblocks">
                <{foreach from=$xoBlocks.page_bottomleft item=block}>
                <{include file="$theme_name/theme_blockcenter_l.html"}>
                <{/foreach}>
                </td>
                
                <td id="xo-bottomrightblocks">
                <{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="xo-canvas-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>
  <!-- Start footer -->
<div id="footer">
    <p>&nbsp;</p>
</div>
  <!-- end Footer -->
</body>
</html>

Posté le : 13/03/2012 13:36

TC
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Newbie
Inscrit: 17/10/2004 12:10
Messages: 9
En fait ma bannière swf ne s'affiche pas en haut de ma page et à la place j'ai un blanc.

Merci encore de votre aide

Posté le : 13/03/2012 13:38

TC
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Team FrXoops
Inscrit: 14/05/2004 22:32
Messages: 2554
Ton fichier logo.swf est bien à la racine du site?
JDai

Posté le : 13/03/2012 13:38

Ne pas perdre patience, même si cela semble impossible, c'est déjà de la patience.
Origami
Conseil des Sages
Sur gitHub
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Team FrXoops
Inscrit: 14/05/2004 22:32
Messages: 2554
C'est un peu le souque avec les balises
J'essaie de reformater un peu tout ca, mais je ne peu pas le tester d'ou je suis.
JJDai

Posté le : 13/03/2012 13:41

Ne pas perdre patience, même si cela semble impossible, c'est déjà de la patience.
Origami
Conseil des Sages
Sur gitHub
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Team FrXoops
Inscrit: 14/05/2004 22:32
Messages: 2554
Tu pourrais me mettre le code HTML de l'original, je ne peux pas le télécharger ICI.
JJDai

Posté le : 13/03/2012 13:44

Ne pas perdre patience, même si cela semble impossible, c'est déjà de la patience.
Origami
Conseil des Sages
Sur gitHub
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Newbie
Inscrit: 17/10/2004 12:10
Messages: 9
Mon logo est bien à la racine et dans le dossier images

Voici le code de la page originale :

<!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="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<!-- 
Theme name -->
    <{
assign var=theme_name value=$xoTheme->folderName}>
<!-- 
Directory html files -->
    <{
assign var=theme_name value=$xoTheme->folderName|cat:'/xotpl'}>
<!-- 
Title and meta -->
    <
title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title>
    <
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />    
    <
meta name="robots" content="<{$xoops_meta_robots}>" />
  <
meta name="keywords" content="<{if $xoops_pagetitle !=''}><{$xoops_pagetitle}>, <{/if}><{$xoops_meta_keywords}>" />
    <
meta name="description" content="<{if $xoops_pagetitle !=''}><{$xoops_pagetitle}>, <{/if}><{$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-theme.com" />
    
<!-- 
Rss -->
<
link rel="alternate" type="application/rss+xml" title="RSS Feed" 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/icon.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}>" />
    
    <{
$xoops_module_header}>
<
script src="http://impressthemes.xoops-theme.com/JS/jquery-1.3.2.min.js"></script>
<script src="http://impressthemes.xoops-theme.com/JS/jquery.tools.min.js"></script>
</head>
<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>">
  <noscript><h1><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}><{/if}></h1></noscript>
<div id="xo-canvas">
        
    <div id="top">
        
        <div id="logo">

            <!--<h1><a href="<{xoAppUrl }>">Xoops Land </a></h1>
            <p> free themes for <a href="http://www.xoops.org/">XOOPS CMS</a></p>-->
        </div>
        
        <div id="login-form">
            <!-- User Bar -->
        <{includeq file="$theme_name/xouserbar.html"}>
        </div>
        <!-- end #search -->
      </div>
    
  <!-- Start header -->
    <div id="header">
    </div> 
  
  <!-- Navigation Menu -->
      <div id="menu">
        <ul>
            <li><a href="<{xoAppUrl }>">Home</a></li>
            <li><a href="<{xoAppUrl modules/news/}>">News</a></li>
            <li><a href="<{xoAppUrl modules/extgallery}>">Photos</a></li>
            <li><a href="<{xoAppUrl modules/newbb/}>">Forum</a></li>
            <li><a href="<{xoAppUrl modules/mytube/}>">Videos</a></li>
            <li><a href="<{xoAppUrl modules/contact/}>">Contact</a></li>
        </ul>
    </div> 
  <!-- End header -->
  
  <table id="xo-canvas-content" cellspacing="0">
    <tr > 
        <!-- Start left blocks loop -->
          <{if $xoops_showlblock}>
                    <td id="xo-canvas-leftcolumn">
                    <{foreach item=block from=$xoBlocks.canvas_left}>
                    <{includeq file="$theme_name/theme_blockleft.html"}>
                    <{/foreach}>         
                     </td>
         <{/if}>
        <!-- End left blocks loop -->

    <td id="xo-page">
        <!-- Start center top blocks loop -->
        <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
        <table  id="xo-topblocks" cellspacing="0">
            <tr>
                    <td id="xo-topcenterblocks" colspan="2">
                    <{foreach item=block from=$xoBlocks.page_topcenter}>
                    <{includeq file="$theme_name/theme_blockcenter_c.html"}>
                    <{/foreach}>
                    </td>
            </tr>
            <tr>
                    <td id="xo-topleftblocks">
                    <{foreach item=block from=$xoBlocks.page_topleft}>
                    <{includeq file="$theme_name/theme_blockcenter_l.html"}>
                    <{/foreach}>
                    </td>
                    
                    <td id="xo-toprightblocks">
                    <{foreach item=block from=$xoBlocks.page_topright}>
                    <{includeq file="$theme_name/theme_blockcenter_r.html"}>
                    <{/foreach}>
                    </td>
            </tr>
        </table>
        <{/if}>
        <!-- End center top blocks loop -->
        
        <!-- Start content module page -->
        <div id="xo-content"><{$xoops_contents}></div>
        <!-- End content module -->
    
        <!-- Start center bottom blocks loop -->
        <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
        <table id="xo-bottomblocks" cellspacing="0">
        <{if $xoBlocks.page_bottomcenter}>
        <tr>
                <td id="xo-bottomcenterblocks" 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="xo-bottomleftblocks">
                <{foreach from=$xoBlocks.page_bottomleft item=block}>
                <{include file="$theme_name/theme_blockcenter_l.html"}>
                <{/foreach}>
                </td>
                
                <td id="xo-bottomrightblocks">
                <{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="xo-canvas-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>
  <!-- Start footer -->
<div id="footer">
    <p>&nbsp;</p>
</div>
  <!-- end Footer -->
</body>
</html>

Posté le : 13/03/2012 14:07

TC
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Team FrXoops
Inscrit: 14/05/2004 22:32
Messages: 2554
A mon avis ce serait plus quelque chose comme ça, mais comme je ne peux pas le tester, je vérifierai ce soir.

<!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="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<!-- 
Theme name -->
    <{
assign var=theme_name value=$xoTheme->folderName}>
<!-- 
Directory html files -->
    <{
assign var=theme_name value=$xoTheme->folderName|cat:'/xotpl'}>
<!-- 
Title and meta -->
    <
title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title>
    <
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />    
    <
meta name="robots" content="<{$xoops_meta_robots}>" />
  <
meta name="keywords" content="<{if $xoops_pagetitle !=''}><{$xoops_pagetitle}>, <{/if}><{$xoops_meta_keywords}>" />
    <
meta name="description" content="<{if $xoops_pagetitle !=''}><{$xoops_pagetitle}>, <{/if}><{$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-theme.com" />
    
<!-- 
Rss -->
<
link rel="alternate" type="application/rss+xml" title="RSS Feed" 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/icon.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}>" />
    
    <{
$xoops_module_header}>
<
script src="http://impressthemes.xoops-theme.com/JS/jquery-1.3.2.min.js"></script>
<script src="http://impressthemes.xoops-theme.com/JS/jquery.tools.min.js"></script>
</head>
<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>">
  <noscript><h1><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}><{/if}></h1></noscript>
<div id="xo-canvas">
        
    <div id="top">
        
        <div id="logo">

            <!--<h1><a href="<{xoAppUrl }>">Xoops Land </a></h1>
            <p> free themes for <a href="http://www.xoops.org/">XOOPS CMS</a></p>-->
            
        <!--  ************** Ajout du flsh de l entete ******************  -->            
        <table cellspacing="0" id="top">
          <tr>
            <td class="slogan" colspan="2">
              <{$xoops_slogan}>
            </td>
          </tr>
          <tr id="header">
            <td id="headerlogo">
              <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
                      codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6" 
                      WIDTH="500" HEIGHT="110" id="logo" ALIGN="">
                <PARAM NAME="movie"   VALUE="<{$xoops_imageurl}>/logo.swf">
                <PARAM NAME="quality" VALUE="high">
                <PARAM NAME="bgcolor" VALUE="#FFFFFF">
                <EMBED src="<{$xoops_imageurl}>/logo.swf" quality="high" bgcolor="#FFFFFF" 
                       WIDTH="500" HEIGHT="110" NAME="logo" ALIGN="" 
                       TYPE="application/x-shockwave-flash" 
                       PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer%22%3E%3C/EMBED%3E%3C/OBJECT%3E">
                </EMBED>
              </OBJECT>
            </td>
          </tr>
        </table>            
        <!--  ********************************************************  -->    
            
        </div>
        
        <div id="login-form">
            <!-- User Bar -->
        <{includeq file="$theme_name/xouserbar.html"}>
        </div>
        <!-- end #search -->
      </div>
    
  <!-- Start header -->
    <div id="header">
    </div> 
  
  <!-- Navigation Menu -->
      <div id="menu">
        <ul>
            <li><a href="<{xoAppUrl }>">Home</a></li>
            <li><a href="<{xoAppUrl modules/news/}>">News</a></li>
            <li><a href="<{xoAppUrl modules/extgallery}>">Photos</a></li>
            <li><a href="<{xoAppUrl modules/newbb/}>">Forum</a></li>
            <li><a href="<{xoAppUrl modules/mytube/}>">Videos</a></li>
            <li><a href="<{xoAppUrl modules/contact/}>">Contact</a></li>
        </ul>
    </div> 
  <!-- End header -->
  
  <table id="xo-canvas-content" cellspacing="0">
    <tr > 
        <!-- Start left blocks loop -->
          <{if $xoops_showlblock}>
                    <td id="xo-canvas-leftcolumn">
                    <{foreach item=block from=$xoBlocks.canvas_left}>
                    <{includeq file="$theme_name/theme_blockleft.html"}>
                    <{/foreach}>         
                     </td>
         <{/if}>
        <!-- End left blocks loop -->

    <td id="xo-page">
        <!-- Start center top blocks loop -->
        <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
        <table  id="xo-topblocks" cellspacing="0">
            <tr>
                    <td id="xo-topcenterblocks" colspan="2">
                    <{foreach item=block from=$xoBlocks.page_topcenter}>
                    <{includeq file="$theme_name/theme_blockcenter_c.html"}>
                    <{/foreach}>
                    </td>
            </tr>
            <tr>
                    <td id="xo-topleftblocks">
                    <{foreach item=block from=$xoBlocks.page_topleft}>
                    <{includeq file="$theme_name/theme_blockcenter_l.html"}>
                    <{/foreach}>
                    </td>
                    
                    <td id="xo-toprightblocks">
                    <{foreach item=block from=$xoBlocks.page_topright}>
                    <{includeq file="$theme_name/theme_blockcenter_r.html"}>
                    <{/foreach}>
                    </td>
            </tr>
        </table>
        <{/if}>
        <!-- End center top blocks loop -->
        
        <!-- Start content module page -->
        <div id="xo-content"><{$xoops_contents}></div>
        <!-- End content module -->
    
        <!-- Start center bottom blocks loop -->
        <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
        <table id="xo-bottomblocks" cellspacing="0">
        <{if $xoBlocks.page_bottomcenter}>
        <tr>
                <td id="xo-bottomcenterblocks" 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="xo-bottomleftblocks">
                <{foreach from=$xoBlocks.page_bottomleft item=block}>
                <{include file="$theme_name/theme_blockcenter_l.html"}>
                <{/foreach}>
                </td>
                
                <td id="xo-bottomrightblocks">
                <{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="xo-canvas-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>
  <!-- Start footer -->
<div id="footer">
    <p>&nbsp;</p>
</div>
  <!-- end Footer -->
</body>
</html>

Posté le : 13/03/2012 14:20

Ne pas perdre patience, même si cela semble impossible, c'est déjà de la patience.
Origami
Conseil des Sages
Sur gitHub
Partager Twitter Partagez cette article sur GG+
Re: Insertion flash dans theme "alkhir kids"
Newbie
Inscrit: 17/10/2004 12:10
Messages: 9
Je viens de le tester mais ça n'a pas l'air de fonctionner.

J'ai l'impression que toutes les modifs que je fais dans le fichier theme.html ne sont pas prises en compte. C'est assez bizarre.

Merci de ton aide en tout cas.

Posté le : 13/03/2012 14:36

TC
Partager Twitter Partagez cette article sur GG+

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



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

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