come inserire 2 icone di annuncio in un template

Php, PHP-Nuke, phpBB, Html, CSS, Javascript e tutto ciò che concerne la gestione siti web.
Avatar utente
Faber
Utente fedele
Utente fedele
Messaggi: 93
Iscritto il: 14/10/2004, 12:45
Località: Palermo

come inserire 2 icone di annuncio in un template

Messaggio da Faber »

devo aggiungere 2 img [annuncio globale] ad un nuovo template che ho istallato correttamente nel mio forum, penso di saperlo fare, ma non trovo alcune cose..

per essere sicuro comunque e non fare danni chiedo a voi se sapete indicarmi il percorso da eseguire per far si che col nuopvo template si visualizzino queste img e anche nella leggenda in basso la scritta e le img, spero di aver esposto chiaramente il quesito!!

p.s. il template é MylMusic
Immagine
Immagine
Avatar utente
Faber
Utente fedele
Utente fedele
Messaggi: 93
Iscritto il: 14/10/2004, 12:45
Località: Palermo

Messaggio da Faber »

odio gli up.. ma nessuno mi sa aiutare?? :|
Immagine
Immagine
Avatar utente
AleSSaNDRo
WebMaster
WebMaster
Messaggi: 2358
Iscritto il: 24/04/2003, 1:11
Località: Milano

Messaggio da AleSSaNDRo »

Ciao Faber,
non è molto difficile.
Praticamente, avendo cambiato semplicemente la template, devi rifare le varie modifiche indicate nel mod Annunci Globali per quanto riguarda appunto la template.
Te li riporto quì(sperando che corrispondano al tuo mod Annunci Globali):

Codice: Seleziona tutto

# 
#-----[ APRI ]------------------------------------------------ 
# 
# Remember to do this to all instaled template on the board
#
templates/subSilver/subSilver.cfg

# 
#-----[ CERCA ]------------------------------------------------ 
# 
$images['folder_announce_new'] = "$current_template_images/folder_announce_new.gif";

# 
#-----[ DOPO, AGGIUNGI ]------------------------------------------ 
# 

// Start add - Global announcement MOD
$images['folder_global_announce'] = "$current_template_images/folder_global_announce.gif";
$images['folder_global_announce_new'] = "$current_template_images/folder_global_announce_new.gif";
// End add - Global announcement MOD

# 
#-----[ APRI ]------------------------------------------------ 
# 
# Remember to do this to all instaled template on the board
#
templates/subSilver/viewforum_body.tpl

# 
#-----[ CERCA ]------------------------------------------------ 
# 
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>

# 
#-----[ REPLACE WITH ]---------------------------------------- 
# 

<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_GLOBAL_ANNOUNCE_IMG}" alt="{L_GLOBAL_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->

# 
#-----[ CERCA ]------------------------------------------------ 
# 
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td class="gensmall">{L_STICKY}</td>

# 
#-----[ REPLACE WITH ]---------------------------------------- 
# 

<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->

# 
#-----[ CERCA ]------------------------------------------------ 
# 
<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}"
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>

# 
#-----[ DOPO, AGGIUNGI ]------------------------------------------ 
# 

<!-- Start add - Global announcement MOD -->
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td class="gensmall">{L_STICKY}</td>
<!-- End add - Global announcement MOD -->
Avatar utente
Faber
Utente fedele
Utente fedele
Messaggi: 93
Iscritto il: 14/10/2004, 12:45
Località: Palermo

Messaggio da Faber »

ah!! che pirla!! non ci avevo minimamente pensato!! lol!!
grazie dell'aiuto!! :wink:
Immagine
Immagine
Avatar utente
Giada
Staff - Supporto
Staff - Supporto
Messaggi: 641
Iscritto il: 31/08/2003, 17:11
Località: San Severo

Messaggio da Giada »

a volte e piu facile di quanto sembri :)

Chi c’è in linea

Visitano il forum: Claude [Bot] e 0 ospiti