A base theme that restores Drupal-7-style markup.
This theme makes it possible to run a Drupal 7 theme on a Backdrop website without needing to switch all the CSS selectors from IDs to classes.
Some changes may still be necessary, but this should make the task of getting a Drupal 7 theme to work on Backdrop site much easier.
Specific changes are noted below.
Page template changes:
page--node-1234
)front
and not-front
classes.Node template changes:
node-teaser
class.classes
back to a string.attributes
back to a string.content_attributes
back to a string.Block template changes:
block-title
class.navigation
ID to the main menu block in the header (if it is
configured to dispay the top menu only).classes
back to a string.attributes
back to a string.title_attributes
back to a string.content_attributes
back to a string.Field template changes:
classes
back to a string.attributes
back to a string.title_attributes
back to a string.content_attributes
back to a string.Menu markup changes:
main-menu-links
to the UL tag for the main menu.Install this theme using the official Backdrop CMS instructions at https://docs.backdropcms.org/documentation/skin-with-themes.
Add your Drupal 7 theme to your Backdrop site.
Make the following changes to the info file of your Drupal 7 theme:
1) add base theme = d7compatible
1) add backdrop = 1.x
1) add type = theme
Make the following changes to the templates of your Drupal 7 theme:
1) Remove your old page.tpl.php
file
(or rename it to layout--mytheme.tpl.php
-- you will need it later to
create a Layout Template)
Bugs and Feature Requests should be reported in the Issue Queue: https://github.com/backdrop-contrib/d7compatible/issues.
This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.