- Posts: 146
- Thank you received: 0
Twitter flow position Bottom 2
-
Hazzo
Inactive member - Topic Author
- Member
Less
More
10 years 3 months ago #41712
by Hazzo
Twitter flow position Bottom 2 was created 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.
I only get a link to the Twitter page displayed.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 3 months ago #41721
by ivan.milic
Replied by ivan.milic on topic Twitter flow position Bottom 2
That means script twitter script did not initialize for some reason. Full custom html content for that module is :
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
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
Please Log in to join the conversation.
-
shokti
Inactive member - New Member
Less
More
- Posts: 8
- Thank you received: 0
9 years 10 months ago #44257
by shokti
Replied by shokti on topic Twitter flow position Bottom 2
What file you will change beside index.php or twitter script module? Thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
9 years 10 months ago #44259
by ivan.milic
Replied by ivan.milic on topic Twitter flow position Bottom 2
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
Than you will ba able to add twiteer script
Please Log in to join the conversation.
Time to create page: 0.163 seconds