Elxis CMS Forum

Extensions => Modules => Topic started by: ofigustavo on October 19, 2011, 19:59:33

Title: inserting code in modules
Post by: ofigustavo on October 19, 2011, 19:59:33
Hello. I am trying to insert this code in a new module (custom mode):


<!-- Start Bravenet.com Service Code -->
<script type="text/javascript" src="http://pub10.bravenet.com/counter/code.php?id=408504&usernum=827518699&cpv=2"></script>
<!-- End Bravenet.com Service Code -->

but it does not work. In html does not appears the <script>. How can I solve this?
and the last question is: I have the fckedit activated, but How I can use fkceditor in modules?


 ;D
Title: Re: inserting code in modules
Post by: Ivan Trebješanin on October 19, 2011, 21:23:46
We don't use fck, we use tinymce.  ???
Title: Re: inserting code in modules
Post by: ofigustavo on October 19, 2011, 21:35:27
yes,yes,sorry. I use TinyMce. But How can I insert this code ?.thanks.
Title: Re: inserting code in modules
Post by: webgift on October 19, 2011, 22:10:26
You can do that.
1. [Administrator area] Modules -> Site Modules -> [At the top right area] Create a new one, publish at the desired module position and save it.
2. [Administrator area] Bots -> Site Bots -> TinyMCE WYSIWYG Editor -> [At the Prohibited Elements fields] -> remove the element : script and save it.
Now you must go back to the created module and copy the code that you wish. After you finish that you must add again the script element to the prohibited fields at TinyMCE WYSIWYG Editor settings.