goteo-legacy
goteo-legacy copied to clipboard
How to remove '&euro' from code?
Hello,
I removed almost all euro symbols from my goteo app, however, I can not seem to remove the euro symbol that is conjugated with an 'amount' invested. I've looked through the text.sql file but can not find it.
Specifically, the message from invest when the amount to be brought message is displayed. The html output shows '&euro'.
Is this located in some text table that I am missing? Or is it conjugated with $amount variable directly in the code somewhere?
Please help.
Thanks, Wes
It's harcoded on the view files. El 13/08/2014 21:48, "dominick01234" [email protected] escribió:
Hello,
I removed almost all euro symbols from my goteo app, however, I can not seem to remove the euro symbol that is conjugated with an 'amount' invested. I've looked through the text.sql file but can not find it.
Specifically, the message from invest when the amount to be brought message is displayed. The html output shows '&euro'.
Is this located in some text table that I am missing? Or is it conjugated with $amount variable directly in the code somewhere?
Please help.
Thanks, Wes
— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/127.
Ok thank you!
On Wednesday, August 13, 2014, Julián Cánaves [email protected] wrote:
It's harcoded on the view files. El 13/08/2014 21:48, "dominick01234" <[email protected] javascript:_e(%7B%7D,'cvml','[email protected]');> escribió:
Hello,
I removed almost all euro symbols from my goteo app, however, I can not seem to remove the euro symbol that is conjugated with an 'amount' invested. I've looked through the text.sql file but can not find it.
Specifically, the message from invest when the amount to be brought message is displayed. The html output shows '&euro'.
Is this located in some text table that I am missing? Or is it conjugated with $amount variable directly in the code somewhere?
Please help.
Thanks, Wes
— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/127.
— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/127#issuecomment-52105932.
Hi again, I have searched many of the view files but can not find where '&euro' is hard coded.
I am looking specifically for the message displayed on the user/login page, 'user-login-required-login. You're going to bring 100€'
Do you happen to know where this '&euro' is hard coded? The 'You're going to bring' is from the 'texts' table, but clearly the $amount and '&euro' is conjugated somewhere else when the 'message' is created.
Thanks again.
That is on controller/user login method. The amount received from the invest page POST is set into the $msg, harcoded on line 61. El 14/08/2014 04:51, "dominick01234" [email protected] escribió:
Hi again, I have searched many of the view files but can not find where '&euro' is hard coded.
I am looking specifically for the message displayed on the user/login page, 'user-login-required-login. You're going to bring 100€'
Do you happen to know where this '&euro' is hard coded? The 'You're going to bring' is from the 'texts' table, but clearly the $amount and '&euro' is conjugated somewhere else when the 'message' is created.
Thanks again.
— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/127#issuecomment-52138200.
Ah! Fantastic! Thank you!
Wes
On Thu, Aug 14, 2014 at 12:09 AM, Julián Cánaves [email protected] wrote:
That is on controller/user login method. The amount received from the invest page POST is set into the $msg, harcoded on line 61. El 14/08/2014 04:51, "dominick01234" [email protected] escribió:
Hi again, I have searched many of the view files but can not find where '&euro' is hard coded.
I am looking specifically for the message displayed on the user/login page, 'user-login-required-login. You're going to bring 100€'
Do you happen to know where this '&euro' is hard coded? The 'You're going to bring' is from the 'texts' table, but clearly the $amount and '&euro' is conjugated somewhere else when the 'message' is created.
Thanks again.
— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/127#issuecomment-52138200.
— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/127#issuecomment-52150689.
Couldn't the currency be made configurable? I'm trying to implement Goteo for an organization in Cameroon, but I guess it'll be tough to use CFA or XFA as currency?
Right now, currency is soft-typed, it just change on display. On the inner system there is any defined currency.
We just started to analyse the development strategy for multi-currency on goteo.org, we cant ensure when will it get to this repository.
As we said to @dominick01234 regarding this matter, we'll welcome any shared approach.
Configurable currency would be ideal for sure. However it's not that difficult to setup Goteo for any currency.
Here is a not so fancy method:
- delete the CSS/euro folder
- replace the '&euro' hard coded string in the view files and the invest.php file with your currency symbol.
- use number_format() where /amount is used for USD
Takes some time but doable.
On Friday, August 29, 2014, Psy-Q [email protected] wrote:
Couldn't the currency be made configurable? I'm trying to implement Goteo for an organization in Cameroon, but I guess it'll be tough to use CFA or XFA as currency?
— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/127#issuecomment-53869226.