Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
I have my banners set to only display on the frontpage (), but this also results in them showing up on the log-in page for all visitors. In other blocks, I can select the roles that can view content, so with my sidebars, etc on my frontpage, I have them set to only appear for Authenticated Users. I can't seem to find this option for the banner though. I would prefer to have users log in to see the banner images, as they may contain content only for authenticated users.
Any help would be appreciated!
Thanks
Comment | File | Size | Author |
---|---|---|---|
#2 | hidebanner_2186851_2.patch | 756 bytes | MeenakshiG |
Comments
Comment #1
shruti.sheth CreditAttribution: shruti.sheth commentedHi,
You can try following css code to hide the banner image from anonymous user and display them to authenticated user,
.not-logged-in #header-images {
display: none;
}
Hope this helps !
Thanks,
Shruti Sheth
Comment #2
MeenakshiG CreditAttribution: MeenakshiG at OpenSense Labs commentedComment #3
gaurav.kapoor CreditAttribution: gaurav.kapoor commentedThis will be a good change as banner are mostly need only on the front page.
Comment #4
gaurav.kapoor CreditAttribution: gaurav.kapoor commentedComment #5
gaurav.kapoor CreditAttribution: gaurav.kapoor commented