VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Lexiboy on June 25, 2012, 16:43:09 PM

Title: <a href="javascript:...
Post by: Lexiboy on June 25, 2012, 16:43:09 PM
On Joomla 2.5 and VM 2.04

I am trying to add javascript links in the description of products and categories, but 'javascript' gets filtered out by VM it seems.  The purpose is to hide/unhide information, so a little javascript function has to be called.

On the main Joomla site it does work, I configured the editor for this and disabled the filter for this.

How can I get this to work?
Title: Re: <a href="javascript:...
Post by: sagatovumid on December 23, 2012, 10:31:29 AM
Hello everyone! I am bumping the thread because i have the same problem as TS.
I have to add a script like "<a href="javascript:..." to the description. Does anyone know the solution?
Title: Re: <a href="javascript:...
Post by: Milbo on December 23, 2012, 11:49:54 AM
Imho you must be vm admin and joomla superadmin, then you are allowed todo it-
Title: Re: <a href="javascript:...
Post by: sagatovumid on December 23, 2012, 12:51:57 PM
I am the only user on my web-site.
P.S. My script is  <a href="javascript:return false;">Link</a>
Title: Re: <a href="javascript:...
Post by: bytelord on December 23, 2012, 12:59:03 PM
or try

http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/custom-code-in-content/4470
http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/custom-code-in-content/5051

Regards
Title: Re: <a href="javascript:...
Post by: sagatovumid on December 23, 2012, 13:06:53 PM
bytelord,
Thanks for hint. Will certainly reply whether it worked or not.