twitter won't work

  • milos
    Support Staff
  • Moderator
  • Moderator
More
12 years 3 days ago #30280 by milos
Replied by milos on topic twitter won't work
Please temporarily use the attached file until we upgrade the module completely (it may take a while). Download and unzip the attached file and upload it to /modules/hot_twitter/tmpl (overwrite existing).


File Attachment:

File Name: default_20...6-13.zip
File Size:1 KB
Attachments:
The following user(s) said Thank You: plive

Please Log in to join the conversation.

  • plive
    Active member
  • Topic Author
  • Member
  • Member
More
11 years 11 months ago #30391 by plive
Replied by plive on topic twitter won't work
Hi Milos,
thank you very much for this solution, i like it.
but, how to search tweets about sportsanté ?

Please Log in to join the conversation.

More
11 years 11 months ago #30398 by ivan.milic
Replied by ivan.milic on topic twitter won't work
You have search query as parameter in module settings

Please Log in to join the conversation.

  • plive
    Active member
  • Topic Author
  • Member
  • Member
More
11 years 11 months ago #30404 by plive
Replied by plive on topic twitter won't work
Hi Ivan,
yes i already placed ''sportsanté'' in the module parameter
and changed default.php
<a class="twitter-timeline" href=" twitter.com/search?q= " data-widget-id="345117580459143169">sportsanté
<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>

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 11 months ago #30407 by milos
Replied by milos on topic twitter won't work
Twitter API 1.0 is not active anymore... While we are making new module, you can do this:

1. Login to your twitter account.
2. Go to Account Settings > Widgets > Search
3. Enter Search Query and click Create Widget
4. Enter widget height and select light or dark theme.
5. Copy code from twitter and paste it into file /modules/mod_hot_twitter/html/default.php

Leave just this part of this file
Code:
<?php /*------------------------------------------------------------------------ # "Hot Twitter" Joomla module # Copyright (C) 2013 HotJoomlaTemplates.com. All Rights Reserved. # License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only # Author: HotJoomlaTemplates.com # Website: http://www.hotjoomlatemplates.com -------------------------------------------------------------------------*/ defined('_JEXEC') or die('Restricted access'); // no direct access // get the document object $doc =& JFactory::getDocument(); // add your stylesheet $doc->addStyleSheet( 'modules/mod_hot_twitter/tmpl/style.css' ); // style declaration $doc->addStyleDeclaration(' ' ); ?>

Delete everything else and paste code from twitter site below this.
The following user(s) said Thank You: plive

Please Log in to join the conversation.

More
11 years 11 months ago #30515 by kingston.clinton
Replied by kingston.clinton on topic twitter won't work
Hi Ivan

I launched my site only to find the Twitter module is not working.
Reading your thread do you know when the API issue is going to be resolved?

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum