Página 1 de 1

ADD-ON - Coloured Category

PostagemEnviado: 16 Maio 2008, 20:27
por Master Portugas
Alterações / Changes

styles\prosilver\template\forumlist_body.html

procura:
find:
Código: Seleccionar todos
   <!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW  or forumrow.S_NO_CAT  -->
      <div class="forabg">


substituir por:
replace with:
Código: Seleccionar todos
   <!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW  or forumrow.S_NO_CAT  -->
      <div class="forabg<!-- IF forumrow.FORUM_ID == XX or forumrow.FORUM_ID == ZZ or forumrow.FORUM_ID == YY --> coloured<!-- ENDIF -->">



XX, ZZ, YY são os id das categorias do forum que pretendes colorir
XX, ZZ, YY is the forum_id of the forum which should be coloured


styles\prosilver\theme\colours.css

procura:
find:
Código: Seleccionar todos
.forabg {
   background-color: #0076b1;
   background-image: url("{T_THEME_PATH}/images/bg_list.gif");
}


depois adiciona:
after-add:
Código: Seleccionar todos
.coloured {
   background-color: #b17600;/*background-colour, its displayed when the image is to short. the best is to take thecolour of the last Pixel-row of the bg-image*/
   background-image: url("{T_THEME_PATH}/images/bg_list_coloured.gif");/*special-bg-image*/
}

.coloured ul.topiclist li.header dd, .coloured ul.topiclist li.header dt, .coloured ul.topiclist li.header dt a {
   color: #000000;/* Font-colour of the headings for the special category*/
}


Códigos de cores para combinar com as imagens de fundo do exemplo:
Colour-codes for the example background-images:
bg_list_coloured.gif: #00B176
bg_list_coloured1.gif: #7600B1
bg_list_coloured2.gif: #76B100
bg_list_coloured3.gif: #B10076
bg_list_coloured4.gif: #B17600


NOTA IMPORTANTE: Depois destas alterações limpar a cache do Estilo, no ACP >>>Style>>>imageset, theme e template.
IMPORTANT NOTE: After this alterations clear the cache in the your Style, in ACP>>>Style>>>imageset, theme and template.