Nuovo Blocco
Inviato: 26/11/2005, 4:48
Ciao, chi mi puo dare una mano nel creare un nuovo blocco nel quale metterci le gif dei metodi di pagamento?
Non ho idea di come si faccia1
Grazie 1000
Non ho idea di come si faccia1
Grazie 1000
comunità di utenti e sviluppatori italiani per osCommerce
http://www.oscommerceitalia.com/forums/
Codice: Seleziona tutto
<!-- metodi di pagamento //-->
<tr>
<td><img src="percorso immagine1.gif" border="0"><br>
<img src="percorso immagine2.gif" border="0"><br>
<img src="percorso immagine3.gif" border="0">
</td>
</tr>
<!-- metodi di pagamento //-->
Codice: Seleziona tutto
require(DIR_WS_BOXES . 'pagamenti.php');Allora, non devi semplicemente copiare le righe di wiko ma tutto il codice di un box, questo sotto l'ho fatto ieri per ricsca:MrFLY ha scritto: ho seguito la tua procedura per la creazione del box .. e funziona.
Volevo chiederti come faccio a dare la stessa cornice degli altri box e l'intestazione modalità di pagamenti e linkare l'immagine alla sezione pagamenti del mio sito?
Codice: Seleziona tutto
<?php
/*
$Id: links.php,v 1.0 2005/09/29 22:31:00 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
?>
<!-- links //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_SPEDIZIONI);
new infoBoxHeading($info_box_contents, false, false, false, $column_location);
$info_box_contents = array();
$info_box_contents[] = array('text' => '<center>' .tep_image(DIR_WS_IMAGES . 'poste.gif') . '<br>' .
tep_image(DIR_WS_IMAGES . 'bartolini.gif') . '<br>'.
tep_image(DIR_WS_IMAGES . 'executive.gif'). '</center>');
new infoBox($info_box_contents, $column_location);
?>
</td>
</tr>
<!-- links_eof //-->
Codice: Seleziona tutto
define('BOX_HEADING_SPEDIZIONI', 'Spedizioni');
Codice: Seleziona tutto
'<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' .tep_image(DIR_WS_IMAGES . 'poste.gif') . '</a><br>' .
Dovresti mettere questo collegamento:<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_SPEDIZIONI);
new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SHIPPING), $column_location);
$info_box_contents = array();
$info_box_contents[] = array('text' => '<center>' .tep_image(DIR_WS_IMAGES . 'poste.gif') . '<br><br>' .
tep_image(DIR_WS_IMAGES . 'bartolini.gif') . '<br><br>'.
tep_image(DIR_WS_IMAGES . 'executive.gif'). '</center>');
new infoBox($info_box_contents, $column_location);
?>
</td>
</tr>
<!-- links_eof //-->
Come devo scrivere?<a href="http://www.rettilimania.it/chat/client.php" target="_blank"><img
src="http://www.rettilimania.it/chat/statusimage.php"></a>
Ricsca ha scritto: Come devo scrivere?![]()
Codice: Seleziona tutto
$info_box_contents[] = array('text' =>'<a href="http://www.rettilimania.it/chat/client.php" target="_blank"><img
src="http://www.rettilimania.it/chat/statusimage.php"></a>');
cippe ha scritto:E per metterci solo testo dentro al box come si fa?
Codice: Seleziona tutto
$info_box_contents[] = array('text' =>'bla bla bla');