Thought it was a minor theme update, ran it without backing up. Lost my slider - hours of work :|

Comments

gtsopour’s picture

Assigned: Unassigned » gtsopour
Category: bug » support
Issue tags: +corporate, +Corporate Theme, +Corporate Clean Theme
gtsopour’s picture

Status: Active » Fixed

Hello Mholtmeier,

you are absolutely right with your mention but you should have taken a backup of your changes before update procedure. Especially in your case, where you made changes in Corporate Clean's core template page.tpl.php file.
In any case, below is a description of some steps that should be done in order not to happen again something like this.

The Drupal 7 Corporate Clean theme designed having the slideshow functionallity in mind. That's why a special region named "Banner" has been created.

To make things more clear and having a slideshow running out-of-the box just after the theme installation, the slideshow is hardcoded into the page.tpl.php file. Yes, this is not the best approach for production environments. That's why there is an option to disable the hardcoded slideshow through CorporateClean theme settings. So there is no need to edit the page.tpl.php file for that.

In order to configure your slideshow through Drupal's User Interface, you should disable hardcoded slideshow through CorporateClean theme settings, create a Drupal system block, put inside your new block the slideshow markup and place it in the "Banner" region. More Than (just) Themes wiki page or even the page.tpl.php's source code will guide you regarding the actual slideshow markup http://wiki.morethanthemes.com/index.php?title=Corporate_Clean:Demonstra...

From my personal experience and in order to avoid such issues during updates, it should be done the following two steps:

  • Override all your style changes (if exist) inside a local.css file - you can see my comment here http://drupal.org/node/1403250#comment-5485488
  • Move your Slideshow code inside a Drupal block and then place this block to "Banner" region.

Mholtmeier thank you again for your mention. Please inform me if you need further assistance with the above - i will be here to help you.

Thanks
/George

Automatically closed -- issue fixed for 2 weeks with no activity.