MyXoops Forum

Forum - myXOOPS German Support

3 - 2 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Re: CatAds - Kommastellen

Betreff: Re: CatAds - Kommastellen
von Mrs_Dirty am 12.08.2006 15:24:06

Hallo Sato-San.

Danke für die Antwort. Ich habe die entsprechenden Korrekturen vorgenommen.


- With phpmyadmin (i.e.) in the table ????_catads_ads, edit the field price and change the type :INT -> VARCHAR(12)

- In the file class/ads.php, search this line
$this->initVar('price', XOBJ_DTYPE_INT, 0, false);

and replace with
$this->initVar('price', XOBJ_DTYPE_TXTBOX, null, false)


Der Preis wird jetzt (halbwegs) richtig angezeigt. Störend ist nur, dass aus 39.50 € 39.5 € gemacht werden.

Hast Du evtl. einen Tipp???

Danke, Mrs Dirty

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag