Twitter flow position Bottom 2

  • Hazzo
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 3 months ago #41712 by Hazzo
How do you get the Twitter flow working like it's flowing in the demo version?
I only get a link to the Twitter page displayed.

Please Log in to join the conversation.

More
10 years 3 months ago #41721 by ivan.milic
That means script twitter script did not initialize for some reason. Full custom html content for that module is :
Code:
<a class="twitter-timeline" height="300" href="https://twitter.com/hotjoomla" data-widget-id="442343836820307968" data-chrome="noheader nofooter noborders noscrollbar transparent" data-tweet-limit="2">Tweets by @hotjoomla</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+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

script part is important. If your editor is configured not to allow script tag it may be it removed it. So one solution is to make sure that code is there and that it is not removed when saving module settings.

Other is to take this whole script element and place it just above </body> in index.php of template
The following user(s) said Thank You: Hazzo, shokti

Please Log in to join the conversation.

More
9 years 10 months ago #44257 by shokti
What file you will change beside index.php or twitter script module? Thanks

Please Log in to join the conversation.

More
9 years 10 months ago #44259 by ivan.milic
You don't have to change php files , just configure your editor to allow script in content.
Than you will ba able to add twiteer script

Please Log in to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum