virtuemart removes html from product and category description

Started by dorkus, October 15, 2014, 11:58:13 AM

Previous topic - Next topic

dorkus

i there,

when we edit product description with html tables, all html information gets removed when we save the item.

it is working fine with joomla articles etc. we tried jce and other editors - still not saving.

"admin" is assigned properly in vm shop admin and there is no filtering for superadmin user.

it is a bug in virtuemart. version < 2.6.6 are working for me.

system is joomla 2.5.27 with vm 2.6.10 on php 4.3

we tried sourcer but the effect is the same.

please fix!

thank you.  ;D

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

dorkus

the user is super admin.

i tried with a clean fresh install as well. it simply removes all html tags and leaves the content. this hasnt been the case before.

dorkus

guys, please fix this!!! i am 100% sure everybody needs this option to add html to product description and category description! ;(

GJC Web Design

I assume no one is answering because we don't have this problem

just tried on J2.2.27/VM2.6.10 - jce editor in product admin

html stays

see -> http://www.gjcwebdesign.com/vm2t4/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=26&virtuemart_category_id=3&Itemid=115

desc is full of html added by the editor and by raw source
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation


GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

alatak

Hello

i don't see any reason in the code why HTML description should not be saved. Even in the short description it is allowed.

dorkus

this is so weird.

we still have this problem.... i spend days trying to sort this out - nada.

we are now at vm 2.5.28 and vm 2.6.14 - an product description is not saving html

we were originally updating from 2.0.22d to 2.6.10.

any idea how to bugtrack this???

please help me!

thanks!

jenkinhill

In J2.5.28/VM2.6.14 I can add html into description, and short & long product descriptions and save. I am superadmin using TinyMCE as editor with VM default templates. See the pics for a cat description, editor window, editor code window and the appearance on the page.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

dorkus

glad it works for you :)

we have used tinymce / jce - all same problemo.

strange thing i noticed: it only happens when editing existing products. when i add a new product it saved html just fine....

any idea?

i'm at my wits ends....

jenkinhill

The product I used was already created - one of the VM sample data products.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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


Milbo

You did not answer your permission settings. You must be SuperAdministrator!
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/