This is one of my favourite themes, possibly my all-time favourite. Is it likely it will be ported to Drupal 8?

Comments

Graeme Smith created an issue. See original summary.

danpros’s picture

The short answer is yes. Currently I am try to porting it to Drupal 8. But seems many classes missing so a little bit slow, even perhaps the beta for Drupal 8 version without superfish menu.

The goal is we don't need to change the style.css to match new classes but by adding custom classes so the Drupal 7 version style.css also work for Drupal 8 version style.css.

danpros’s picture

Example danland.theme:

function danland_preprocess_html(&$variables) {

	if (!empty($variables['page']['sidebar_first']) && !empty($variables['page']['sidebar_second'])) {
		$variables['attributes']['class'][] = 'two-sidebars';		
	}
	elseif (!empty($variables['page']['sidebar_first']) || !empty($variables['page']['sidebar_second'])) {
		$variables['attributes']['class'][] = 'one-sidebar';
	}
	else {
		$variables['attributes']['class'][] = 'no-sidebars';
	}

}
danpros’s picture

danpros’s picture

Beta 3 https://www.drupal.org/node/2638254 (mobile first layout).

danpros’s picture

Status: Active » Closed (fixed)