Im not getting this

twitter_pull_render ('@Quotes2Inspire', $title = NULL, $num_items = 50, $themekey = 'twitter_pull_quotes');

With above my tpl file shoud be called twitter-pull-quotes.tpl.php. Right? That doesn't work tough, returns in my watchdog:

Non-empty list of tweets returned blank space after applying theme function. Most probably you are passing invalid/unregistered theme key or tpl file corresponding to the theme key does not yet exist. Please fix the problem.

Comments

Michsk’s picture

Cache is cleared.

kostajh’s picture

I'm having the same problem. Any guidance would be much appreciated.

irakli’s picture

Status: Active » Closed (works as designed)

You have to declare your custom theme key or use the default one i.e. don't indicate theme key and just create twitter-pull-listing.tpl.php in your theme.

Michsk’s picture

The thing is that i have declared my themekey but it's not being used.

kostajh’s picture

Status: Closed (works as designed) » Active

Sorry, I should have been a bit clearer.

In my theme directory I have a file called "twitter-pull-custom.tpl.php". The contents are a copy of "twitter-pull-listing.tpl.php" with some slight modifications.

My custom.module has this in it:


function twitter_pull_custom_theme() {
  return array(
      'twitter_pull_custom' => array(
        'arguments' => array('tweets' => NULL, 'twitkey' => NULL, 'title' => NULL),
        'template' => 'twitter-pull-custom',
      ),
    );
}

Could you let me know what I am doing wrong?

d3p0’s picture

Same issue here.

dlin’s picture

Is the "twitter-pull-custom.tpl.php" file in your custom module folder? It won't get picked up in the theme directory unless there is one with the module. I got my theme key working so that could be it.