It is currently Tue 27 Sep 2016 - 12:23 - créer un forum

[tuto] Vos annonces et post it en couleur

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 318, 19, 20

[tuto] Vos annonces et post it en couleur
Author Message
Mister Cat


Joined: 22 Nov 2011
Posts: 16

PostPosted: Tue 13 Dec 2011 - 19:23    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

Bonsoir,


ça ne marche toujours pas  Sad
Seuls les post-it sont en couleurs, pas les annonces/annonces globales.
Voici le code que j'ai mit :


Code: Sélectionner - Agrandir
<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce globale :</b> " --> 
<a style="color: orange" href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " --> 
<a style="color: orange" href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " --> 
<a style="color: green" href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ELSE --> 
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ENDIF -->
Forum
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Wed 14 Dec 2011 - 15:11    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

essayes ça


 
Code: Sélectionner - Agrandir
<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " --> 
<a style="color: orange" href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " --> 
<a style="color: orange" href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " --> 
<a style="color: green" href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ELSE --> 
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ENDIF --> 

_______________________
Following members like this message:
jagd0748 (30/05/14)


Forum
Author Message
Mister Cat
Membre


Offline
Membre

Joined: 22 Nov 2011
Posts: 16
Niveau:
Point(s): 16
Moyenne: 1.00
Windows 8 ou 10 Chrome (ou l'un de ses dérivés : Chromium/Iron/...) Masculin Taureau (20avr-20mai)

PostPosted: Thu 15 Dec 2011 - 19:15    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

Bonsoir,


Je viens d'essayer et cela marche à la perfection, je vous remercie beaucoup pour votre aide !  Very Happy
Bonne soirée à vous  Smile
_______________________
Amicalement,
Mister Cat ! Wink


Forum
Author Message
Spêculoos
Membre


Offline
Membre

Joined: 03 Aug 2013
Posts: 1
Niveau:
Point(s): 1
Moyenne: 1.00
Windows Vista ou 7 Chrome (ou l'un de ses dérivés : Chromium/Iron/...) Féminin

PostPosted: Sat 3 Aug 2013 - 18:41    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

Bonjour, 


je ne trouve pas l'endroit où positionner le code afin de mettre de la couleur à mes sous-titres.
Merci d'avance pour votre aide. ^^


Code: Sélectionner - Agrandir
 <form method="post" action="{S_POST_DAYS_ACTION}">[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  </table>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]
[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <!-- BEGIN topicrow -->[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="46" height="46" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  {topicrow.GOTO_PAGE}</span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <!-- END topicrow -->[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <!-- BEGIN switch_no_topics -->[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <!-- END switch_no_topics -->[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  <input type="submit" class="liteoption" value="{L_GO}" name="submit" />[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  </span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  </table>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]
[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  </td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td align="center" width="80" ><span class="nav">{PAGE_NUMBER}</span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td align="left" valign="middle" width="100%"><span class="gensmall"><b>&nbsp;&nbsp;&nbsp;{L_MODERATOR}: {MODERATORS}</br>&nbsp;&nbsp;&nbsp;{LOGGED_IN_USER_LIST}</b></span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <td valign="middle" width="20%" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  </table>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]</form>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]
[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]<table width="100%" border="0" cellspacing="0" cellpadding="0">[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <td align="right">{JUMPBOX}</td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]</table>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]
[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif] <tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]  <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="46" height="46" /></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td class="gensmall">{L_NEW_POSTS}</td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td>&nbsp;&nbsp;</td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="46" height="46" /></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td class="gensmall">{L_NO_NEW_POSTS}</td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td>&nbsp;&nbsp;</td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="46" height="46" /></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td class="gensmall">{L_ANNOUNCEMENT}</td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   </tr>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]   <tr> [/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="46" height="46" /></td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td class="gensmall">{L_NEW_POSTS_HOT}</td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td>&nbsp;&nbsp;</td>[/font][/size]
[size=12][font=Trebuchet MS, Trebuchet, Verdana, Helvetica, Arial, sans-serif]    <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="46" height..


Forum
Author Message
Guig Esprit du Sage
Membre


Offline
Membre

Joined: 06 Feb 2015
Posts: 35
Niveau:
Point(s): 35
Moyenne: 1.00
Windows Vista ou 7 Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...) Masculin

PostPosted: Fri 6 Feb 2015 - 22:39    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

J'ai appliqué et adapté cette méthode, ce qui donne cela:

 
Code: Sélectionner - Agrandir

     <!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " --> 
               <a style="color:orange; font-size:200%"  href="{topicrow.U_VIEW_TOPIC}" class="topictitle">  {topicrow.TOPIC_TYPE}
            <!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " --> 
               <a style="color:orange; font-size:150%"  href="{topicrow.U_VIEW_TOPIC}" class="topictitle">  {topicrow.TOPIC_TYPE}
            <!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " --> 
               <a style="color:white; font-style:oblique"  href="{topicrow.U_VIEW_TOPIC}" class="topictitle">  {topicrow.TOPIC_TYPE}
            <!-- ELSE --> 
              {topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
            <!-- ENDIF -->



http://burningphoenixteam.vraiforum.com/f1-Team-Birds.htm?theme=test

Mais si vous observez bien, le sondage en post-it n’est pas affecté.
Les sondages en post-its sont ils d'un type différent? si oui lequel?


Forum
Author Message
DYONISOS
Membre


Offline
Membre

Joined: 27 Feb 2011
Posts: 10
Point(s): 10
Moyenne: 1.00
Windows Vista ou 7 Chrome (ou l'un de ses dérivés : Chromium/Iron/...) Masculin

PostPosted: Thu 19 Feb 2015 - 23:55    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

Bonjour,
Je ne dois pas être assez aguerri, je ne suis pas parvenu à changer la couleur de mon "Annonce Globale"
Tant pis, je crois que je vais abandonner...
Merci quand même à tous ceux qui s'évertuent à nous aider !

Bonne soirée !

Cordialement,
Dyonisos.
_______________________
"Le peu que je sais, c'est à mon ignorance que je le dois..."


Forum
Author Message
Contenu Sponsorisé





PostPosted: Today at 12:23    Post subject: [tuto] Vos annonces et post it en couleur

Display posts from previous:   
Reply to topic Page 20 of 20 Goto page: <  1, 2, 318, 19, 20




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401