Preaching SharePoint

2 Overriding Default CSS with yopur Own in Layout & Master Pages in SharePoint 2013


a Css reference added in thetag of the Master Page is responsible for applying all the styles on a Master Page.For Layout Pages, the styles can be added to either the default Css of Master page or into a separate CSS which will be added exclusively for Layout Pages.

Adding Style Sheet\CSS for Master Page -

In SharePoint 2013, by default, Style sheets such as corev15.css is added in the <head> tag. This default Style Sheet contains Styles that apply to various Components such as Navigation, Search etc in the Master Page. To Override these styles you can either make Changes to the default Css or add a reference to your Custom Css that will Override Styles defined in the default Css file of the Master Page. Overriding Styles with Custom Css is easy but a simple rule here to remember is that you should place the link to your Custom .css file just before the closing </head> tag, so that it overrides the default SharePoint style sheets such as corev15.css.

Adding Styles for Layout Pages –

While Creating Custom Layout pages, you might want to add exclusive CSS styles that should render just for the Pages with the Layout that you Created.In this case, the CSS reference should be added in such as way, that when the page loads, the Layout page styles are applied after styles for the master page. A simple way to do this is by adding a reference to your .css file in PlaceHolderAdditionalPageHead Content placeholder Instead of the <head> tag of the master page.

After adding a reference in PlaceHolderAdditionalPageHead Content placeholder, when a site visitor browses a page that uses this page layout, this additional page head gets merged into the end of the head of the master page—so, styles for the page layout are applied after styles for the master page.

In addition to adding the .css in the Place holder there are two more things that you need to Consider

1. An attribute ms-design-css-conversion=”no”  should also be added to the .Css reference for excluding the style sheet from theming.

2. The link to the style sheet should appear after the lines commented <!–SPM.

If you have different device channels, you likely want your page layouts to render differently for different channels. In that scenario, you include one or more device channel panels inside PlaceHolderAdditionalPageHead, and then include a link to channel-specific CSS files inside each channel panel.
[Read More...]



1 Cannot Rearrange Web Parts on SharePoint 2013 Team Site Home Page.


 In SharePoint 2013, the Home Page of a Team Site is Created using a Wiki Page Layout. Typically, a Wiki Page is used for writing Articles or for Simply Creating Knowledge Base (WiKi) Page in a SharePoint site.It generally does not Contain any WebParts. This however, is not true all the time. A Text Field Control added to Wiki (where you add all the text) can contain WebParts as well. See the example by editing the home page of your SharePoint 2013 site (or see the Screen below).


SharePoint 2013 Team Site Home Page

The only difference here is, there are no WebParts Zones on the Page.No WebPart Zones essentially means no drag & drop on the page and no selection of Zones from any WebPart’s Properties.

The only way to arrange the WebParts on the Page is by using moving HTMl tags in the Edit Source of the Page.

Simply edit the Page and Select Format Text tab.Click on Edit Source to re-arrange the WebParts.

EdidSource
[Read More...]



0 Create a List Template SharePoint 2013


Steps to Create a List from a List Template

Navigate to the List and under “List” tab in Ribbon click “List settings”.



I have a “New Custom List” which we will save as a Template.





Next it will take you to Confirmation page with a link to List Template Gallery.
You can verify if the template is in the list template gallery but not required.



Once this is done go back to the Step 1 of “Add an App” or go to “View all site content” where you will find this new template.Click the Template and give it a name to create a list out of it.

[Read More...]



0 Project Summary WebPart Displays Calendar Events and Tasks


The Project Summary WebPart essentially provides a Summary of Tasks and Events that are added to one or more Tasks lists and Calendars in the site. I know we are all familiar with the Tasks being displayed as Timeline in Project Summary WebPart, but in this post I will discuss about how events from a Calender list gets displayed in a Project Summary WebPart and how to configure late and upcoming event views.

To begin with, these Views – upcoming and late can be configured from Project Summary WebPart’s webpart properties with multiple Tasks and Calender lists to be used to display collective Upcoming events from the site.

upcoming view - Displays all the upcoming Tasks and Events from the connected Task & Calendar lists in the site. The edit link next to upcoming is used to select multiple Task & Calendar lists.

late view - Displays only “Tasks” that are over the due date. Calender events are not added here.The edit link next to late is used to select multiple Task lists in the site.

Once you configure the late and upcoming Views the Tasks and Events are displayed like below.
Upcoming_tasks

Here are some of the findings from my test on showing Calendar events in a Project Summary webpart -

* A Calendar only shows up in Project Summary WebPart, if it has any Upcoming Events added to it.
* Project Summary WebPart only displays Upcoming events and not late events from any Calendar.
* Recurring events are shown under Upcoming for each day of recurrence.For example a recurring event for 20 days will have 20 entries under Upcoming events.
* A Calendar event stretching to more than 13 days does not get displayed in Upcoming events.
[Read More...]



0 SharePoint 2013 Search Result Pages


Don’t get scared by the term “Search Verticals”  they are the new search categories like People and Content in the old SharePoint Version. Just to be Clear Search Verticals are Categories that are displayed Under the Search box such as Content, People, Conversations,Videos and other Custom Result Scopes.



Search Verticals or Result Source -
In SharePoint 2013 you can specify locations to get Search results from, and set Protocols for getting those results, by using result sources. SharePoint 2013 provides predefined result sources, such as Everything,People which are Set by default. You can Change the default to another predefined result source, such as “Recently changed items” or to a Result Source that you Create. To create a new Search Vertical or Result Source you can Create a new Result Source and specify the query transformation. With “Query Transformation” you can restrict queries to a subset of Content to create a new search scope.

Search Results Pages -
When you Create an Search Center site collection SharePoint 2013 Creates a default search home page and a default search results page.In addition to the default search results page SharePoint 2013 also creates few pages for other default Search Verticals.
The following pages are created in an Search Center site collection:
  • default.aspx: the home page for the Search Center, and the page where end-users enter their queries.
  • results.aspx: the default search results page for the Search Center. It is also the search results page for the Everything search vertical.
  • peopleresults.aspx: the search results page for the People search vertical.
  • conversationresults.aspx: the search results page for the Conversations search vertical.
  • videoresults.aspx: the search results page for the Videos search vertical.
  • advanced.aspx: the search page where end-users can apply some restrictions to their search phrases — for example, limiting the search to an exact phrase.
These pages are located in the Pages library, and they contain Web Parts that you can customize to improve the end-user search experience.

[Read More...]



0 Add a Shortcut to your SharePoint Library in Windows Explorer in SharePoint 2013


Sharing article from LearningSharePoint.com

Its always easier if you can Copy and paste a bunch of documents in a library directly rather than using the Upload document page.In SharePoint 2013 you have two options to add multiple documents -

1. Using Drag and Drop(This has its own browser and Office limitations).

2. Explorer ViewThe Upload multiple documents has been depreciated.In addition to these how about if you can directly Save your Office documents into the library without even opening the SharePoint site.This can be done by "Connect to Office" Option in the "Connect and Export" group in the ribbon of the Library.

Connect to Office
Connect to Office gives you following Options to make SharePoint Sites Work with Office documents.
  • Add to SharePoint sites
  • Remove from SharePoint sites
  • and Manage SharePoint sites


With Add to SharePoint Sites Command, a shortcut to the library is created in the SharePoint Sites folder of your favorites list(in the explorer) and in the Office Save As and Open dialog boxes.
Using the Add to SharePoint Sites Command on a library lets you do the following tasks easily:
  • Open a SharePoint library document from your Office application and update it.
  • Share or publish a new document directly from your favorite Office application to a SharePoint site library.
  • Insert images, videos, and audio files from a SharePoint Asset Library into Office documents.
  • Find a connected SharePoint library document in your Windows Explorer file system.
Lets Look at a Sept-by-Step process on how to add a Shortcut to a Document library in your Favorites list (in Windows Explorer) which you can use to Save files directly into a SharePoint library.
    1. Open a SharePoint site library from the browser.
    2. Click the Library tab.
    3. Click the Connect to Office Command in the ribbon and select Add to SharePoint Sites.
This will add "SharePoint Sites" folder in your favorites list in windows Explorer which when clicked will show the site name and document library name that you added the shortcut to.You would see something like "Team Site-Shared Documents" when you click on your newly added SharePoint Sites" folder in your Windows Explorer's favorites list.After you’ve created this shortcut to a SharePoint library you can now Save and Open an Office document from the SharePoint library directly using this shortcut.
Screenshots will added later..
[Read More...]



18 "Project Sites” VS "Team Sites" in SharePoint 2013


A quick difference from LearningSharePoint.com

Project Sites

* Project Sites has “Project Functionality” Site Feature activate by default.

* A Project Summary WebPart is added to the main page by default.

* Project Sites had “Task” list added to it by default.

Team Sites

* Team Sites has “Wiki Page Home Page” Site Feature activate by default. “Project Functionality” Feature is not active by default.

* Project Summary WebPart or any Timeline webpart can be added to the site.

* Team Sites had “Team Task” list added to it by default.

[Read More...]



 

Do you want SharePoint 2013 to inherit Metro Style design?

Search This Blog

Return to top of page Copyright © 2010 | Platinum Theme Converted into Blogger Template by HackTutors