Fork me on GitHub

Rapport de message :*
 

Ajout de la balise xoops_banner dans un thème !!?

Titre du sujet : Ajout de la balise xoops_banner dans un thème !!?
par tungsten sur 17/12/2008 12:37:26

Bonjour,

j'utilise en ce moment le theme "underwater" voir ici

et ici le code correspondant :

<!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>
    <{* 
Center blocks display order valid values are:  lrc (left right centerlcr (left center rightclr (center left right)    *}>
    <{
assign var=theme_top_order value=clr}>
    <{
assign var=theme_bottom_order value=clr}>
    <{
assign var=theme_name value=$xoTheme->folderName}>

    <
title><{$xoops_pagetitle}> : <{$xoops_sitename}> : <{$xoops_slogan}></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" />


    <
link rel="shortcut icon" type="image/ico" href="<{xoImgUrl /favicon.ico}>" />
    <
link rel="icon" type="image/png" href="<{xoImgUrl /icon.png}>" />
    <
link rel="stylesheet" type="text/css" media="all" title="" href="<{xoImgUrl /style.css}>" />
    <{
$xoops_module_header}>
    
<!--[if 
lt IE 7]>
    <
script type="text/javascript">
        var 
IE7_PNG_SUFFIX=".*/images/.*.png";
        var 
IE7_BOX_MODEL true;
    
</script>
    <script src="<{$xoops_imageurl}>ie7/ie7-standard-p.js" type="text/javascript"></script>
<![endif]-->    
    
</head>

<body  class="<{$xoops_dirname}> theme-default">
<{if $xoBlocks.canvas_left and $xoBlocks.canvas_right}><{assign var=columns_layout value='threecolumns-layout'}>
<{elseif $xoBlocks.canvas_left}><{assign var=columns_layout value='leftcolumn-layout'}>
<{elseif $xoBlocks.canvas_right}><{assign var=columns_layout value='rightcolumn-layout'}>
<{/if}>
<div id="xo-canvas"<{if $columns_layout}> class="<{$columns_layout}>"<{/if}>>
    <div id="xo-canvas-header">
        <div id="xo-main-logo">
            <a href="<{xoAppUrl /}>"><img src="<{xoImgUrl images/logo.jpg}>" alt="<{$xoops_sitename}>" /></a>
        </div>

    <div id="xo-canvas-globalnav">
        <ul>
            <li><a href="<{xoAppUrl /}>">Home</a></li>
            <li><a href="<{xoAppUrl modules/news/}>">News</a></li>
            <li><a href="<{xoAppUrl modules/booking/}>">Events</a></li>
<li><a href="<{xoAppUrl modules/liaise/}>">Contact</a></li>
        </ul>
    </div>
    </div >

    <div id="xo-canvas-content">
        <table id="xo-canvas-columns" cellspacing="0">
        <tr>
            <{if $xoBlocks.canvas_left}>
            <{includeq file="$theme_name/blockszone.html" blocks=$xoBlocks.canvas_left
                zoneClass='xo-canvas-column' zoneId='xo-canvas-leftcolumn' zoneTag='td'
            }>
            <{/if}>
            <td id="xo-page">
                <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
                <div class="xo-blockszone xo-<{$theme_top_order}>pageblocks" id="xo-page-topblocks">
                    <{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:0:1}>
                    <{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:1:1}>
                    <{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:2:1}>
                </div>
                <{/if}>
                <{if $xoops_contents}><div id="xo-content"><{$xoops_contents}></div><{/if}>
                <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomcenter or $xoBlocks.page_bottomright}>
                <div class="xo-blockszone xo-<{$theme_bottom_order}>pageblocks" id="xo-page-bottomblocks">
                    <{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:0:1}>
                    <{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:1:1}>
                    <{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:2:1}>
                </div>


Or j'aimerai ajouter dans ce thème, un espace banner qui serait placé à droite de mon header, là où se trouve le plongeur.
N'étant pas prévu au départ, puis-je tout de même en ajouter un, et si oui, quel balise dois-je utiliser ?

D'avance merci pour vos suggestions...
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

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