Pagina 1 di 1
problema con i banner
Inviato: 07/04/2006, 9:59
da Lod
ragazzi..nn riesco a inserire nuovi banner...
ossia...riesco a inserirli enll'area amministrativa , ma nn a renderli visibile nell'area pubblica del sito...
come fare?
Inviato: 07/04/2006, 16:05
da Lod
nessun parere?
Inviato: 08/04/2006, 15:33
da Lod
tento e ritento

ma nada
Inviato: 08/04/2006, 17:33
da gioborza
non è che hai tolto la funzione dal footer.php che richiama la gestione dei banner?
Inviato: 08/04/2006, 17:40
da Lod
gioborza ha scritto:non è che hai tolto la funzione dal footer.php che richiama la gestione dei banner?
d'ho...
com'è la funzione?
Inviato: 08/04/2006, 17:45
da gioborza
il file è /catalog/include/footer.php e verso la fine dovresti trovare qualcosa del genere:
<?php
if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
</tr>
</table>
<?php
}
?>
ciao
Inviato: 14/04/2006, 14:42
da Lod
il footer.ph è questo...
Codice: Seleziona tutto
<?php
/*
$Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
require(DIR_WS_INCLUDES . 'counter.php');
?>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="footer">
<td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td>
<td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td>
</tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>
</tr>
</table>
<?php
if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
</tr>
</table>
<?php
}
?>
morale della favola...
nn mi vanno ancora i banner...
nn so + dove sbattere la testa
Inviato: 14/04/2006, 14:43
da Lod
il codice che butt fuori la pagina è questo...
Codice: Seleziona tutto
<!-- footer //-->
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="footer">
<td class="footer"> venerdì 14 aprile, 2006 </td>
<td align="right" class="footer"> 77340 visite da domenica 08 agosto, 2004 </td>
</tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText">Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></td>
</tr>
</table>
<!-- footer_eof //-->
sembra proprio nn passi dentro nel cicli del banner..
eppure i banner sono su

Inviato: 14/04/2006, 14:55
da Lod