1. chabi01
  2. RO CSVI
  3. Tuesday, 10 November 2020
  4.  Subscribe via email
Hi Tharuna,

As i have the issue here again, i show you in a video.
This is not a CSVI issue, but as i get no answer on Virtuemart forum, i show you the issue i have with " ' ".

Maybe you know a way in CSVI to create a "corrector"... or something else...
Thanks for all the help you give me on so many question i have :)

Xavier
Attachments (1)
Accepted Answer
Accepted Answer Pending Moderation
Hello Xavier,

Wrong support board man :D

This is clearly an where they do not apply the html_entity_decode() on the dropdown values. Only advice I can give is to create a template override of the page rendering the dropdown and apply the html_entity_decode() on the values. I do not know which file and where but that is the only solution you can do without losing your changes on an update.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # Permalink
Accepted Answer Pending Moderation
Hello Xavier,
I created this as new topic as the previous discussion was set as resolved.

I see the issue with #39; in your video. What i don't understand here is that the single quote shows perfect on backend page but on frontend it is not rendered and shows as HTML entity. As you said it is not CSVI issue but to check how the product has been saved in database, can you post the latest import debug log? To get the debug log check how to collect debug information? document.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi Tharuna,
In fact, the import is fine. This is, as the video shows, an issue in Virtuemart during the saving of the product : as soon there is a " ' ".
In the database, the product name is then save with the #39 html entity. If shown in the page, all is shown "correctly" (as the page translate the entity), but in the dropdown, this is not "translated" and shown as it.
I was wandering if you know enough Virtuemart (either save, either the dropdown constructor in the subtemplate) to try to avoid this, or even if i create a new menu item in Joomla backend, how to run a php script to "correct" the name (with a replace).

So far, i know it is far away from your regular support perimeter (Ro CSVI) but as you have a good knowledge and also as you are "present" (when other support board have no answer at all...), i'm asking if you could help me by driving me here :)

I see 2 solutions :
1 - change the code of Virtuemart, either when i save the product, either when the dropdown is constructed to avoid the #39 on screen,
2 - create a mini script in php with something like "in the table xxxx_product_fr_fr, replace all the #39 by a ' "

but in both case, i dont know many little things like :
- how to run a script on a table in Joomla to replace a value in a column, and to run it from a backend menu directly
and
- if i modifiy Virtuemart, on the next update, i will loose all my "fixes", so is the script the best way ?


Anyway, i would understand if you answer me "hey man, wrong support board !" :)

Have a good day Tharuna :)
Xavier
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hi Tharuna...uhhhh... Roland !!!! :D

Thanks for the advice : if you dont know what part or file is involved in Virtuemart, i cannot ask more from you (Tharuna did a lot to help me already !!!)

Thanks anyway :)
Xavier
  1. more than a month ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!