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 started creating sub theme by using following thread,
http://drupal.org/node/225125
But my css and regions are not getting inherited into subtheme
And I doubt whichever files are there in "bootstrap" directory those also not getting inherited by sub theme.
has any one created sub theme of twitter bootstrap..?
Comments
Comment #1
fStew CreditAttribution: fStew commentedI was able to create a sub theme using the following .info file. Create this plus the tweaks.css file and you should be good to go.
Comment #2
andregriffin CreditAttribution: andregriffin commentedComment #3
andregriffin CreditAttribution: andregriffin commentedComment #4
natted CreditAttribution: natted commentedComment #5
dgastudio CreditAttribution: dgastudio commentedi have created a new subtheme (folder, with themename.info file)
in themename.info
after activate it:
Notice: Undefined variable: overlay in include() (line 3 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/sites/all/themes/rubik/page.tpl.php).
Notice: Undefined variable: primary_local_tasks in include() (line 10 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/sites/all/themes/rubik/page.tpl.php).
Notice: Undefined variable: page_icon_class in include() (line 15 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/sites/all/themes/rubik/page.tpl.php).
Notice: Undefined variable: title in include() (line 4 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/sites/all/themes/bootstrap/templates/block.tpl.php).
Notice: Trying to get property of non-object in drupal_alter() (line 1028 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/includes/module.inc).
Notice: Trying to get property of non-object in drupal_alter() (line 1028 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/includes/module.inc).
Notice: Trying to get property of non-object in drupal_alter() (line 1028 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/includes/module.inc).
Notice: Undefined index: twitter_bootstrap in drupal_theme_initialize() (line 98 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/includes/theme.inc).
Notice: Trying to get property of non-object in phptemplate_init() (line 12 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/themes/engines/phptemplate/phptemplate.engine).
Notice: Trying to get property of non-object in drupal_alter() (line 1028 of /home/u5444/domains/realestate.u7394.shiva.vps-private.net/includes/module.inc).
Comment #6
frankbaele CreditAttribution: frankbaele commentedBasetheme should be bootstrap the error should go away then
Comment #8
mahipal46 CreditAttribution: mahipal46 commentedFirst copy bootstrap_subtheme folder and put into theme folder then change name of folder which u want.
After change info file name themename.info.
In info file change name and description.
then clear cache.
Comment #9
fejn CreditAttribution: fejn commentedI'm not sure I understand where to copy bootstrap_subtheme folder: I found that folder in sites/all/themes/bootstrap/bootstrap_subtheme. In a typical subtheming operation I would expect to copy the bootstrap_subtheme into the sites/all/themes folder, & then change the folder name, etc. as described in #8. Is there a typo in #8 : should it refer to themes folder instead of theme folder??
Thx, Jeff
Comment #10
markhalliwellYes, please follow the documentation: https://drupal.org/node/1978010
Comment #11
charlie charles CreditAttribution: charlie charles commentedThis video will shows you how to make a drupal bootstrap subtheme
http://www.youtube.com/watch?v=6SInIY5TJkQ
I hope that's helpful :)