Web Welcome
The WelcomeContent swap out replaces the content of a page, with bespoke content designed for logged in users.
WelcomeContent can display bespoke content for:
- Contacts – individual users, after they have logged in.
- Trader – all contacts linked to the trader, after they have logged in.
- Web – all users, whether they are logged in or not.
It is entered in Horizon but changes the appearance of HorizonWeb. Contacts content supersedes Trader content, which supersedes Web content.
Note: You don't have to use WelcomeContent as a welcome message, or on the home page. It is a general purpose swap out that can be used to display bespoke content, on any page, in place of what would usually appear on that page.
Before adding a Welcome Message, add the WelcomeContent swap out to the page of your HorizonWeb site on which you want the Welcome Message to appear.
Writing a Web Welcome Message for a Trader
- On the Set-up menu, click Traders. The Trader window opens.
- Click the Settings tab, the Customer Settings tab, then the Web Welcome tab.
-
Type a message in the box. If you type this in plain text, it will be displayed using the paragraph text style defined in your HorizonWeb site's style sheet. You can use HTML to mark up the text.
Note: If you want the rest of the page to appear as it did before using the swap out, copy the existing HTML and paste it into this box.
- Click Confirm.
- Log in to HorizonWeb using a user that hasn't got a Contact level web welcome message.
- The Welcome message is displayed. Continue to modify the Web Welcome Message and refresh the page, to refine your HorizonWeb site.
Using a Web Welcome Message to Use Dynamic Master Pages
Dynamic master pages allow you to display differently styled pages to different users.
All contacts, for a trader, will see the same home page, and subsequently use that home page's master page. To set this up, type the following into the Web Welcome box:
<script>
window.location.replace("/HomeFurniture.aspx");
</script>
where HomeFurniture is the name of the content page you have created.
Repeat the above for each trader that should see a different master page design.