Can you change the background colour of the service portal for one analyst?

James_PalmerJames_Palmer Customer IT Monkey ✭
We have an analyst who is struggling with the white space intheportal - any ideas?
Thanks
James

Answers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    You could use Javascript to adjust the CSS based on the criteria of the user id of the logged in user.  It almost makes sense as a group option though.  Maybe other people would want to opt in to an alternate look.
  • Tom_HendricksTom_Hendricks Customer Super IT Monkey ✭✭✭✭✭
    Extending the User page, where they set their language and date/time settings seems like a great objective for this.  But it would not be the simplest approach (Justin's would be), and it's something I have not yet tackled, either.  Some help from Cireson would be greatly appreciated!
  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    Yeah.  I feel like this whole thread is begging at least one Feature Request!
  • Tom_HendricksTom_Hendricks Customer Super IT Monkey ✭✭✭✭✭
    At least.  @James_Palmer, you brought it up, so why not get some Internet points for it? :) 

    I'll add one later if there's still more to cover separately.
  • James_PalmerJames_Palmer Customer IT Monkey ✭
    @ Tom_Hendricks Thanks for that i'll take them whatever they are! :-)
    We are a specialist learning college and have users with learning difficulties which sometimes mean they have impaired vision so if its not a feature now, then it would be a good feature request.


  • Tom_HendricksTom_Hendricks Customer Super IT Monkey ✭✭✭✭✭
    @James_Palmer, I was just joking about the points on this community site.  But you should get some!  :)

    If you click the "Feature Request" option near the top of the page, then "Service Manager Portal Feature Requests" and finally click the blue "New Idea" button near the top of the list, you can submit a new feature request for people to vote on.  I would vote on this up!  I think lots of customers would like it for the same and even for different reasons that you first brought it up.

    When we had first set up the portal, before it was even in production yet, I had received some comments from some of my colleagues that the left navigation was nearly invisible due to the low contrast of the icons against the background.  After adding more contrast between the icons and the background, there were others who preferred the way that the original looked, because the low contrast was not an issue for them.  If we offered selectable "themes" in our portal, I think it would get widely used.  This could certainly go beyond colors to include spacing, sizing, etc.
  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    Hey Guys,
    I had a play with this and came up with this.  
    $(document).ready(function () {
    	$.ajax({
    		url: "/api/V3/User/GetUsersGroups?id=" + session.user.Id, 
    		dataType: "json",
    	    success: function(result, status) {
    			for (var r in result) {
    				if (result[r].UserName === 'portal_Contrast') {
    					var sheet = $("[href*='/CustomSpace/custom.css']");
    					if (sheet) {
    						console.log("changing stylesheet");
    						sheet[0].setAttribute("href", "/CustomSpace/contrast.css");
    					}
    				}
    				
    			}
    	    },
    		error: function(result, status, error) {
    			console.log("error function");
    		},
    	    type: "GET",
    		contentType: "application/json; charset=utf-8",
    	});
    });
    Any user that's a member of the portal_Contrast group has their whole custom.css stylesheet swapped out for contrast.css.  This accomplishes the "group access" version of what we discussed here.  I do like what @Tom_Hendricks suggested and the ability to create user assignable themes to be set on User Settings.  
Sign In or Register to comment.