Hi,

I use the twitter pull module and it's really great but i use it to get twitter messages onto my site based on hash-tags. Problem here is that after 2 days my twitter message disappears from twitter so it's doesn't show up on my site anymore. That's no problem but i would like to see a "No messages found" than instead. But nothing appears... how can i fix that?

Tim

Comments

rolfmeijer’s picture

What I did was creating my own template and added a test on line 29, so you get:

  <?php if ($tweets): ?>
    <?php if (is_array($tweets)): ?>

Than with an else construction at the end, I show an empty-tekst, something like:

  <?php else: ?>
    <p>Sorry, there hasn’t been tweeted much lately.</p>
  <?php endif; ?>

</div>

Maybe this can (should?) be done in a more elegant way, if so please let me know.