STANDARD OPERATING PROCEDURE | |
---|---|
Title DXT FSE Website Tutorials Page | Effective Date TBD |
Department eBusiness | Business Owner Farid Mokraoui |
Purpose
This document is a guideline for the visual designers on developing the tutorials pages.
example of tutorials page
Order of Operations
- Set up your WCS Asset with correct JavaScript and stylesheet.
- Setup your main frame with tabs that will house the different layouts of content.
- Copy and paste layouts into the frame that will work best with your content.
- Edit the layouts to suite your needs.
- Note: If anything needs to be made custom feel free to add it to the other content layouts.
Assets to reference when building wcs asset
The JavaScript you will need for the tabs portion of the page. The “jquery-to-match-atg” should be placed above “Features Tabs Javascript”
- Features Tabs Javascript - 2600006233120
- jQuery-To-Match-ATG - 1429309277560
The only stylesheet you will need for the page andall ofthe content templates.
- Features – Stylesheet -2600005822018
Where to find all code and templates to start building tutorials page
There will be 3 spots to grab the layout code to fit how you develop. By default all code will be inside onedrive.
As you scroll through the different section visuals in this SOP, above each section you can expand the box and copy the code for that content.
There is also a codepen template setup. https://codepen.io/AEF2662/pen/QWwQoop?editors=1100
Pathing for onedrive - Work > Ferguson.com > Content > page-content > Features Campaign > Template for SOP
Starting a tutorials page
Start with the "frame" code so you can setup the number of tabs you need and to label the page title and tab names. Edit the lists under "tab content" comment to either add or remove the amount of tabs on the page. Make sure "openTab" in the list start with 0 for the first tab. The divs below that will hold the content for each tab reference the tab with "data-view" but will start with number 1 for tab one instead of starting at 0 such as the "openTab" in the list above.
Adding the layouts to the frame
Disclaimer: Each layout is a section you can just copy from any of the 3 code sources. If you want to use this SOP as a visual guide you can grab the code directly from here above the section image that you want to use. If not, you can grab the code in onedrive(pathing above) or use the codepen template(reference above).
In the frame within the <div class=" stage stage-active" data-view="?"> you can throw multiple layouts inside of that div into the specific tab you need it.
Each tab div has an h2 as a page title and a paragraph description below. Below the h2 and paragraph is where you can start throwing in your layout code.
Each layout is wrapped in a "layout-container" class which has a margin bottom to seperate each section from eachother with adequate spacing.
You can swap out paragraphs for ordered or unordered lists for the content you need.
Most layouts will have a title and descript which can be removed if they fall below other content that already has a title and description.
If you need to create a new layout make sure to add it to the templates and in the SOP.
Content Layouts
Below are all the different content layouts you will need for each of your tabs. There are full width, two column, and three column layouts each with a video version.
Layout 1 " Full Width"
v1
v2
Layout 2 " Image and Paragraph"
v1
v1 video
Layout 3 " Two Column Image"
v1
v1 video
v2
v2 video
Layout " Three Image Column"
v1
v1 video