Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Why do the aks master pages not get applied if the feature is not activated on the top site col

  Asked By: Melissa    Date: Sep 21    Category: Sharepoint    Views: 6730

I installed AKS 2.0 and activated AKS feature. The problem I found was the aks master pages do not get applied if the feature is not activated on the top site collection. why is so?

example: If i activate the feature on http://<servername>/sites/<sitename> and apply the master page, I dont see any changes.

But if i activate the same aks feature on http://<servername/ then everything started working on all sites.

The reason i found is the CSS reference in the aks master pages.

It reference should be given as follows:

for http://<servername>/sites/<sitename> -> <link rel="stylesheet" type="text/css" href="../../Style%20Library/AKS/Aks_Band_Blueband.css"/>

for http://<servername>/ -><link rel="stylesheet" type="text/css" href="/Style%20Library/AKS/Aks_Band_Blueband.css"/>

So my question is, am i missing anything? am i supposed to activate the AKS feature on top level site collection at any cost? if yes, why is so?

And after applying aks master pages, i see differnece in font sizes. Why the font size is getting changed?

Also why the color changes are there? example: microsoft blueband master page has different color scheme and aks blueband master page has different color scheme.



1 Answer Found

Answer #1    Answered By: Elaina Suarez     Answered On: Sep 21

The short answer to most of your questions above is: AKS is a 3rd party solution. It will act and be different than Out-Of-the-Box SharePoint features. The AKS feature  since it has a master  page in it, is assumed to activate  on the most top  level site  = Site Collection. Why, because the master page  and page layouts library are usually hosted on the top level  site. By activating it, the code behind the activation event is triggered to apply  the changes; set the master page to the AKS one, etc.

As far as the FONT sizes, I haven't seen them yet, but I assume they use the EM sizing versus the PX sizing. Accessibility guidelines suggests the use of PERCENT or EM instead. See here http://www.w3.org/TR/WCAG20-TECHS/C12.html

As far as color, this is again for accessibility reasons. You need higher contrast colors.

In summary, the AKS toolkit is used to help you reach at a minimum, Section 508 Accessibility compliance.

Hope this helps.