Closed (outdated)
Project:
Quick Tabs
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
29 Jun 2011 at 15:25 UTC
Updated:
10 Dec 2024 at 15:53 UTC
Jump to comment: Most recent
Comments
Comment #1
beatnbite commentedI believe there is no way to execute PHP in tab titles, but you can stop escaping html tags in titles of your tabs as follows:
1. In your module create HOOK_block_view_quicktabs_DELTA_alter(&$data, $block) function, where:
- HOOK - your module name
- DELTA - machine name of your Quicktabs instance
2. In the function iterate over tab titles and set the "html" option for them:
Comment #2
theladebug commentedI've tried this with a views instance of quicktabs, but it doesn't seem to be working... although I'm not entirely sure where to locate the actual machine name of the block for a views instance of quicktabs.
Any ideas?
Thanks!
Comment #3
theladebug commentedI got this to work... I went ahead and modified the quicktabs module to process html in tab titles for any quicktime instance instead of doing this for a specific instance.
I'm still curious if anyone has advice to offer on the above though.
Thanks again,
Teri
Comment #4
Anonymous (not verified) commentedTrying this later on today. Will give feedback. Thanks
Comment #5
smustgrave commented