Set up the environment
Download the demo content file
- Login to your BindTuning account;
- Navigate to your Design tab;
- In the My Themes section, proceed to mouse over any customized theme and, select More Details;
- Click on Documentation;
- Select the option Demo Content.
After clicking on Demo Content, a zipped folder will be downloaded to your machine. Before uploading the demo content into your Classic SharePoint site and/or page, you will need to unzip this same folder.
Add images to the site
- Navigate to the SharePoint site where you wish to apply the demo content to;
- On the Settings button, select Site Contents;
- Select your preferred Document Library and proceed to upload the images provided on the images folder;
- Copy the image URL.
Modify the image Path
Inside the .txt files, you'll find the HTML snippets that you're able to add to your Classic SharePoint sites and/or pages. Before adding those same snippets, it is important to modify the image sources (URL). To do this, we will need the URL's we've copied above.
- Open the demo content file, that corresponds to the master page in use (DemoContentFor_YOURMASTERPAGENAME), in a text editor;
- Find all the HTML elements with the tag
img src="IMAGE_URL"
; - Replace the
src
attribute with the URL of the images that you've previously copied;
Apply Demo Content to Team Sites
Add HTML to the page
- Go to the page where you want to apply the demo content and enter Edit mode;
- Click on the zone where you want to add the demo content to;
- On the Format Text tab, click on Edit Source;
- Copy the HTML code of the zone you want to use
<asp:ContentPlaceHolder id="xx" runat="server">...</asp:ContentPlaceHolder>
, and paste the code on the matching zone:Considering we want to add the provided demo content to our MainContentZone, we will inherently need to copy the HTML structure between the corresponding tags:
<asp:ContentPlaceHolder id="MainContentZone" runat="server">
</asp:ContentPlaceHolder>
. - After adding the corresponding structure, hit Save;
- Demo Content has been successfully applied.
Apply Demo Content to Publishing Sites
Add HTML to the page
- Go to the page where you want to apply the demo content and enter Edit mode;
- Navigate to your SharePoint ribbon and select Page;
- On the Page Layout section, select any of the provided BindTuning page layouts;
- Click Add Web Part on the zone where you wish to add the demo content in;
- On the Categories list, click on Media and Content, followed by Script Editor;
- Click Add;
- Proceed to select the option Edit Snippet;
- Copy the HTML code of the zone you want to use
<asp:ContentPlaceHolder id="xx" runat="server">...</asp:ContentPlaceHolder>
and paste the code on the matching zone:Considering we want to add the provided demo content to our MainContentZone, we will inherently need to copy the HTML structure between the corresponding tags:
<asp:ContentPlaceHolder id="MainContentZone" runat="server">
</asp:ContentPlaceHolder>
. - Click Save;
- Demo Content has been successfully applied.
Comments