Answers.Body: <p>There is a layout for CiviCRM pages provided by the <code>civicrmtheme</code> module which is part of the CiviCRM Backdrop package.</p>
  <p>Something in the d7-&gt;bd migration causes problems with that.  However, if you disable and uninstall, then reinstall that module (<code>Functionality &gt; List Modules</code>) then you should see the <code>Default CiviCRM Layout</code> under <code>Structure &gt; Layouts</code>.  Disable/Enable is not sufficient - you need to Disable/Uninstall/Install.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-23T10:02:29.487Z
Answers.LastActivityDate: 2024-10-23T10:02:29.487Z
Answers.UserDisplayName: Aidan
Body: <p>The D7-Backdrop migration messes up Civi theming in Backdrop.  If I install Backdrop 'vanilla' and then install Civi, theming is good, even better than good.  However, when I migrate a site from D7 that includes CiviCRM it gets messed up with Civi sitting in the middle of the screen as though there was a left sidebar (which there wasn't).  I've tried switching to Bartik before migration but that hasn't helped. I'd like to be able to run the D7 to Backdrop migration task without it touching themes at all. This is probably a question more for Backdrop as Civi but I wondered how others had managed this.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-08-04T15:11:09.913Z
Comments.Text: If you look at the layouts, are they set to use the same layout template in both of these cases? You may just need to select a different layout template for the Civicrm layout.
Comments.UserDisplayName: Laryn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-08-04T19:25:18.017Z
Comments.Text: Not sure I understand how themes and layouts relate?  What theme/layout do you use for Civi?
Comments.UserDisplayName: Andy Clark
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-08-05T14:55:26.447Z
Comments.Text: In Backdrop, Layouts are broken out separately from themes. By default I believe the Boxton layout is used which wouldn't have sidebars. 
  
  https://docs.backdropcms.org/documentation/layouts-and-templates
Comments.UserDisplayName: Laryn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-08-05T15:32:00.900Z
Comments.Text: The way I migrated D7 database to Backdrop was not in accordance with  the docs here https://docs.civicrm.org/sysadmin/en/latest/misc/switching-cms/drupal-to-backdrop/ So I uninstalled Civi as a Drupal module and then migrated the D7 database.  Then I followed these instructions and all is OK.  Doing the D7 to Backdrop migration with Civi as an installed module is not the  way to do it.  The downside of uninstalling it is that the Civi permissions don't get migrated, although the roles do.  But that's no big deal as long as you know it.  Now happily running under Backdrop...
Comments.UserDisplayName: Andy Clark
Tags: <migration><backdrop>
Title: D7->BackDrop Theming migration problem
ThreadText: # D7->BackDrop Theming migration problem
  
  (Asked by: username_0 on 2024-08-03)
  
  The D7-Backdrop migration messes up Civi theming in Backdrop. If I install Backdrop 'vanilla' and then install Civi, theming is good, even better than good. However, when I migrate a site from D7 that includes CiviCRM it gets messed up with Civi sitting in the middle of the screen as though there was a left sidebar (which there wasn't). I've tried switching to Bartik before migration but that hasn't helped. I'd like to be able to run the D7 to Backdrop migration task without it touching themes at all. This is probably a question more for Backdrop as Civi but I wondered how others had managed this.
  
  **Tags:** migration, backdrop
  
  > **Comments:**
  > **username_1**: If you look at the layouts, are they set to use the same layout template in both of these cases? You may just need to select a different layout template for the Civicrm layout.  
  > **username_0**: Not sure I understand how themes and layouts relate?  What theme/layout do you use for Civi?  
  > **username_1**: In Backdrop, Layouts are broken out separately from themes. By default I believe the Boxton layout is used which wouldn't have sidebars.   https://docs.backdropcms.org/documentation/layouts-and-templates  
  > **username_0**: The way I migrated D7 database to Backdrop was not in accordance with  the docs here https://docs.civicrm.org/sysadmin/en/latest/misc/switching-cms/drupal-to-backdrop/ So I uninstalled Civi as a Drupal module and then migrated the D7 database.  Then I followed these instructions and all is OK.  Doing the D7 to Backdrop migration with Civi as an installed module is not the  way to do it.  The downside of uninstalling it is that the Civi permissions don't get migrated, although the roles do.  But that's no big deal as long as you know it.  Now happily running under Backdrop...  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2024-10-23. Score: 2
  
  There is a layout for CiviCRM pages provided by the `civicrmtheme` module which is part of the CiviCRM Backdrop package.
  
  Something in the d7->bd migration causes problems with that. However, if you disable and uninstall, then reinstall that module (`Functionality > List Modules`) then you should see the `Default CiviCRM Layout` under `Structure > Layouts`. Disable/Enable is not sufficient - you need to Disable/Uninstall/Install.
  
  
  ---
  
  