<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[come modifico/aggiungo dei box in oscommerce?]]></title><description><![CDATA[<p dir="auto">come modifico/aggiungo dei box in oscommerce?</p>
<p dir="auto">Ciao a tutti,<br />
qualcuno riesce a dirmi come modificare il contenuto dei box laterali di oscommerce, oppure come aggiungerne di nuovi?<br />
mi sapete consigliare una contibution semplice e poco "invasiva" visto che la mia versione di oscommerce è già molto modificata e non vorrei che si verificassero conflitti vari...</p>
<p dir="auto">grazie e ciao</p>
]]></description><link>https://dev.connect.gt/topic/43163/come-modifico-aggiungo-dei-box-in-oscommerce</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 09:11:57 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/43163.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Aug 2007 22:18:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Mon, 20 Aug 2007 11:54:25 GMT]]></title><description><![CDATA[<p dir="auto">Fantastico!!!<br />
ci sono riuscito: grazie mille!!!!!!!!!</p>
]]></description><link>https://dev.connect.gt/post/580284</link><guid isPermaLink="true">https://dev.connect.gt/post/580284</guid><dc:creator><![CDATA[naturdieta]]></dc:creator><pubDate>Mon, 20 Aug 2007 11:54:25 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Fri, 17 Aug 2007 21:38:31 GMT]]></title><description><![CDATA[<p dir="auto">fai prima a farti un box nuovo, partendo da:</p>
<pre><code class="language-html">&lt;?php
/*
  $Id: manufacturers.php,v 1.19 2003/06/09 22:17:13 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/
?&gt;

          &lt;tr&gt;
            &lt;td&gt;
&lt;?php
    $info_box_contents = array();
    $info_box_contents[] = array('text' =&gt; BOX_HEADING_NOMEBOX);

    new infoBoxHeading($info_box_contents, false, false);

      $info_box_contents = array();
      $info_box_contents[] = array('text' =&gt; 'codice html o funzione che serve...');

    new infoBox($info_box_contents);
?&gt;
            &lt;/td&gt;
          &lt;/tr&gt;
</code></pre>
<p dir="auto">poi definisci la costante BOX_HEADING_NOMEBOX nei file di localizzazione con il nome del box e al posto di "codice html o funzione che serve..." quello che ho scritto... ma servono nozioni di php e html.</p>
]]></description><link>https://dev.connect.gt/post/580288</link><guid isPermaLink="true">https://dev.connect.gt/post/580288</guid><dc:creator><![CDATA[elvino]]></dc:creator><pubDate>Fri, 17 Aug 2007 21:38:31 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Fri, 17 Aug 2007 19:22:22 GMT]]></title><description><![CDATA[<p dir="auto">scusa, hai ragione....</p>
<p dir="auto">vorrei che questo box contenesse solo testo con uno o due link. visto che nel mio negozio c'è solo un produttore non ha senso così com'è, mentre mi tornerebbe utile se ci potessi piazzare dentro un richiamo ad una pagina di promozioni ad esempio.</p>
<p dir="auto">spero di essere stato più chiaro</p>
<p dir="auto">grazie ancora per l'aiuto e la disponibilità</p>
]]></description><link>https://dev.connect.gt/post/580282</link><guid isPermaLink="true">https://dev.connect.gt/post/580282</guid><dc:creator><![CDATA[naturdieta]]></dc:creator><pubDate>Fri, 17 Aug 2007 19:22:22 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Fri, 17 Aug 2007 18:18:17 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>naturdieta</strong></p>
<p dir="auto">quello è il box che vorrei modificare...<br />
ho postato il codice originale , se mi dici dove devo inserire la modifica te ne sarei grato!</p>
</blockquote>
<p dir="auto">ma quale modifica? cosa deve cambiare in questo box?</p>
]]></description><link>https://dev.connect.gt/post/580287</link><guid isPermaLink="true">https://dev.connect.gt/post/580287</guid><dc:creator><![CDATA[elvino]]></dc:creator><pubDate>Fri, 17 Aug 2007 18:18:17 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Fri, 17 Aug 2007 11:49:15 GMT]]></title><description><![CDATA[<p dir="auto">quello è il box che vorrei modificare...<br />
ho postato il codice originale , se mi dici dove devo inserire la modifica te ne sarei grato!</p>
<p dir="auto">ciao e grazie ancora</p>
]]></description><link>https://dev.connect.gt/post/580281</link><guid isPermaLink="true">https://dev.connect.gt/post/580281</guid><dc:creator><![CDATA[naturdieta]]></dc:creator><pubDate>Fri, 17 Aug 2007 11:49:15 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Fri, 17 Aug 2007 11:47:01 GMT]]></title><description><![CDATA[<p dir="auto">ciao,<br />
ho provato ma mi incasino: mi perd o la grafica o sparisce proprio il box...<br />
non è che daresti un'occhiata?</p>
<p dir="auto">?php<br />
/*<br />
$Id: manufacturers.php,v 1.19 2003/06/09 22:17:13 hpdl Exp $</p>
<p dir="auto">osCommerce, Open Source E-Commerce Solutions<br />
<a href="http://www.oscommerce.com" rel="nofollow ugc">http://www.oscommerce.com</a></p>
<p dir="auto">Copyright (c) 2003 osCommerce</p>
<p dir="auto">Released under the GNU General Public License<br />
*/</p>
<p dir="auto">$manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name");<br />
if ($number_of_rows = tep_db_num_rows($manufacturers_query)) {<br />
?&gt;<br />
&lt;!-- manufacturers //--&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;?php<br />
$info_box_contents = array();<br />
$info_box_contents[] = array('text' =&gt; BOX_HEADING_MANUFACTURERS);</p>
<pre><code>new infoBoxHeading($info_box_contents, false, false);

if ($number_of_rows &lt;= MAX_DISPLAY_MANUFACTURERS_IN_A_LIST) {
</code></pre>
<p dir="auto">// Display a list<br />
$manufacturers_list = '';<br />
while ($manufacturers = tep_db_fetch_array($manufacturers_query)) {<br />
$manufacturers_name = ((strlen($manufacturers['manufacturers_name']) &gt; MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN) . '..' : $manufacturers['manufacturers_name']);<br />
if (isset($HTTP_GET_VARS['manufacturers_id']) &amp;&amp; ($HTTP_GET_VARS['manufacturers_id'] == $manufacturers['manufacturers_id'])) $manufacturers_name = '&lt;b&gt;' . $manufacturers_name .'&lt;/b&gt;';<br />
$manufacturers_list .= '&lt;a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturers['manufacturers_id']) . '"&gt;' . $manufacturers_name . '&lt;/a&gt;&lt;br&gt;';<br />
}</p>
<pre><code>  $manufacturers_list = substr($manufacturers_list, 0, -4);

  $info_box_contents = array();
  $info_box_contents[] = array('text' =&gt; $manufacturers_list);
} else {
</code></pre>
<p dir="auto">// Display a drop-down<br />
$manufacturers_array = array();<br />
if (MAX_MANUFACTURERS_LIST &lt; 2) {<br />
$manufacturers_array[] = array('id' =&gt; '', 'text' =&gt; PULL_DOWN_DEFAULT);<br />
}</p>
<pre><code>  while ($manufacturers = tep_db_fetch_array($manufacturers_query)) {
    $manufacturers_name = ((strlen($manufacturers['manufacturers_name']) &gt; MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN) . '..' : $manufacturers['manufacturers_name']);
    $manufacturers_array[] = array('id' =&gt; $manufacturers['manufacturers_id'],
                                   'text' =&gt; $manufacturers_name);
  }

  $info_box_contents = array();
  $info_box_contents[] = array('form' =&gt; tep_draw_form('manufacturers', tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get'),
                               'text' =&gt; tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, (isset($HTTP_GET_VARS['manufacturers_id']) ? $HTTP_GET_VARS['manufacturers_id'] : ''), 'onChange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 100%"') . tep_hide_session_id());
}

new infoBox($info_box_contents);
</code></pre>
<p dir="auto">?&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;!-- manufacturers_eof //--&gt;<br />
&lt;?php<br />
}<br />
?&gt;</p>
<p dir="auto">grazie mille</p>
<p dir="auto">ciauz</p>
]]></description><link>https://dev.connect.gt/post/580283</link><guid isPermaLink="true">https://dev.connect.gt/post/580283</guid><dc:creator><![CDATA[naturdieta]]></dc:creator><pubDate>Fri, 17 Aug 2007 11:47:01 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Sun, 12 Aug 2007 10:32:32 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>naturdieta</strong></p>
<p dir="auto">il problema è che non riesco a capire come inserire il testo che voglio far vedere nel box nel codice. lo inserisco semplicemente trai tag php?</p>
</blockquote>
<p dir="auto">per esempio dentro:</p>
<pre><code class="language-php">$info_box_contents[] = array('text' =&gt; '&lt;p&gt;Testoooooooo&lt;/p&gt;');
</code></pre>
<p dir="auto">ma bisogna vedere un po il file del box come è strutturato.</p>
]]></description><link>https://dev.connect.gt/post/580286</link><guid isPermaLink="true">https://dev.connect.gt/post/580286</guid><dc:creator><![CDATA[elvino]]></dc:creator><pubDate>Sun, 12 Aug 2007 10:32:32 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Sat, 11 Aug 2007 21:38:56 GMT]]></title><description><![CDATA[<p dir="auto">il problema è che non riesco a capire come inserire il testo che voglio far vedere nel box nel codice. lo inserisco semplicemente trai tag php?</p>
]]></description><link>https://dev.connect.gt/post/580278</link><guid isPermaLink="true">https://dev.connect.gt/post/580278</guid><dc:creator><![CDATA[naturdieta]]></dc:creator><pubDate>Sat, 11 Aug 2007 21:38:56 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Sat, 11 Aug 2007 19:44:00 GMT]]></title><description><![CDATA[<p dir="auto">i file dei box sono in /includes/boxes/</p>
<p dir="auto">ne duplichi uno, te lo personalizzi, lo rinomini.<br />
Poi lo includi in /includes/column_left.php  o  /includes/column_right.php</p>
]]></description><link>https://dev.connect.gt/post/580285</link><guid isPermaLink="true">https://dev.connect.gt/post/580285</guid><dc:creator><![CDATA[elvino]]></dc:creator><pubDate>Sat, 11 Aug 2007 19:44:00 GMT</pubDate></item><item><title><![CDATA[Reply to come modifico/aggiungo dei box in oscommerce? on Fri, 10 Aug 2007 09:29:15 GMT]]></title><description><![CDATA[<p dir="auto">Tutto dipende da quello che ci vuoi fare.. perche mi pare di aver letto che basta duplicare un box gia preesente nel sito, cambiare il nome e uplodarlo una volta modificato a piacimento.<br />
Dirigiti su questa strada per cercare sui motori ricerca.</p>
]]></description><link>https://dev.connect.gt/post/580279</link><guid isPermaLink="true">https://dev.connect.gt/post/580279</guid><dc:creator><![CDATA[dani74]]></dc:creator><pubDate>Fri, 10 Aug 2007 09:29:15 GMT</pubDate></item></channel></rss>