Skip to content

Examples

Our examples are practical and easy to follow, but they do require some basic knowledge of XSLT.

The first two examples, “Page with articles” and “Contact Form”, are a great starting point to get familiar with Sym8. With the third example, “Select Box Link” , we go a little deeper and demonstrate how to manage and link data in a completely abstract way. Finally, the two examples “Pagination” and “Date and Time” provide useful templates that you can easily integrate into almost any project.


Page with articles

Here, we’ll create a page that shows an overview of articles. In addition, the articles will be displayed in a single view on this page.

Select Box Link

This example demonstrates how to link data from three different sections using the “Select Box Link” field and display it on a single page. The example is an article that may contain an attached gallery with images—without an additional extension.

Contact form

We’ll set up a simple contact form to show how forms work. The data will be sent to a fixed email address so that the request can be answered from there.

Pagination

This template can be used to implement page pagination. The template was originally written by Nick Dunn. It was expanded to include aria attributes and optimized for search engines by Tilo Schröder.

Date and time

This utility provides date formatting functions. It was originally written by Allen Chang.