Author Topic: Category Title Issue  (Read 1496 times)

ShafanHameed

  • Beginner
  • *
  • Posts: 13
  • A beginner
  • Skype Name: Shafan.Hameed
Category Title Issue
« on: May 21, 2021, 12:13:29 pm »
Hi, First of all my apologies if its being asked. I tried to find it in form but couldn't get any solution.
I am having an issue in category title while using '&' in the title. It is showing sum numbers like $#3B; instead of &.
The actual title is
<title>Computer & IT</title>

But it is showing title like this
<title>Computer &amp;#38; IT</title>

how can i solve this issue ?

Any help will be appreciated. Thanks in advance

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3533
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Category Title Issue
« Reply #1 on: May 21, 2021, 12:18:32 pm »
I think this is a very old and resolved issue.

What VM, Joomla and PHP version ?

What template are You using ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28147
  • Always on vacation
    • Jenkin Hill Internet
Re: Category Title Issue
« Reply #2 on: May 21, 2021, 16:07:04 pm »
I just tested this in VirtueMart 3.8.9 10473 with VMBeez template. Ampersands in category titles displayed correctly.
eg Fish & chips  ( <hi>Fish & chips</h1> )

I do remember an old version (years ago) where & did not always work but &amp did display as &. That was obviously fixed.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

ShafanHameed

  • Beginner
  • *
  • Posts: 13
  • A beginner
  • Skype Name: Shafan.Hameed
Re: Category Title Issue
« Reply #3 on: May 22, 2021, 00:49:32 am »
HI, i am using
Joomla 3.9.26
VirtueMart 3.8.8 10472
Php 7.3.27
Template "Its a custom build template but template is not the problem as it is tested in both Protostar & Beez3. Same issue in both templates as well".

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3533
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Category Title Issue
« Reply #4 on: May 22, 2021, 09:39:26 am »
Please be sure that you have turned off ALL template overrides, css changes and also any plugins that manipulate the html.

What administrator template are you using in backend ?

If You say that you are not using overrides, then there must be something wrong with your character set in database. It works for everyone else.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

ShafanHameed

  • Beginner
  • *
  • Posts: 13
  • A beginner
  • Skype Name: Shafan.Hameed
Re: Category Title Issue
« Reply #5 on: May 22, 2021, 22:01:49 pm »
Well i am using overrides for virtuemart but just for the Css and positioning purpose nothing else like i have added bootstrap grid and change the positions required according to the design and then placed the VM codes to those positions.