Download & Extend

Block displayed along with HTML Log-in form

Project:Secure Site
Version:6.x-2.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

I have Securesite configured for "HTML log-in form". When I assign a block to content area, and configure the block to be displayed only for node/xxx, the block is displayed along with HTML login form (at address node/xxx); e.g. see block "Powered by Drupal" in attached image. This happens also with other content blocks.

AttachmentSize
secsite.png7.8 KB

Comments

#1

Any fix to this bug?

I have a similar problem in which my node/45 is set to be the Default Front page node. I also have a Block set to show on node/45. When you get prompted with the SecureSite Login, and you hit Cancel, the Block(s) set to show on the Front page also shows. I should also mention that this Block is a Views block.

#2

I have this problem as well for all my views blocks....

#3

My setup: I have a context that displays many blocks on the homepage. They are placed in the "content" region, am I am using the Fusion theme. The problem seems to be that because they are in the content region, they also show in the content var in the theme for securesite. If I put them in a different region the problem is resolved. However, I can't really do that with the way the site is setup...

Trying to figure this out myself.... but not sure I will be able to.

#4

Status:active» needs work

Figured it out.

function securesite_theme_registry_alter(&$theme_registry) {
  $theme_registry['securesite_page']['preprocess functions'] = $theme_registry['page']['preprocess functions'];
}

Uses the preprocess functions of the page... which will load in the blocks for the fusion theme in the content region. Just comment out this line, flush cache...

Needs a perm. fix tho

#5

This still is an issue. Post #4 doesn't work for Drupal 6.22, at least not on my site.

I was able to do a crude work-around however by copying the securesite-page.tpl.php template to my theme's directory and add a class and a custom .css file that hid the region blocks that were showing up.

nobody click here