Pagina 60 di 78

Inviato: 21/07/2008, 17:14
da JakSmit
ok sorry guys. i wanted to try and write in italian so i didnt offend you.

basically, is sts still implemented? it seems like only bts templates can be used? if it is still possible to use sts templates, where do i put the templates, how do i get it to use these? thanks.

Inviato: 21/07/2008, 17:28
da teledido
JakSmit ha scritto:ok sorry guys. i wanted to try and write in italian so i didnt offend you.

basically, is sts still implemented? it seems like only bts templates can be used? if it is still possible to use sts templates, where do i put the templates, how do i get it to use these? thanks.
oh, i'm understand, now! online translator is orrible! my english is not perfect but....
oswai don't use STS, but BTS. if you want to use sts on osway, you must find a contribution on oscommerce.com, i'm looking this, some times ago. this contribution will allow you to use a sts template over bts system. i hope this can help you. bye.

Inviato: 21/07/2008, 18:07
da lavoriamopervoi
teledido ha scritto:
lavoriamopervoi ha scritto:
teledido ha scritto: ehm ho dei problemi ad adattare new_products.php su oswai..
che problemi?!?...
beh cosi com'e' non va, mi da errore. non capisco cosa modificare
ecco il codice per il modulo new_products.php, più o meno è questo, ma non ricordo se ho aggiunte qualche in più:

Codice: Seleziona tutto

<?php 
// new product for bts 1.5 oscommerce wai

  /*$row = 0;
  $col = 0;
  $info_box_contents = array(); 
  $boxHeading = sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B'));
  $corner_left = 'rounded';
  $corner_right = 'rounded';
  $boxContent_attributes = ' align="center"';
  $box_base_name = sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); // for easy unique box template setup (added BTSv1.2)
  $box_id = $box_base_name . 'Box';  // for CSS styling paulm (editted BTSv1.2) */

$content = '<div id="protoflow">';

  while ($new_products = tep_db_fetch_array($new_products_query)) {
	//TotalB2B start & TotalB2B start
	if ($new_price = tep_get_products_special_price($new_products['products_id'])) {
      $new_products['products_price'] = $new_price;
   $content .= /* $info_box_contents[$row][$col] = array('params' => 'class="TrentaTre"',
                                           'text' => */ '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">'
                                            . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'] . ' '. $currencies->display_price_nodiscount($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>' . /*'<br />
                                           <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a>
                                           <br /><span class="prezzo">' . $currencies->display_price_nodiscount($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</span>' */'';//);
    } else {
      $new_products['products_price'] = tep_xppp_getproductprice($new_products['products_id']);
  $content .= /* $info_box_contents[$row][$col] = array('params' => 'class="TrentaTre"',
                                           'text' => */ '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">'
                                            . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'] . ' ' . $currencies->display_price($new_products['products_id'], $new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>' . /* '<br />
                                           <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a>
                                           <br /><span class="prezzo">' . $currencies->display_price($new_products['products_id'], $new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</span>'*/'';//);
    }
	//TotalB2B end & TotalB2B end
	/*$col ++;
    if ($col > 2) {
      $col = 0;
      $row ++;
    }*/
  }
  $content .= '</div>';

  $boxContent = $content;
	
 include (bts_select('boxes', $box_base_name)); // BTS 1.5

 // new contentBox($info_box_contents);
?>
adesso che ho controllato manca l'intestazione, inseritela... fate le relative modifiche per questa contribution e siete apposto...
Ciao
Antonello

Inviato: 21/07/2008, 20:28
da lavoriamopervoi
teledido ho visto che ci sei riuscito...

Inviato: 21/07/2008, 21:33
da teledido
lavoriamopervoi ha scritto:teledido ho visto che ci sei riuscito...
beh si,ma ce qualcosa che non va ancora

Inviato: 21/07/2008, 21:38
da lavoriamopervoi
teledido ha scritto:
lavoriamopervoi ha scritto:teledido ho visto che ci sei riuscito...
beh si,ma ce qualcosa che non va ancora
cosa non va? hai usato il codice che ho postato?

Inviato: 21/07/2008, 22:16
da teledido
lavoriamopervoi ha scritto:
teledido ha scritto:
lavoriamopervoi ha scritto:teledido ho visto che ci sei riuscito...
beh si,ma ce qualcosa che non va ancora
cosa non va? hai usato il codice che ho postato?
si, ma vedi che mi esce la barra del tirolo nuovi prodotti per luglio, e sotto ce ne una con sritto partners, da dove e' uscita?

Inviato: 22/07/2008, 8:03
da lavoriamopervoi
teledido ha scritto:
lavoriamopervoi ha scritto:
teledido ha scritto: beh si,ma ce qualcosa che non va ancora
cosa non va? hai usato il codice che ho postato?
si, ma vedi che mi esce la barra del tirolo nuovi prodotti per luglio, e sotto ce ne una con sritto partners, da dove e' uscita?
hai visto bene il codice che ho postato perché io avevo tolto l'intestazione...

Inviato: 22/07/2008, 11:56
da teledido
lo so ma me ne escono due di intestazioni

teledido: thanks for english!!

Inviato: 22/07/2008, 21:23
da vitforlinux
teledido: thanks for english!!

STS a fa piurè i cit ! (piemontese)

STS fa piangere i bambini.

JakSmit

With sts not is possble create WAI-WCAG valid pages.
BTS (M-BTS) (M=magnino or multi)is not diffucult to use. (taste template help)
All the interface works in valid BTS, and internal code is modified for make valid code.

The principal CSS is called stylesheet.php (with php variables)

Dont modify FALLBACK template: evantually copy and rename it
in other templates FALLBACK is a 'server' for boxes, images and other parts.

When work send your url. I visit It.
Good Luck!
Vitforlinux

quel codice che ho visto...

Inviato: 22/07/2008, 21:31
da vitforlinux
quel codice che ho visto è il saliscendi alla lavoriamopervoi/teledido?

Volete metterlo in oswai standard?

se SI ci lavoro. (anche se non sono d'accordo coi javascript a spreco)

saluti e grazie.
Vit

P.S. non difendete oswai (si difende da solo!)

Inviato: 23/07/2008, 7:47
da fistandantilus
@ SUPERVIT


La risposta e' semplice

SIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

:D

Inviato: 23/07/2008, 12:58
da teledido
fistandantilus ha scritto:@ SUPERVIT


La risposta e' semplice

SIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

:D
SIIIIIIIIIIIIIIIIIIIIIIIIIIIII

...... e magari qualche altro javascript a spreco in piu, non guasterebbe
ad esempio quando si ingrandisce l'immagine, l'effetto lightbox, o come si chiama, molto bello...

Grandi!!

Inviato: 23/07/2008, 20:30
da vitforlinux
Grandi!!
da dove comincio?

Maury aveva messo gli effetti all'acquisto poi gli ha tolti (troppi errori diceva).
provate www.netso.ru (con educazione, non è un giocattolo)

saluti Vit (vado a buttare 4 stampanti e torno)

Re: Grandi!!

Inviato: 23/07/2008, 21:52
da teledido
vitforlinux ha scritto:Grandi!!
da dove comincio?

Maury aveva messo gli effetti all'acquisto poi gli ha tolti (troppi errori diceva).
provate www.netso.ru (con educazione, non è un giocattolo)

saluti Vit (vado a buttare 4 stampanti e torno)
non riesco a capire xche mi ripete l'intestazione dell'ultimo box della colonna sinistra, adesso sarebbe partners, ma se elimino il box partners dalla colonna a sinistra, mi ripete il box informazioni, e cosi via...