Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Help! RawHTML-addon doesn't show my Twitterfeed embedcode. Any idea why?

Featured Lock Resolved Issue
Dear support! I'm a helix3/Page Builder Pro user. I would like to embed a Twitterfeed in my website. Not a person timeline, but a search/hastag related timeline. Therefore i cannot use the Twitter addon provided by Page Builder Pro because this is only for person timelines. So, I created an embed code via Twitter itself and placed this code a the Raw HTML addon on my homepage. But when I go to my homepage, it doesn't show anything. The entire space remains white.

This is the code: <a class="twitter-timeline" href="https://twitter.com/hashtag/sinterklaas" data-widget-id="803200884524150784">Tweets over #sinterklaas</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://http://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs";);</script>

Any idea why it isn't working?

I also tried to place the code into an article (in the htmlcode), save it as a module and load this module via de Module-addon, but then I only get a link to the twitterfeed. It doesn't load the feed itself into the website.

I hope you can react soon, because I have a deadline for this site tommorow... :)
Thank you in advance!

5 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi Eva,
Raw HTML module it's only for classic HTML code no JS scripts.
---
quick solution, please use Custom PHP/JS code module - it should help.
In attachment very good module which I use very often.
Then use Module addon to use it inside SP PB layout

Attachments (1)

  • hd-anycode3.zip 1.7 KB

Eva Stultjens

More than a month ago #Permalink
Hi Paul! Ah ofcourse, I did think of that cause briefly, but had no idea that there are also modules for that. Thanks for this simple and clean solution, it works perfectly :)

Syed H

More than a month ago #Permalink
Not sure if this stands relevant as of now, but I found this plugin very useful for such situations.

Extension for Custom Codes

Best Regards,
Syed H | Website

Paul Frankowski - Staff

More than a month ago #Permalink
In general HTML addon is only for html code , not JS, not PHP

Flexi or any-code module - all does this same.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 119
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 110
Toufiq

Toufiq

Total Accepted Answers: 89
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 4
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

296154

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us