Support Forum

Small problem with Template Tags

SP Stefano Prete
Stefano Prete
Member

Hi boys!

in “Newest topics”, I am trying to switch off the “balloon” including post content extract on link to be shown on mouse over.

I thought it was postTip to be set to 0 in sp-NewestTopics-tag.php, but it doesn’t work. The balloons are still there…

How can I remove them?

7 Answers

New Answer

IK Ike
Ike
Member

Hey Stefano,

I would agree that I’d expect changing postTip to ‘false’ should probably remove the post content showing in the tooltip. Are you just checking it on existing newest topics in the list or does it still not work for a new item appearing in the list after making the change?

Also, how are you using it? Are you just adding the tag to a widget and making the argument change to the sp-NewestTopics-tag.php file?

SP Stefano Prete
Stefano Prete
Member

Hi Ike!

Bloody hell, it was easier than that!

I opened the widget in the admin page and there is a tick to switch off those tooltips!

Problem solved!

Thank you so much and sorry for posting a stupid simple thing laugh

YS Yellow Swordfish
Yellow Swordfish
Member

You know even I had forgotten that was there! And I coded it 🙂

SP Stefano Prete
Stefano Prete
Member

Hey guys, I just noted that the same thing happens in the list of threads.

Immagine.jpg

How can I switch it off?

IK Ike
Ike
Member

You mean you want to disable tooltips displaying post content within the forum itself? I guess for people viewing the front of your forum who don’t have access? If so you can disable this by adding the ‘tip=0’ argument to the function sp_ForumIndexLastPost in spGroupViewDesktop.php so it would appear:

sp_ForumIndexLastPost('tagClass=spInRowPostLink spLeft&tip=0&nicedate=0&date=1&time=0&stackdate=0&itemBreak= - ', __sp('Last Post'), __sp('No Topics'));

You can also do the same for sp_TopicIndexLastPost in spForumViewDesktop.php if you want to get rid of them from forum view.

SP Stefano Prete
Stefano Prete
Member

Fantastic, Ike!

It works perfectly.

Thank you so much! laugh