Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I created block by "views" by style quicktabs.
The tabs are created correctly but I get the img tags in the actual tab label.
Comment | File | Size | Author |
---|---|---|---|
#7 | quicktabs_ability-select-text-format-for-title_2043083-3.patch | 1.89 KB | kardave |
#2 | quicktabs_ability-select-text-format-for-title_2043083-2.patch | 1.85 KB | artem_sylchuk |
#1 | allow-html_2043083_1.patch | 756 bytes | KSiS |
Comments
Comment #1
KSiS CreditAttribution: KSiS commentedhere's the patch
Comment #2
artem_sylchukI hope it would be better to allow user chose which way titles should be displayed in the style plugin settings.
Comment #3
ultimateboy CreditAttribution: ultimateboy commentedI dont mind the idea of exposing filter formats and allowing the user to chose which format to use on tab titles. However, we should dynamically pull in the available text formats and not assume there are only 3: plain/full/filtered.
Comment #4
Berliner-dupe CreditAttribution: Berliner-dupe commentedHow can i use html-code in normal Tabs-Title? Not over Views!
When i alter the title with hook_quicktabs_alter and i use ...
... this not works. After the title i need a counter-result in a span/div-tag. But - its not possible at the moment.
Can anyone help me please?
Regards Matthias
Comment #5
Berliner-dupe CreditAttribution: Berliner-dupe commentedComment #6
Berliner-dupe CreditAttribution: Berliner-dupe commentedOk - i solved the problem - override theme_qt_quicktabs_tabset and insert there
$tab['#options']['html'] = true;
Full code in template.tpl.php
Work perfect now!
Comment #7
kardave CreditAttribution: kardave commentedPatch from #2 extended with dynamically pulled text formats.
Comment #8
ashutoshsngh CreditAttribution: ashutoshsngh commentedhttps://www.drupal.org/node/2043083#comment-7975771
I applied last patch and selected full html in one of my views.It worked fine.
Comment #9
kardave CreditAttribution: kardave commentedSuch achievement :)
Comment #10
tea2sugars CreditAttribution: tea2sugars commentedRandom, #7 works great when i'm logged in but when i log out it doesn't work?Turned on the Default style and it fixed it. Strange!
Comment #11
netw3rker CreditAttribution: netw3rker commentedI like this idea, can I get someone to re-roll this against 7.x-3.x (it doesn't currently apply)
Comment #12
tormi@netw3rker, it did apply to 7.x-3.8. Changing status for triggering testing once more.