Create the landing page template
This roadmap shows administrator users how to create a Greenwheels landing page template, assign a workflow to your template, and change the default theme.
Who should use this roadmap
The HTML prototypes that you received from a design agency show designs for the Products and Events landing pages. Your goal is to ensure that the page template has the required structure that enables a content author to create the Products and Events landing pages from the page template that you create. Go to the Roadmaps section and find Roadmap: Determining the design requirements from an HTML prototype to review the structure of the landing pages of the HTML prototypes.
The design shows a Greenwheels theme, a banner, and a dynamic list page component. The dynamic list displays a summary view of content items that are relevant to the landing page. We do not plan to add the banner and dynamic list page components to the Greenwheels page template. A content author can add the banner and dynamic list page components to landing pages that are created from your template. You plan to associate your Greenwheels Landing page template to the Greenwheels theme as shown in the design. The design also requires a hidden details page to store content items that are shown on the landing page through a dynamic list page component. Content authors need a page template that creates both a landing page and a hidden page.
The existing Landing Page template creates two pages, a landing page and a hidden Content page and uses the Portal 8.5 theme. We can use this roadmap to learn how to use the existing Landing Page template as the foundation for your Greenwheels Landing Page template. Once you create the new template, we can learn how to associate a workflow to your template, and how to apply the Greenwheels theme to any pages created from the template.
Create the page template, assign a workflow, and assign the Greenwheels theme to your template.
Add a workflow to the page template.
- From the Site menu, click Home to go to the default site.
- Turn on Edit Mode from the action bar. Site manager opens automatically.
- Click Show hidden pages in the tree view icon.
- Open the project menu and click New Project.
- Type Implement HTML prototype as your project name and click Create.
- Open the portal administration menu and click Portal User Interface > Page Templates.
Individual page templates are organized by a hidden label.
After click Page Templates, view a list of the current page templates. Click Page Templates again from the interface that opens.
- Click on any page template in site manager and click the context menu icon
by a page template. Click Create Sibling Page.
- From the Create Page dialog, specify a Page title and Friendly URL. In this example, we can enter Greenwheels Landing Page in the Page title field. The page name that you enter is added to the Friendly URL name field.
- Select the Landing Page (2 pages) template for the new page template.
- Click Create Page.
Tip: We can set a workflow only on items that are in a draft state. Because of this behavior, we must create the template as a draft in the context of a project. By working in a project, we can also verify the workflow to make sure that the stages behave as expected.
Change the theme settings to use the Greenwheels Theme.
- Click on your Greenwheel Landing Page template in site manager and click the context menu icon
. Click Open Page Settings.
- Click Edit Page Properties.
- Click the Security tab.
- For the Workflow, click Select. Click the Web Content library and select Landing Page Workflow and click OK. You created the Landing Page Workflow in an earlier roadmap. Go to the Roadmaps section and find Roadmap: Controlling who can create drafts, reviews, and publish content with workflows for more information.
- Click the Advanced tab.
- In the Theme Settings section, select Greenwheels Theme for the theme.
- Save changes.
- Submit your project that contains the Greenwheels Landing Page template for review and then publish the project. Your page template now appears from the Create Page option in site manager.
- Complete the site update of adding your workflow to a page template.Move the addition of the workflow update to the page template through the workflow, and publish the project.
You created a Greenwheels Landing Page template based on the Landing Page template. From site manager, the Greenwheels Landing Page template displays in the list of available page templates.
Parent topic: Roadmap: Implement a design wire frame for a new landing page