Is there a way to hide images on SP pages with login conditions?

Posted on 2012-08-10
Medium Priority
Last Modified: 2012-08-10
My boss wants these red X-like wingdings infront of every link to let people know that there is a link there.  What I'd like to do is to use an image to replace it (for formatting issues it causes) but I'd like to have them only appear when the boss logs in.  Everyone else has no problems with links as they appear normally in webpages.  Does anyone know if this is possible?  Thanks for any help!!!!
Question by:HSI_guelph
  • 2
LVL 13

Assisted Solution

xDUCKx earned 800 total points
ID: 38281494
Audience Targetting would be your best bet.  Below is information on Audience Targeting.  It won't specifically go into how to do it for images, but you can get the general idea:

LVL 44

Accepted Solution

Rainer Jeschor earned 800 total points
ID: 38281665
it should be possible to format all links through a custom CSS style. The more complex task is to apply that CSS only for a specific group on all pages (on a per page basis audience targeting will work - but you have to modify ALL pages).
Which SharePoint version and edition are you using? Could you modify e.g. the master page?


LVL 44

Expert Comment

by:Rainer Jeschor
ID: 38281683

Author Closing Comment

ID: 38281753
@RainerJ - That is very cool and I'll keep it in mind when we get a development environment set up but I'm currently working with the live site and have to be careful not to break anything, lol.  

@xDuckx - Audience targetting looks very promising.  Again I might have to wait for a sandbox environment but that will be available in the next 1-3 weeks depending on circumstances here.

Thanks for the replies guys!!!!

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Screencast - Getting to Know the Pipeline
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question