News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

HTML not saved in vm product description

Started by dorkus, September 09, 2014, 15:20:29 PM

Previous topic - Next topic

dorkus

hi 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.

any ideas?

system is joomla 2.5.24 with vm 2.6.6 on php 4.3

thanks so much!

jenkinhill

To allow admins to add code which is not sanitized I use Sourcerer
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

it was working flawlessly in vm 2.0.26d which we upgraded from to vm 2.6.6 - as soon as i edit product description, all tables are gone which is weird?!?! is this a bug?

is it generally forbidden in vm 2.6.6. no matter what editor is used??

jenkinhill

I have always used Sourcerer so would not test that.
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

i will certainly test this - but - each new component means additional security risks. and it used to work without?!?

jenkinhill

Allowing store owners to put un-sanitized code into a product description could also be a security risk.  I just tested this with VM2.9.9b (which is the version I am now working with) and code can be added into the product desc by superadmin, but not by an admin, even with the right ACL permissions set. That is the function I would expect to see.
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

so i tested sourcer free version and it still removes me all HTML from product description. it works fine for other content pages. just virtuemart removes all html tabs. it is soooo weird, i dont know what to do anymore. please help...

here's the table i try to add:


<table>
<tbody>
<tr>
<td rowspan="4" align="left" height="130" valign="top"></td>
<td height="25"><strong>Größe</strong>
</td>
<td><strong>S</strong>
</td>
<td><strong>M</strong>
</td>
<td><strong>L</strong>
</td>
<td><strong>XL</strong>
</td>
<td><strong>XXL</strong>
</td>
</tr>
<tr>
<td height="25">Weite*</td>
<td>50</td>
<td>53</td>
<td>56</td>
<td>60</td>
<td>64</td>
</tr>
<tr>
<td height="25">Länge**</td>
<td>70</td>
<td>72</td>
<td>74</td>
<td>76</td>
<td>78</td>
</tr>
<tr>
<td colspan="6" height="55">
<p><strong>Zu beachten:</strong> Die Daten sind Herstellerangaben ohne Gewähr. Die Daten können bis zu 5% abweichen.</p>
<p>* Maßeinheit 2cm unterhalb der Armöffnung, quer entlang des Kleidungsstücks.<br />** Maßeinheit ausgehend vom höchsten Punkt der Schulter, bis zum unteren Rand des Kleidungsstücks.</p>
</td>
</tr>
</tbody>
</table>

dorkus

i still have this problem. does anybody else have this??? we are running 2.5.28 & vm 2.6.14 now.

please advise....