Encoding bug for the products grid
11 years 6 months ago - 11 years 6 months ago #194995
by filiar
Encoding bug for the products grid was created by filiar
-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.16
Hi,
For the products grid non UTF characters for the product description links are not shown as expected after update:
In the product edit page no such problem exists and the names are correctly displayed
Regards!
-- HikaMarket version -- : 1.6.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.16
Hi,
For the products grid non UTF characters for the product description links are not shown as expected after update:
In the product edit page no such problem exists and the names are correctly displayed
Regards!
Last edit: 11 years 6 months ago by filiar.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195005
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Encoding bug for the products grid
Hi,
The modification has been introduced in HikaMarket 1.6.0 ; the product name is now "secured" with an "htmlentities" ; so it does not display the HTML code if a vendor enter a "<strong>" in the product name it will not put the text in bold.
I will see to perform some new tests but for the moment you can create a view override for the view "productmarket | listing" and replace the
By
Maybe a htmlspecialchars would be better and I'll also see to force the UTF8 encoding.
Regards,
The modification has been introduced in HikaMarket 1.6.0 ; the product name is now "secured" with an "htmlentities" ; so it does not display the HTML code if a vendor enter a "<strong>" in the product name it will not put the text in bold.
I will see to perform some new tests but for the moment you can create a view override for the view "productmarket | listing" and replace the
Code:
echo htmlentities($product->product_name);
Code:
echo $product->product_name;
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195007
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Encoding bug for the products grid
Hi,
Easier solution, in the view "productmarket | listing", replace the
By
To use the right function with the right encoding.
(It will be added in the next release).
Regards,
Easier solution, in the view "productmarket | listing", replace the
Code:
htmlentities($product->product_name)
Code:
$this->escape($product->product_name)
(It will be added in the next release).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195095
by filiar
Replied by filiar on topic Encoding bug for the products grid
Thank You, Jerome.
That solved the encoding issue.
Regards!
That solved the encoding issue.
Regards!
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.215 seconds