News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Single quotes (Apostrophe) in custom SEO title stored as '

Started by sirius, September 29, 2020, 15:12:55 PM

Previous topic - Next topic

sirius

Hello,

when we use single quote (') for the custom titles of categories or products, they are stored in DB as ' so the title show ' instead of single quote.
Should be corrected.

But does anyone have the same behaviour on this ?
thanks  :)
J3.10.12 | PHP 7.4.33 + APC + memcached + Opcode
VM Prod : 3.8.6 | VM Test : 4.0.12.10777

pinochico

Yes,

we use override in template and convert html entities in title to normal text.

But primary we learn admin - don't use non-standard char in title :D
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

sirius

Thanks, I know that.

But this is a standard char, only difference is that you must enclosed it in double quotes nor escape with backslash if it could be interpreted as a code.
I mean everybody use ' Who really use ’ in titles ?

And Joomla itself do not have this bug, and virtuemart standard title do not have it too.
So why is virtuemart's custom title not treated the same?

Even if it is saved as an html entity, on display the entity should be interpreted and not literally displayed.
So I will check the template again just in case.  ::)
J3.10.12 | PHP 7.4.33 + APC + memcached + Opcode
VM Prod : 3.8.6 | VM Test : 4.0.12.10777

jjk

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

sirius

Thanks jjk
that's also the case when you set a title to a custom field
J3.10.12 | PHP 7.4.33 + APC + memcached + Opcode
VM Prod : 3.8.6 | VM Test : 4.0.12.10777