This simple patch allows me to dynamically change the tab titles. (This patch would have been sponsored by http://www.automuseums.org if it would be a paying client but it's my brother's, so :) )
| Comment | File | Size | Author |
|---|---|---|---|
| quicktabs_alter.patch | 2.44 KB | chx |
Comments
Comment #1
pasqualleany reason why alter the tabs only and not the whole quicktab?
Comment #2
chx commentedThat works the same for me. I needed to alter the tab titles only.
Comment #3
pasqualleAfter more thinking about this, I am not comfortable with adding $op parameter to menu wildcard loader which is set to 'edit' as default. So I changed the solution to use drupal_alter after every quicktabs_load..
http://drupal.org/cvs?commit=309712
let me know if you have any problems with this, or any idea for improvement..
Comment #4
pasqualleclean up: with 'load arguments' the default value for $op can be 'view'
http://drupal.org/cvs?commit=309744
Comment #6
gg4 commentedIs this not configurable through the Quicktabs UI?
Maybe I am missing something really obvious.
Comment #7
gg4 commentedComment #8
pasquallethis is for developers only
the UI option is #303453: Token Support for Quicktab Tab Titles