I have added new page--front.tpl.php with zen sub theme. On home page secure site login form is not visible.

Comments

rajesh.vishwakarma’s picture

Issue summary: View changes

file name correction page--front.tpl.php instead of front--page.tpl.php

mgifford’s picture

Issue summary: View changes
Status: Needs review » Postponed (maintainer needs more info)

Can you provide the code you used?

There isn't really enough here to duplicate the problem.

Hopefully between now and then you resolved the problem.

rajesh.vishwakarma’s picture

I just put a copy of page.tpl.php inside zen sub theme with page--front.tpl.php name.

function my_theme_name_preprocess_page(&$variables, $hook) {
  if(variable_get('securesite_enabled')) {
	if(!(isset($_SESSION['securesite_login']) || user_is_logged_in()) ) {
		$page_front_index = array_search('page__front', $variables['theme_hook_suggestions']);
		unset($variables['theme_hook_suggestions'][$page_front_index]);
	}
  }
}

I used above code to fix this.

mgifford’s picture

Status: Postponed (maintainer needs more info) » Active
NaX’s picture

Status: Active » Needs review

We have a Drupal 7 beta out now, please test and see if that fixes your problems. There were a bunch of themeing issues that were fixed that may affect what you were experiencing.