Skip to content
Extraits de code Groupes Projets
Valider dd9d5533 rédigé par real3t@gmail.com's avatar real3t@gmail.com
Parcourir les fichiers

Intégration du plugin Campagnes () avec 3 zones :

- banheader : tout en haut de la page
- bangoodiesavant : en mode communiquant, avant les goodies
- banlocalisationavant : en mode communiquant, au dessus de "Localisez-nous sur la carte" (la boussole)
parent f1efee4e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -126,6 +126,12 @@ CancelMonitorTextSize = false;
<body[ id="(#ENV{idbody})"] class="[bodysecteur(#ENV{id_secteur}) ][bodyrubrique(#ENV{rubriqueencours}) ][bodyarticle(#ENV{id_article}) bodyarticle]">
<div id="container">
<div id="shadow">
[(#PLUGIN{campagnes}|oui)
<div id="banheader">
<span class="honest left"><:campagne:titre_campagne:></span>
<INCLURE{fond=inclure/encart, identifiant=banheader}>
</div>
]
#SET{noisetteheader,header_modeedito}
[(#ENV{template}|=={'Sommaire'}|oui)
[(#CHEMIN{noisettes/header/header_mode#CONFIG{soyezcreateurs/mode_affichage,communiquant}.html}|oui)
......
......@@ -97,6 +97,12 @@
</div><!-- communiquant_content_central -->
<div id="communiquant_content_extra">
[(#PLUGIN{campagnes}|oui)
<div id="bangoodiesavant">
<span class="honest"><:campagne:titre_campagne:></span>
<INCLURE{fond=inclure/encart, identifiant=bangoodiesavant}>
</div>
]
[(#CONFIG{soyezcreateurs/positiongoodies,extra}|=={extra}|oui)[(#INCLURE{fond=noisettes/sommaire/goodies})]]
[(#CONFIG{soyezcreateurs/positionvideo,extra}|=={extra}|oui)[(#INCLURE{fond=noisettes/sommaire/video_alaune,largeurmax=[(#GET{Largeurcontent_extra}|moins{20})]})]]
......@@ -110,6 +116,13 @@
[(#REM) Sur le Web ]
[(#CONFIG{soyezcreateurs/positionnouveautes,extra}|=={extra}|oui)[(#CONFIG{soyezcreateurs/nouveautes_web,oui}|=={oui}|oui)#INCLURE{fond=noisettes/sommaire/nouveautes}]]
[(#PLUGIN{campagnes}|oui)
<div id="banlocalisationavant">
<span class="honest"><:campagne:titre_campagne:></span>
<INCLURE{fond=inclure/encart, identifiant=banlocalisationavant}>
</div>
]
[(#CONFIG{soyezcreateurs/positionrecherche,header}|=={navigation}|oui)[(#INCLURE{fond=noisettes/header/cadre_recherche}{env}{id_recherche=cadre_recherche})]]
#INCLURE{fond=noisettes/extra/ousommesnous}
[(#CONFIG{soyezcreateurs/positionfluxrss,bottom}|=={bottom}|oui)<div class="centrer_div rss_bottom">
......
......@@ -48,6 +48,7 @@
<utilise nom="AccesRestreint" compatibilite="[3.13.1;[" />
<utilise nom="article_pdf" compatibilite="[0.4.6;[" />
<utilise nom="Autorite" compatibilite="[0.10.8;[" />
<utilise nom="campagnes" compatibilite="[1.2.4;[" />
<utilise nom="clevermail" compatibilite="[3.0.11;[" />
<!--<utilise nom="comments" compatibilite="[3.3.2;[" />-->
<utilise nom="centre_image" compatibilite="[0.8.2;[" />
......
......@@ -390,6 +390,24 @@ a:active { color: #GET{c_active}; }
#clearbottom { height: 0; }
/*************** STRUCTURE - HEADER */
#banheader { padding: 0; text-align: center; background-color: #GET{c_header_bk};[(#CONFIG{soyezcreateurs_couleurs/transparenceheader,1}|!={1}|oui)background-color: rgba([(#GET{c_header_bk}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/transparenceheader,1});] color: #GET{c_header}; }
#banheader a { display: inline-block!important; }
.honest {
background-color: #efc439;
border-radius: 6px 6px 0 0;
color: #fff;
display: block;
font-size: 1em;
padding: 2px 6px;
width: 8em;
}
.honest.left {
border-radius: 0 0 6px 6px;
display: inline-block;
transform: rotate(90deg);
transform-origin: 0 0;
position: absolute;
}
#header { position: relative; background-color: #GET{c_header_bk};[(#CONFIG{soyezcreateurs_couleurs/transparenceheader,1}|!={1}|oui)background-color: rgba([(#GET{c_header_bk}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/transparenceheader,1});] color: #GET{c_header};
font-size: #CONFIG{soyezcreateurs_couleurs/fontsizeheader,1.2}em;
<BOUCLE_HeaderBanner(MOTS){type=_HeaderBanner}{0,1}> </BOUCLE_HeaderBanner>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter