Change the tooltip "navigate to topic" with node title

When hovering the pager items a tooltip is shown. This is standard the tooltip "navigate to topic". To change the tooltip dynamically in the node title, you need to have a variable for the tooltip in the ddblock template file of the ddblock theme you use. You need to create this variable for the template file in the pager preprocess function in template.php.

You need to add the following code to the pager preprocess function:
[theme_name]_preprocess_ddblock_cycle_pager_content in the template.php file, inside the "for each" loop:

      // add tooltip variable
      $pager_items[$key1]['tooltip'] =  $result->node_title;

In your ddblock template file : ddblock-cycle-pager-content-[ddblock-theme-name].tpl.php (I used upright50 as an example) you can now use:

      <a href="#" title="<?php print $pager_item['tooltip']?>" class="pager-link"><?php print $pager_item['image']; ?><?php print $pager_item['text']; ?></a>

instead of

      <a href="#" title="navigate to topic" class="pager-link"><?php print $pager_item['image']; ?><?php print $pager_item['text']; ?></a>


Carolyn Turner

This is certainly what's more a good report that i definitely enjoyed reading reviewing. It is actually no regularly that i contain the risk to discover a specific thing. search engine optimization techniques

Billy Porter

What a life saver! The team is honest, trustworthy, hard working, dedicated, and reliable. I cannot recommend rancho santa margarita air conditioning repair enough. Very knowledgeable and fair. I would recommend him to anyone without hesitation!

janice owens

That'sthe rationale advertising and marketing for you to proper studying before writing. Also, it is attainable to write down superior writing because of this. buy instagram cheap followers

Carolyn Turner

Everyone loves your special upload. It is really superb to know any person demonstrate around thoughts while in the facility and quality in regards to this critical issue may just be conveniently found. Military Steroids

Olivia Rose

I read that Post and got it fine and informative. بهترین وکیل چک

Mary Walters

That appears to be without doubt terrific. A good number of teeny facts are meant experiencing great deal of background abilities. I will be interested the thing a large amount. seo google

Rhys Hall

This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! economical studio in dubai

OwenLeo Ross

Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting. Anadrol Vs Dbol

You ought to basically

You ought to basically fantastic not to mention solid advice, which means notice: آهنگ جدید هوروش بند

This was really an

This was really an interesting topic and I kinda agree with what you have mentioned here! happy holi quotes 2018

Kevin Kim

This is my first visit to your web journal! We are a group of volunteers and new activities in the same specialty. Website gave us helpful data to work.

Samuel Gutierrez

I admit, I have not been on this web page in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. I thank you to help making people more aware of possible issues. GNC Legal Steroids


This kind of seems totally best. Every one of these little information are manufactured together with lots of backdrop information. I prefer that a whole lot


This kind of seems totally best


I'd prefer someone's area. It happens to be superior to monitor all people verbalize in the heart and soul combined with readability within this theme important spot tend to be quickly diagnosed.

Virginia Chen

That appears to be excellent however i am still not too sure that I like it. At any rate will look far more into it and decide personally! lecciones de manejos

Marie Ramos

Hey, this day is too much good for me, since this time I am reading this enormous informative article here at my home. Thanks a lot for massive hard work. romantic quotes

David Mendez

Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return. Russian women dating marriage


The post is written in very a good manner and it contains many useful information for me. Is The Sergi Constance Natural Or On Steroids?


I have just quit my job as a writer for an essay writer service and started learning html. Hope one day I will be able to use your advice:)

Thanks for putting the links

Thanks for putting the links on your review web page. But as I don’t know much about the computer language so how can I use these links. And make their use beneficiary for me. Can you please elaborate this to me. It will be a lot of help for me. Thanks and waiting.

Tooltip Link

Okay, just to clarify your "preprocess snippet" documentation for the tooltip. I added these code snippets and did not have any problems, but all it did was remove the "navigate to topic" text away. I assumed it would add the current Pager item text. But nothing displays. Do I need to add an additional field to my content type called "tooltip?" How do I control the text that displays in the "tooltip" field. Please explain a bit more, if possible.

Thank you.

Re: Tooltip link

Don't know how to explain this more clear.

Did you add the line:

// add tooltip variable
      $pager_items[$key1]['tooltip'] =  $result->node_title;

to the pager_preprocess function

This line sets the tooltip variable to be the title of the node.

Hope this helps you further, please let me know.

If this does not help you further, please make an issue in the issue queue of the module and attach your template.php file and the ddblock pager template of the ddblock theme you use.