Flat Pages

The Flat Pages module allows you to create a page at a specific URL in your Marketplace site and embed HTML in it. Flat Pages are often used as ‘About us’ pages, but are flexible enough you can work with your web team to create a useful page for you and your clients. Please note that Flat Pages are not updated automatically and require that you manually update them in the Admin View. Below, you will see an example of a live flat page that shows Lunch Specials in Lawrence, Kansas.

Note

Flatpages accept HTML and Javascript, but do not accept PHP.

../_images/fig30.png

Figure 7.1 The ‘Change flat page’ screen showing HTML for the ‘Lunch Specials’ Flat Page on the Lawrence Journal-World website

The URL field is populated with everything that comes after the URL of your web site. Here the website is www2.ljworld.com/marketplace, so this Flat Page will be located at www2.ljworld.com/marketplace/lunch. The Title field is populated by the title of the page, which will appear in the browser’s title bar. Within the content field, you will put raw HTML to display the page. In this example, the web team has included HTML to display images and some information about lunch specials throughout town. Finally, they selected the site that the page should be displayed on (generally, there is only one site to choose from in a Marketplace installation).

This is an example of excellent use of Flat Pages by the Lawrence Journal-World. As you can see, the HTML is rendered as a list of lunch specials in Lawrence, Kansas. Flat Pages are flexible enough that partners can create robust pages such as this one within their Marketplace installation.

../_images/fig31.png

Figure 7.2 The Public View of the Lunch Specials page. The HTML is rendered by Marketplace.

Browse

Glossary

You are here:

This Page