Quick Branding Hack for SharePoint 2013
Quick Branding Hack for SharePoint 2013

Quick Branding Hack for SharePoint 2013

Posted by on Friday, December 6th, 2013  

 

So if you know anything about SharePoint whether 2007, 2010 or even 2013 it’s still not too easy to brand and change how things look.  Microsoft has made an effort to push users into either heavily customizing (requires a developer/designer of some sort) or keeping the brand and changing the look and feel (power end users).  If you’re like me, sometimes you don’t want to overhaul the master page to make some changes.  Also, when designing solutions you sometimes want to empower the actual users to control some things without needing extra permission. If you’re in a similar position, then this blog is just for you.  Here is a quick tip using all out-of-the-box functionality and ABSOLUTELY NO CODE!  Yep, I wanted emphasis on that for a good reason.

I’m sure if you’ve been on a SharePoint 2013 Team site you’ve seen one of many new looking web parts such as the “Getting Started with your site”.  I usually ignored this little feature until I need to completely revamp my front page.  After looking for some cool stuff to do, I thought, it would be really nice if I could do that with another list for my own site template.

Quick Branding Hack for SharePoint 2013

I started digging around trying to figure out how they made this web part work.  After a while of breaking things and deactivating stuff that just didn’t fit the bill, I found my culprit and devised an evil plan to create my own.

What is the web part?

The web part just as is comes from the “Site Feature – Getting Started”. Note this is automatically activated with the team site.  NICE Right?  Maybe not, but they also provide a little link to remove this which is helpful.  It doesn’t deactivate the feature, just removes the web part from the page.  The web part uses a content type called “Promoted Links” which you may have seen in the Apps catalog for your site.

Quick Branding Hack for SharePoint 2013

How does it work?

Promoted Links App, just like the Getting Started web part, has a style built in that allows for a picture style, some nice overlaying actions and navigation to a specified hyperlink.  This is basically a glorified Links List in all reality, but a nice way to create a link for your users with some really cool images and words.

Setting up your custom links:

To do this, follow these steps:

  1. Click on the Gear in the upper right hand corner
  2. Click on Add an App
  3. Find the Promoted Links App
  4. Add a title to your app and save

Adding new links:

When you first open up the Promoted Links App (List) you are presented with this view.  Not sure why they didn’t take you to the All Promoted Links view automatically, but they didn’t build it that way.  So to help yourself out, since there aren’t any links, click on the blue link there “All Promoted Links”.

Quick Branding Hack for SharePoint 2013

You will then see the familiar view for a list.  Click on “New Item” to add your links.

Quick Branding Hack for SharePoint 2013

Here you will see an edit form for the links.  The fields needed are as follows:

  • Title – This is the title of the link and what users will see before they click or hover over the item
  • Background image – This is a cool feature.  You can add an image that shows up behind your text and adds style to your site.
  • Description – This will also show up on the image.  It will render underneath the title and give more information about your image or link
  • Link Location – This is the actual location you want to take your user to.
  • Launch Behavior – I like this because it does the hard part for users not sure about how links work otherwise.
    • In-Page Navigation – This simply means the linked page will replace the current page.
    • Dialog – This simply means the linked page will open in a dialog window on top of the current page
    • New tab – This means that the linked page will open in a new tab.
  • Order – This helps control which link shows up first in your web part.

Quick Branding Hack for SharePoint 2013

 

Once you finish creating your link, click save.  You will then see your link like the below image.  Now it’s time to put that link on a page and get on with life.

Quick Branding Hack for SharePoint 2013

 

Adding Promoted Links to a page

Navigate to the page of your choice, click on Page at top in the ribbon or Edit Page from the gear.  In your page, click on the Ribbon and hit insert or click on Add a Web Part within a zone to pull up the Apps area.

Quick Branding Hack for SharePoint 2013

Click on Add and you should see your links show up in the page just like below.  That’s it, save the page and get back to real work 🙂 Just kidding, there are a lot of things you can do with this, and that’s totally up to you, but I think its really cool to make some links nice and informative for the users.  The first image is the Promoted link as normal and the second image is the promoted links with the mouse hovering over it.  Cool Huh?

Quick Branding Hack for SharePoint 2013 Quick Branding Hack for SharePoint 2013

Posted by on Friday, December 6th, 2013  

Subscribe to RSS Feed

Sign Up for Newsletter

6

6

comments

    Dec 06
    2013

    Stephan Onisick (@StephanOnisick)

    Cool! Didn’t know that was there! That was fun.

    Stephan Onisick

      Dec 06
      2013

      Eric Harris

      Thanks Stephan,
      The thought is to help those without all the permissions or experience do some cool stuff.

      Eric

    Jan 27
    2014

    Mima

    Hi Eric,
    Thanks for the article! Question: I select to open in a new window. However, once I open a link, and then a click on another promoted link item, it uses the recently opened window and overwrites the content. I want to be able to open as many as new tabs as I need to.. How do I accomplish that?
    Thanks for your help!

      Feb 20
      2014

      Eric Harris

      Mima,
      This is using a native function for _target and setting it once for the child link which is the first promoted link that you click on . When it opens up a new tab that becomes the child of the original parent. When you click on another link in the child item, this registers as the same function but finds the parent item and refreshes the link for the child item. Therefore it refreshes the page not opening a new tab over and over again. Ideally it is not good to have multiple tabs open as it breaks the user experience and can lead to frustration and limitations in navigation since the user now has to navigate outside the site (tabs) as well as inside the site.

      Let me know if that helps.

    May 05
    2014

    Khushi

    Hi Eric – Thanks for sharing informative post. Quick Question I need to capture the click event and on the click event i need to write some code to capture the statistics viz. how many unique users have clicked a specific link, how many times click occur on a particular link, etc.

    I can see the ClickAction=”” in the rendering html. But I don’t see where to define this ClickAction.

    Any thoughts?

    Regards,
    Khushi

      May 16
      2014

      Eric Harris

      Khushi,
      I’m honestly not sure about capturing the number of clicks via the click event. I know its possible in some facet, but with the way SharePoint renders links etc, just not sure about that. On the other side of a click event you have the destination that can be captured. Have you thought about running a basic SharePoint web analytics report to see the number of pages and visits per page based on the links you have provided? You can also track documents as well. I’m writing another blog on just those functions and will post it up within the next week. If you are looking for something a little deeper on the analytics, check out HarePoints Analytics tool. Pretty robust there…