Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Audience Based Branding

$
0
0

Hi,

I have a requirement to produce a site that applies different branding based on the part of the organisation that the user exists in.

I found this useful post about using audience targeting with CSS references and then a content query webpart with HTML insert to insert the CSS reference into the page layout.

However, this is for SP2007, things move on.

I was wondering if someone could help suggest the best way of doing this. I'm no expert coder, more of a SharePoint guy than a .NET guy, and so this original approach seemed ideal, but as well as the different ways that SharePoint allows you to edit Page Layouts etc, there might be a better way to do this, that someone can point out to me.

Appreciate any help that you can give me.

Thanks


EDIT - I have gone through the walkthrough I linked to, and I can't seem to get it to work as it is. I have got my CQWP on the page layout, and it's showing my audience item 
 <link rel='stylesheet' type='text/css' href='/Style Library/location2.css'>
I've set my CQWP to use the HTMLInsert that is created from the XSL snippet in the walkthrough, however, it doesn't actually insert it into the HTML, it just renders the value on the page.

Viewing all articles
Browse latest Browse all 7589

Trending Articles