Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
secsite.png | 7.8 KB | skizzo |
Comments
Comment #1
ejohnson CreditAttribution: ejohnson commentedAny 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.
Comment #2
bkosborneI have this problem as well for all my views blocks....
Comment #3
bkosborneMy 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.
Comment #4
bkosborneFigured it out.
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
Comment #5
rajmataj CreditAttribution: rajmataj commentedThis 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.
Comment #6
NikLP CreditAttribution: NikLP commentedThis is still present in 2.4 and is critical. Blocks are content, content is supposed to be private, so showing blocks on the login screen is practically destroying the point of the module.
My home screen (when logged out) currently displays several links and a phone number! Not good.
I think this only affects blocks that are placed in the Content region however.