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.
Hello, thanks for the nice theme.
Guys, when i try to use this theme as Base Theme for my custom theme i get these errors:
- Notice: Undefined index: pre_header_first en include() (línea 5 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: pre_header_second en include() (línea 5 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: pre_header_third en include() (línea 5 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: header_top_left en include() (línea 47 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: header_top_right en include() (línea 47 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: navigation en include() (línea 135 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: banner en include() (línea 152 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: promoted en include() (línea 241 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: bottom_content en include() (línea 305 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: footer_first en include() (línea 328 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: footer_second en include() (línea 328 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: footer_third en include() (línea 328 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: footer_fourth en include() (línea 328 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\page.tpl.php).
- Notice: Undefined index: header_top_left en bootstrap_business_preprocess_page() (línea 105 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\template.php).
- Notice: Undefined index: header_top_right en bootstrap_business_preprocess_page() (línea 108 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\template.php).
- Notice: Undefined index: header_top_left en bootstrap_business_preprocess_page() (línea 108 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\template.php).
- Notice: Undefined index: pre_header_first en bootstrap_business_preprocess_page() (línea 116 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\template.php).
- Notice: Undefined index: pre_header_second en bootstrap_business_preprocess_page() (línea 116 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\template.php).
- Notice: Undefined index: pre_header_third en bootstrap_business_preprocess_page() (línea 116 de C:\VirtualServer\htdocs\ep\sites\all\themes\bootstrap-business\template.php).
Thanks if you can give me a way for use Bootstrap-Business as Base Theme.
See you!
Comments
Comment #1
pyxio CreditAttribution: pyxio commenteddid you copy template.php to your new theme? if so, did you rename the functions to match that of your new theme's name? unless you have some need to override functions simply delete all of the functions from your new themes template.php file. cheers kevin
Comment #2
skech CreditAttribution: skech commentedHi dvasquez,
acording to https://drupal.org/node/225125
Sub-themes do not inherit custom regions from a parent theme. So you should copy the region declarations from the parent theme's .info file into your subtheme's .info file. Be sure your sub-theme's page.tpl.php file matches the sub-theme's region settings.
Thanks
Soukri
Comment #3
gtsopour CreditAttribution: gtsopour commentedComment #4
skech CreditAttribution: skech commentedComment #5
dvasquez CreditAttribution: dvasquez commentedHello guys. My business is only add CSS files. I'll not alter other TPL files. No regions, no templates... only modifying CSS. All the theme is good for me.
How can i do it?
Comment #6
pyxio CreditAttribution: pyxio commentedSo why are you trying to create a sub theme? Just use the theme as it is and modify the css file. Cheers Kevin
Comment #7
gtsopour CreditAttribution: gtsopour commentedHello dvasquez,
Bootstrap Business theme comes already with a local.css file bootstrap-business/css/local.css. Just place your style overrides inside this file.
Thanks
George
Comment #8
dvasquez CreditAttribution: dvasquez commentedThanks George, i'd see this file, but my customer wanna see its name in the theme section.
But... From tomorrow... local.css is the file!
Comment #10
IamOnStage CreditAttribution: IamOnStage commentedI too am having problems using as a sub theme?
Notice: Undefined index: bootstrap-business in drupal_theme_initialize() (line 98 of /public_html/client/ama/includes/theme.inc).
Notice: Trying to get property of non-object in phptemplate_init() (line 12 of /public_html/client/ama/themes/engines/phptemplate/phptemplate.engine).
Notice: Trying to get property of non-object in drupal_alter() (line 1080 of /public_html/client/ama/includes/module.inc).
I understand that we can just edit the local.css, but what about adding in custom .tpl files etc.
This needs to be able to work as a subtheme to avoid updating issues later!
Comment #11
IamOnStage CreditAttribution: IamOnStage commentedComment #12
heddnThe solution as I found it is that this theme uses a dash (-) in its name. However, when building a sub-theme of it, that is converted to an underscore (_). So the base theme should be set accordingly.
A longer term fix would be to rename the project on d.o. to bootstrap_business.
Comment #13
heddnComment #14
dvasquez CreditAttribution: dvasquez commentedThanks!