Timeline for Bootstrap search form wrapper alter
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 1, 2015 at 19:18 | comment | added | pandabrand | I have upgraded to 7.x-3.1-beta2 also removed my hook_theme function and just copied the files to my sub theme and used blocks. Using theme debugger I can see that it's using the form template I copied but it's still not using the func.php that I copied. Do I not understand this or is this a bug? Serious questions because I am at a loss with this. | |
| Jul 1, 2015 at 18:45 | comment | added | pandabrand | function CFbootstrap_theme(&$existing, $type, $theme, $path) { $hooks['search_block_form'] = array ( 'render element' => 'form', 'file' => 'theme/search/search-block-form.tpl.php', ); $hooks['bootstrap_search_form_wrapper'] = array( 'render element' => 'element', 'file' => 'theme/bootstrap/bootstrap-search-form-wrapper.func.php', ); bootstrap_hook_theme_complete($existing, $theme, $path . '/theme'); return $hooks; } This now pulls a different search form all together. Not the bootstrap or my sub theme? PS I'm on 7.x-3.0. | |
| Jul 1, 2015 at 7:30 | history | answered | avpaderno♦ | CC BY-SA 3.0 |