Hello
I am using joomla 2.5.1 and Virtuemart 2.
In Joomla Global Configuration I have Editor set to No Editor and Text Filtering for Super user (Me) set to no filtering.
In Virtuemart, on Category Description, I want to add a YouTube movie, but the code strips out on save.
Any idea what i am doing wrong?
Thank you.
I have the same problem here.
Disabled filtering and also removed iframe from list under Extensions/TinyMCE.
In the article manager it works, but not in Virtuemart product descriptions...
Imho you must be administrator
I have the same problem, but can't solve.
I'm in Adminitrators and Super Users Joomla groups.
I'm in admin group in Virtuemart.
Tried to logout and login after edit permissions.
Tried to select no editor in Joomla configuration.
But the iframe I try to insert in manufacturer description disappear again.
Any suggestion would be appreciated... :(
EDIT: tried to put the iframe in a category description and not works too...
http://forum.virtuemart.net/index.php?topic=79799.0
Quote from: jenkinhill on September 12, 2013, 17:31:59 PM
http://forum.virtuemart.net/index.php?topic=79799.0
Joomla 2.5.14
VirtueMart 2.0.22a
PHP 5.3.10
No live url, I'm working in localhost, sry... and I use custom overrides but no Joomla template with VirtueMart styling...
Sry for the inaccuracy...
Maybe Joomla editor issue?
Seems that JRequest::get('post') cuts off my iframe...
Anyway here is my dirty patch for now:
diff --git a/administrator/components/com_virtuemart/controllers/manufacturer.php b/administrator/components/c
index 45da586..2ad9b8a 100644
--- a/administrator/components/com_virtuemart/controllers/manufacturer.php
+++ b/administrator/components/com_virtuemart/controllers/manufacturer.php
@@ -57,7 +57,9 @@ class VirtuemartControllerManufacturer extends VmController {
/* Load the data */
$data = JRequest::get('post');
/* add the mf desc as html code */
- $data['mf_desc'] = JRequest::getVar('mf_desc', '', 'post', 'string', JREQUEST_ALLOWHTML );
+ // my dirty workaround - allow any type of HTML, cause I need to put a YouTube video here (DON'T TRY THIS AT HOME)
+ //$data['mf_desc'] = JRequest::getVar('mf_desc', '', 'post', 'string', JREQUEST_ALLOWHTML );
+ $data['mf_desc'] = $_POST['mf_desc'];
parent::save($data);
}