Quote

We're also available for Custom Joomla Development

Hire us now

Sociobox Twitter Widget ID

Hi, it seems Twitter have all but removed their widgets and replaced with a publish page which generates embed code and does not create a widget or a widget ID. I am hoping to have twitter feeds in the Sociobox module but it requires a widget ID at present.
Is there a workaround for this?
Thanks
Regards
Chris
Resolved
The discussion has been resolved.
       
  • Replied by admin on Monday, May 29 2017, 04:24 AM · Hide· #1
    Hi Can you try to open file ../tpmodules/mod_sociobox/tmpl/default.php with your php editor and change the lines 137-138 below :
    <a class="twitter-timeline" width="284" height="150" data-theme="light" data-chrome="nofooter noborders noscrollbar " href="/https://twitter.com/<?php echo $twitteracc; ?>" data-widget-id="<?php echo $twitterwid; ?>">Tweets by @<?php echo $twitteracc; ?></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>


    with the code in the attached file below

    Attachments:

    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by outtherechris on Monday, May 29 2017, 07:13 AM · Hide· #2
    Thanks that has worked when I leave the widget ID out and just enter the twitter name in the module back end. Thanks for the help much appreciated!
    Regards
    Chris
  •  
  •  
    Replied by admin on Tuesday, May 30 2017, 02:06 AM · Hide· #3
    No problem at all. Glad could help ;)
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments