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

CommentFileSizeAuthor
#2 hidebanner_2186851_2.patch756 bytesmeenakshig

Comments

shruti.sheth’s picture

Hi,
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

meenakshig’s picture

Status: Active » Needs review
StatusFileSize
new756 bytes
gaurav.kapoor’s picture

Version: 7.x-3.0-beta11 » 7.x-4.x-dev

This will be a good change as banner are mostly need only on the front page.

gaurav.kapoor’s picture

Status: Needs review » Fixed
gaurav.kapoor’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.