1
sova
adslight module
  • 2012/9/4 15:25

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Hi
1 - in adslight module prices will show the decimal 0.00. For example, 3525.00 USD
in sql/english/mysql.sql
price decimal(20,2NOT NULL default '0.00',


I changed to
price decimal(20,0NOT NULL default '0',

But, did not change the show price.
Why?
Where do I was change?

2 - in adslight module prices stated With space. For example, 3525 USD ----> 3 525 USD.
How Change "space" to "," . For example, 3 525 USD ----> 3,525 USD.


I'm grateful to you for help in this area. (Very urgent I need this module)

2
Pakaj
Re: adslight module
  • 2012/9/5 13:21

  • Pakaj

  • Friend of XOOPS

  • Posts: 34

  • Since: 2004/5/5 6


What you did, changes only how records are written in database. This is only affected to database, when you install the module. But I think, with this solution you might get some errors when module would try to save the record into database, because author had some different idea at module creation.

But you would probably like to change the outcome in screen. Therefore you have to search in templates of that module.You have to change only the output to the screen. There you can make changes which will satisfy your needs and will not mix with code.


Login

Who's Online

404 user(s) are online (275 user(s) are browsing Support Forums)


Members: 0


Guests: 404


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits