Quotation mark in category name
- jameswadsworth
-
Topic Author
- Offline
Less
More
15 years 2 months ago #21024
by jameswadsworth
Quotation mark in category name was created by jameswadsworth
When there is quotation mark in the menu name (we are testing with lost of products name with the inch's symbol "), when you edit the menu the name is cut off at the point of the quotation mark.
Business 1.5.2 Joomla 1.5.21
how to recreate:
1) we create a menu using the joomla menu manager. We give a name (e.g. 1/4" S/D Socket Sets) and associate parent item. Click on 'apply'
2) click 'HikaShop Options' and now the name has been cut to '1/4'. If we click on 'apply' and return to the joomla menu manger the name is now just '1/4'
It is also the same for menu names we have already created
We have also tried created a menu item directly in the hikaship admin and the same thing happens when saved.
I am sure that this was not a problem for versions prior to 1.5.2 because we have already created and edited menu items with names with the inch's symbol without any problems
Business 1.5.2 Joomla 1.5.21
how to recreate:
1) we create a menu using the joomla menu manager. We give a name (e.g. 1/4" S/D Socket Sets) and associate parent item. Click on 'apply'
2) click 'HikaShop Options' and now the name has been cut to '1/4'. If we click on 'apply' and return to the joomla menu manger the name is now just '1/4'
It is also the same for menu names we have already created
We have also tried created a menu item directly in the hikaship admin and the same thing happens when saved.
I am sure that this was not a problem for versions prior to 1.5.2 because we have already created and edited menu items with names with the inch's symbol without any problems
Please Log in or Create an account to join the conversation.
15 years 2 months ago #21035
by nicolas
Replied by nicolas on topic Re: Quotation mark in category name
The problem was always there. Thanks for reporting it.
You need to edit the file form of the view menus via the menu Display->Views and change the code:
echo @$this->element->name;
by:
echo $this->escape(@$this->element->name);
We'll fix that in next release.
You need to edit the file form of the view menus via the menu Display->Views and change the code:
echo @$this->element->name;
by:
echo $this->escape(@$this->element->name);
We'll fix that in next release.
Please Log in or Create an account to join the conversation.
Time to create page: 0.272 seconds