While making a sub theme from twitter_bootstrap, Everything was running smoothly until, I checked my homepage I found this error: "Fatal error: Call to undefined function _twitter_bootstrap_local_tasks() in /sites/all/themes/twitter_bootstrap/template.php on line 178"
I checked the template.php in the twitter_bootstrap directory then I found that the _twitter_bootstrap_local_tasks() was not declared before or even after calling, So commenting the line makes everything work fine.
I don't know what this function for? But the line which the function is called in $variables['tabs']['#primary'] = _twitter_bootstrap_local_tasks($variables['tabs']['#primary']); as commented Replace tabs with drop down version.
Comment | File | Size | Author |
---|---|---|---|
#1 | menuinc-incluced-in-templatephp-1470422-1.patch | 486 bytes | TomiMikola |
Comments
Comment #1
TomiMikola CreditAttribution: TomiMikola commentedI ran into the same problem. It is easy to fix. Simply apply this patch to the template.php file.
Comment #2
frankbaele CreditAttribution: frankbaele commentedComment #3
frankbaele CreditAttribution: frankbaele commentedComment #4
kappaluppa CreditAttribution: kappaluppa commentedI've been trying to get a subtheme of twitter_bootstrap going (still to no avail, however), and I ran into that same issue. I found the function in twitter_bootstrap/includes/modules/menu.inc
I changed twitter_bootstrap to my theme name and the error went away.
Comment #5
andregriffin CreditAttribution: andregriffin commented