|
BUG: Display following dollar sign ($) 1 Year, 3 Months ago
|
|
|
Inside a rounded corner box, there's an display error on numbers that start with a dollar sign ($). The dollar sign and the two numbers following it do not display.
Text that reads $125,000 displays as 5,000
Text that reads $100 displays as 0
Xtypo version 1.2, J 1.0.15
Thanks for the help.
|
|
Borisgoodenough (Visitor)
|
Logged
|
|
|
|
|
Re:BUG: Display following dollar sign ($) 1 Year, 3 Months ago
|
|
|
I am having this problem also. I hope an answer can be found soon.
|
|
Steve (Visitor)
|
Logged
|
|
|
|
|
Re:BUG: Display following dollar sign ($) 1 Year, 3 Months ago
|
|
|
I was trying to get $200 to print out and I had to type in $$22200 to get it to print. I am not sure why, but it gave me the result I wanted, but not what I expected.
|
|
Steve (Visitor)
|
Logged
|
|
|
|
|
Re:BUG: Display following dollar sign ($) 9 Months, 3 Weeks ago
|
|
The LoadPosition plugin from Joomla had the exact same problem: forum.joomla.org/viewtopic.php?f=199&t=371762
They fixed the LoadPosition bug in version 1.5.10 by using str_replace instead of preg_replace.
|
|
Leo (Visitor)
|
Logged
|
|
|
|
|
Re:BUG: Display following dollar sign ($) 9 Months, 2 Weeks ago
|
|
Ok here's a quick fix:
Find this (around line 505):
| Code: |
$row->text = preg_replace("'{".preg_quote($key)."}".$a."{/".preg_quote($key)."}'s", $startcode.$code.$endcode , $row->text );
|
And replace it with:
| Code: |
$row->text = preg_replace("'{".preg_quote($key)."}".preg_quote($a)."{/".preg_quote($key)."}'s", $startcode.$code.$endcode , $row->text );
|
|
|
Leo (Visitor)
|
Logged
|
|
|
|
|