Los videos se eliminan al guardar el documento

  • Posts: 2
  • Thank you received: 0
12 hours 23 minutes ago #373471

-- HikaShop version -- : HikaShop 6.6.0
-- Joomla version -- : 6.0.0
-- PHP version -- : 8.3
-- Browser(s) name and version -- : safari 26.2 // chrome 153.0.8010.53

I don't know how to resolve the HikaShop security issue preventing YouTube videos from working.

In the "Text Filters" tab, I’ve already changed the filter type to "No Filtering" for my Super Administrator account.

I’ve also enabled iFrames in the text editor (TinyMCE) by removing the word "iframe" from the restricted list and adding `iframe[*]` to the "Extended Valid Elements" setting.

I’ve tried countless other suggestions, yet the results are always the same: the layout breaks, the videos fail to load (or only the text link remains), or they appear correctly at first but vanish when the document is saved.

I use Safari and Chrome with HikaShop Starter 6.6.0. The problem doesn't occur when I insert videos into standard content articles; it only fails when I do so within HikaShop content.

Can you help me solve this problem without having to scrap the project and switch back to VirtueMart? Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 86212
  • Thank you received: 14219
  • MODERATOR
9 hours 3 minutes ago #373472

Hello,

What removes the videos is not Joomla but a HikaShop setting: when a product is saved, HikaShop filters the HTML of its description and removes the iframe tags, which is how YouTube videos are inserted. That's why it works in articles and not in products, whatever you change in the Joomla text filters or in TinyMCE.

Go to System>Configuration, in the Main tab, and in the Product section, set the "Filter HTML in description" setting to "No" and save. Then edit your product, insert the video again and save it: the video should stay this time.

The following user(s) said Thank You: archie

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
3 hours 37 minutes ago #373474

¡¡¡Gracias!!! Funciono.
Algunos productos quedaron con el diseño roto y todo el texto corrido. Que pude haber tocado que haya hecho esto

Please Log in or Create an account to join the conversation.

  • Posts: 86212
  • Thank you received: 14219
  • MODERATOR
36 minutes ago #373475

Hola,

Cambiar esta opción solo afecta a los próximos guardados, no modifica las descripciones ya guardadas. Lo más probable es que esos productos se hayan guardado antes, mientras el filtro estaba activo: además de los iframes, el filtro elimina también otras etiquetas, como las etiquetas style, lo que rompe el diseño de las descripciones que las usaban. Las pruebas que hizo en la configuración de TinyMCE también pudieron cambiar el código de las descripciones guardadas en ese momento.

Lo que se eliminó al guardar ya no está en la base de datos, así que hay que corregir la descripción de cada producto afectado: abra el producto, revise el código de la descripción con el botón "Toggle Editor" de TinyMCE, vuelva a poner el diseño original (o restaure la descripción desde una copia de seguridad si tiene una) y guarde. Con el filtro desactivado, ya no se eliminará nada.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum