1

How to place widget code in Joomla 3.0 site through a module. Earlier in Joomla 2.5, I used Advanced HTML but could not locate in Joomla 3.3.

2
  • 1
    What do you mean by widget code? Is this short code that is provide by another extension?
    – Lodder
    Commented Nov 17, 2014 at 11:48
  • By widget I meant Java Code that is provided for rotating banner by affiliate marketing companies like cj.com, linkshare.com. I have installed sourcerer extension which appears to be serving my purpose. Commented Nov 18, 2014 at 3:48

2 Answers 2

2
2

The built-in Custom HTML module in Joomla can work, but if you're using TinyMCE as your editor, it will try to clean up your code, thus removing code that such Widgets might contain (usually <script> tags and often empty <div> tags).

One workaround is to use another editor (JCE, RokPad etc.), but this might cause problems if the module is opened later using TinyMCE again.

The easiest way to add any code is to use a custom HTML module, like Custom HTML Advanced.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.