Tweeted twitter.com/#!/StackDrupal/status/466060517174284291
3 added 326 characters in body
source | link

I have Drupal 7 site using a custom theme, which was working just fine. I created some regions and then I went and extracted some parts of the html.tpl.php file and made them blocks to make them translatable. The idea was to display these new blocks in the new regions. But all of a sudden my theme stopped working and now drupal ignores my html.tpl.php file and uses the default. I have no idea what went wrong. Any help is much appreciated.

EDIT: I checked the logs and i noticed this error, just before the problem begun.

The directory /var/www/***********/tmp does not exist and could not be created.

I have a development server which runs the same site and this directory is specific to that. So i created a /tmp directory in the live site and set it in the configuration page but still the problem persists.

EDIT2: I am using a template.php file to send the blocks to the html.tpl.php. Something like this:

function <themename>_preprocess_html(&$variables) {
  $variables['footer_menu'] = block_get_blocks_by_region('footer_menu');
  $variables['info_bar'] = block_get_blocks_by_region('info_bar');
}

I have Drupal 7 site using a custom theme, which was working just fine. I created some regions and then I went and extracted some parts of the html.tpl.php file and made them blocks to make them translatable. The idea was to display these new blocks in the new regions. But all of a sudden my theme stopped working and now drupal ignores my html.tpl.php file and uses the default. I have no idea what went wrong. Any help is much appreciated.

EDIT: I checked the logs and i noticed this error, just before the problem begun.

The directory /var/www/***********/tmp does not exist and could not be created.

I have a development server which runs the same site and this directory is specific to that. So i created a /tmp directory in the live site and set it in the configuration page but still the problem persists.

I have Drupal 7 site using a custom theme, which was working just fine. I created some regions and then I went and extracted some parts of the html.tpl.php file and made them blocks to make them translatable. The idea was to display these new blocks in the new regions. But all of a sudden my theme stopped working and now drupal ignores my html.tpl.php file and uses the default. I have no idea what went wrong. Any help is much appreciated.

EDIT: I checked the logs and i noticed this error, just before the problem begun.

The directory /var/www/***********/tmp does not exist and could not be created.

I have a development server which runs the same site and this directory is specific to that. So i created a /tmp directory in the live site and set it in the configuration page but still the problem persists.

EDIT2: I am using a template.php file to send the blocks to the html.tpl.php. Something like this:

function <themename>_preprocess_html(&$variables) {
  $variables['footer_menu'] = block_get_blocks_by_region('footer_menu');
  $variables['info_bar'] = block_get_blocks_by_region('info_bar');
}
2 added 390 characters in body
source | link

I have Drupal 7 site using a custom theme, which was working just fine. I created some regions and then I went and extracted some parts of the html.tpl.php file and made them blocks to make them translatable. The idea was to display these new blocks in the new regions. But all of a sudden my theme stopped working and now drupal ignores my html.tpl.php file and uses the default. I have no idea what went wrong. Any help is much appreciated.

EDIT: I checked the logs and i noticed this error, just before the problem begun.

The directory /var/www/***********/tmp does not exist and could not be created.

I have a development server which runs the same site and this directory is specific to that. So i created a /tmp directory in the live site and set it in the configuration page but still the problem persists.

I have Drupal 7 site using a custom theme, which was working just fine. I created some regions and then I went and extracted some parts of the html.tpl.php file and made them blocks to make them translatable. The idea was to display these new blocks in the new regions. But all of a sudden my theme stopped working and now drupal ignores my html.tpl.php file and uses the default. I have no idea what went wrong. Any help is much appreciated.

I have Drupal 7 site using a custom theme, which was working just fine. I created some regions and then I went and extracted some parts of the html.tpl.php file and made them blocks to make them translatable. The idea was to display these new blocks in the new regions. But all of a sudden my theme stopped working and now drupal ignores my html.tpl.php file and uses the default. I have no idea what went wrong. Any help is much appreciated.

EDIT: I checked the logs and i noticed this error, just before the problem begun.

The directory /var/www/***********/tmp does not exist and could not be created.

I have a development server which runs the same site and this directory is specific to that. So i created a /tmp directory in the live site and set it in the configuration page but still the problem persists.

1
source | link

html.tpl.php is ignored

I have Drupal 7 site using a custom theme, which was working just fine. I created some regions and then I went and extracted some parts of the html.tpl.php file and made them blocks to make them translatable. The idea was to display these new blocks in the new regions. But all of a sudden my theme stopped working and now drupal ignores my html.tpl.php file and uses the default. I have no idea what went wrong. Any help is much appreciated.