I want to move page header from page.tpl to main-content. I was looking for a content-template or nodes content-type -template. I could try to create a template. But could not find a model to base it from. Is Boostrap using some different structure for constructing the layout in this case.

CommentFileSizeAuthor
#3 Screen Shot 2014-10-09 at 12.13.32.png270.19 KBwardoost
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wardoost’s picture

I can't figure out how this works either for this template.. Somebody have an answer for us?

danreb’s picture

Hi,

The page.tpl.php and other TPL files can be found inside the folder "system" in the path "bootstrap/templates/system/" you can copy the file and put it in your subtheme and modify as you want.

Obviously if you want the node.tpl.php , it is inside the "node" folder under templates/

Regards,
Danreb

wardoost’s picture

I have to edit a website I worked a small year ago on so I thought maybe this theme has been updated so I downloaded the latest version but the page.tpl.php file is under "bootstrap/theme/system" in my download. Also no templates folder with a node folder in it. Am I blind or something.. :p

danreb’s picture

Hi,

Yeah in the 3.0 version of bootstrap node.tpl.php is not yet included so if you want to overrides that you can go and copy the default node.tpl.php from drupal core and copy it to your sub theme and override it as you wish.

The path for the default node.tpl.php in drupal core can be found in "drupal/modules/node"
check the path here -> http://cgit.drupalcode.org/drupal/tree/modules/node/node.tpl.php?h=7.x

Regards,
Danreb

wardoost’s picture

I did that but it didn't seem to work.. It looks like the theme is ignoring the node.tpl.php file.

danreb’s picture

Have you clear the cache?

wardoost’s picture

yes, and the setting 'Rebuild theme registry on every page' is checked.

markhalliwell’s picture

Status: Active » Closed (works as designed)

This has been fixed in7.x-3.x already. The 7.x-2.x branch only receives security fixes.