Fork me on GitHub

Rapport de message :*
 

Re: [Problème] Morphogenesis, layout variable et multimenu

Titre du sujet : Re: [Problème] Morphogenesis, layout variable et multimenu
par olico sur 06/10/2006 00:10:12

Hello,

Merci, ça fonctionne parfaitement.
Voici la marche à suivre :
dans le fichier theme.html
<div id="xo-globalnav" class="x2-nl x2-navigation">
<!--
appel de la navbar multimenu-->
[
color=red]<{foreach item=block from=$xoops_ccblocks}> <{if $block.title == 'navbar'}> <{$block.content}> <{/if}> <{/foreach}> [/color]
            </
div>


et dans le fichier
centerblocks.html
<{foreach from=$xoBlocks[$zoneitem=block}>
<!-- 
pour cacher la navbar en colonne centrale-->
    [
color=red]  <{if $block.title != 'navbar'}>[/color]
    <
div class="xo-block <{$block.module}>">
    <{if 
$block.title}><div class="xo-blocktitle"><h3><{$block.title}></h3></div><{/if}>
    <
div class="xo-blockcontent"><{$block.content}></div>
    </
div>
[
color=red]<{/if}>[/color]


il faut aussi penser à mettre son bloc menu "navbar" en "Bloc central - centré"

C'est tout et le thème morphogenesis est de nouveau pleinement opérationnel.
--
olico
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

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