Keyword

java custom code

More
7 years 3 months ago #163546 by Raied
java custom code was created by Raied
Hello

I want to use 24 live blog system with my joomla

www.24liveblog.com/

this website give me a code to add it in the item and this code will show the content as a live blog when i publish any text in my 24 live admin area

the problem is that, when adding the cide to the k2 its still code in the front end

any advice please?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #163551 by Krikor Boghossian
Replied by Krikor Boghossian on topic java custom code
Can you send me an example of this code?
It is pure Java (not JS) it will not work.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #163567 by Raied
Replied by Raied on topic java custom code
this is the code
<div id="24lb_thread" class="lb24 lb_1405505"></div>
<script type="text/javascript">
(function() {
var lb24 = document.createElement('script'); lb24.type = 'text/javascript'; lb24.id = '24lbScript'; lb24.async = true; lb24.charset="utf-8";
lb24.src = '//v.24liveblog.com/embed/24.js?id=1405505';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(lb24);})();
</script>

and its should look like this in the joomla front end, after add the code in the item

www.24liveblog.com/live/1405505

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #163581 by Krikor Boghossian
Replied by Krikor Boghossian on topic java custom code
Make sure you are pasting the code as-is not as HTML entities.
Use an editor and edit your overrides instead of using the custom code module.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum