01 Getting Started

In this tutorial, we explore how to build a multi-page project in Titan Web. The portal will be public which means that all information displayed on it will be public and treated as non-sensitive data.

Use this approach if you do not care who accesses your URL as everyone will be able to see the same data on your portal.

02 Building Multiple Pages on a Portal

1. To create an About Us or Home page for your web portal, grab an Auto Fit Container and add it to your Titan Web project.

Screenshot of the element menu showing the autofit container element

2. Increase the size of the Auto Fit Container until it is big enough to comfortably add a few elements and a Title text.

Screenshot of the element menu showing the title text element

3. Edit the Title text in Content Text Settings to now read About Us.

Screenshot of the text settings menu displaying the content tab

4. Increase the size of the Title text so that it comfortably fits your new text and center align the element in the Auto Fit Container.

Screenshot displaying the center align option for the title text element
5. Add a Paragraph text into your Auto Fit Container.

Screenshot displaying the paragraph text in the element menu

6. Open the Content Text Settings to add some paragraph text. For our tutorial, we have chosen Lorem Ipsum.

Screenshot of the text settings menu displaying the content tab

7. Increase the size of the Paragraph text so that it comfortably fits your new text and within the Auto Fit Container.

8. Change the color of the Paragraph text by clicking on the gear icon and selecting a new font color.

Screenshot of the text element menu showing how to set the text colour

03 Add a New Page

1. To build another page in a Titan Web project, click on the Pages drop-down menu and select Add New Page.

Screenshot showing the pages dropdown with the add new page option highlighted

 A notification box will appear to remind you that you have unsaved changes. Ensure that you click the Save and Continue buttons before proceeding.

unsaved changes warning

When you add a new page, you have the option to choose from template pages or pages from different projects that you have created in the past. If you want to reuse pages from other projects or pages from a project that you are currently working on, you can do so, by clicking on a particular project, then selecting the Page, and you can duplicate it.

2. For this tutorial, we will select the Blank page option from the Templates list.

Screenshot of the add a new page showing the blank page option templates list

3. Click on the + button and select a pre-made component.

Screenshot showing adding component from the element menu list

4. Move the component comfortably to the left and then make the Strip a repeat column by marking the Repeat Column checkbox in the Strip Column Content settings.

Screenshot of the strip column settings menu displaying the content tab showing how to enable the repeat column

5. To display the name of the music teacher and a picture of the music teacher in your component you must configure a get from Salesforce. Click on the gear icon and select the Salesforce option in the menu.

6. Set up the Salesforce Get Conditions.

Screenshot of the map salesforce field window showing the conditions tab

7. Next you need to Map your Salesforce fields.

Screenshot of the Map Salesforce Fields window displaying the mapping tab

8. You can use any objects like manage package, custom, or standard objects, but for this tutorial we use Contact.

9. We also changed our Trigger to Execute Pull drop-down list to User action.

Screenshot of the Map Salesforce fields showing the object settings tab

10. Now click on the Pages menu tab and notice that you have two pages created: Home and Page 2.

11. Click on the Kebab menu next to Page 2 and then the Configure Actions button. These actions will run specifically on Page 2 of the whole project.

Screenshot of the expanded pages menu with the page 2 kebab menu expanded with configure actions highlighted

The configure action screen opens.

Screenshot of the configure actions window

12. To write an every-time action, click the Every Time tab, select the + icon, and choose the Salesforce Action option.

Screenshot of the add node window with the salesforce action node selected

13. Choose to run the Get previously set up to bring in the teacher profiles from Salesforce into the components.

Screenshot showing selecting configured actions

14. Save changes and create more pages if you need.

04 Rename your Pages

1. Rename all your pages by clicking on Pages in the menu tab and selecting the Kebab button next to the page you want to rename.

2. Highlight the text in the Page Name field and type in the new name. For this tutorial, we have chosen to rename Page 2 to Teacher Profiles.

Screenshot of the expanded pages dropdown displaying how to rename a page

05 Navigation between Pages

To navigate between pages in a multi-page portal, you will need to set up a header or a button.

06 To set up a header for site navigation

1. Click on the Pages menu tab and select the Manage Menus gear icon.

2. Turn the Include a Header toggle switch on in the Header Site Menu settings.

Screenshot showing the site menus window displaying how to enable include a header

3. You can rename a header by clicking on the Navigation Menu Option’s Gear icon and editing the Link Name field.

Screenshot showing the site menus window displaying how to rename header
 Now you can navigate through the pages of your web project by clicking on the menu items found in the header.

07 To set up a button for site navigation

1. Click on the + button and add a Button element to your strip.

Screenshot showing how to add a button element to the strip

2. Rename your button and add an action to it by configuring the button interactivity settings.

3. Click on the Configure On Click Actions button.

Screenshot of the button settings displaying the interactivity tab with the configure on click actions highlighted

4. Add a Redirect/ Go to Page action.

Screenshot of the on click action window with the redirect action node highlighted

5. Choose to direct your action to an internal site and configure your Redirect URL and Open In options.

Screenshot of the configuration window of the internal redirect

6. Click on the Next button and fill in your Tag for the button.

7. Close the menus by clicking on Insert and then Apply.

Screenshot displaying the add a tag and click apply window

8. Save and Preview your button activity.

08 Got Feedback?

Additional Resources