How to aviod HTML Tag removement on text item content
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
How to aviod HTML Tag removement on text item content
I create text items via
In the Backend, all <tags> are removed. If I enter <tags> in the backend via RTE, the <tags> will be stored without problems.
What should I do to aviod the <tag> replacement/supression?
Thank for your support ans and kind regards, Michael
Code: Select all
$newTextItem = $textMgr->create();
$newTextItem->setType('long');
$newTextItem->setDomain('product');
$newTextItem->setLabel('Beschreibung');
$newTextItem->setContent('Text with some html <tags>');
What should I do to aviod the <tag> replacement/supression?
Thank for your support ans and kind regards, Michael
Re: How to aviod HTML Tag removement on text item content
You have to overwrite this configuration in your own file and add the allowed tags:
https://github.com/aimeos/ai-admin-jqad ... min.js#L22
https://github.com/aimeos/ai-admin-jqad ... min.js#L22
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: How to aviod HTML Tag removement on text item content
Super, thank you. I'll try this. If I change that in my installation - what would happen on a upgrade of the shop extension?
Re: How to aviod HTML Tag removement on text item content
Add the JS to your own Aimeos extension in ./admin/jqadm/themes/custom.js:
https://aimeos.org/docs/latest/admin/jqadm/customize/
https://aimeos.org/docs/latest/admin/jqadm/customize/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star