Let’s say you want to add a „call to action“-section beyond the content which is usable inside the template.
- Create a regular page holding your contents
- Create a new extra content block (/admin/extra), choose type „file include“. (You will notice, that the edit link is disabled inside the backend, ignore this)
- Possibility 1: Use Layout Manager
- Jump back to your frontend, klick „Layout“ at the top right
- Hover the region you wish to include your created extra block, click insert and choose your block
- Click save and click abort when finished
- Possibility 2: Insert your extra block directly inside your template
- Insert the following code to your template: <?php gpOutput::Get(‚Extra‘,’Technical_section_name‘); ?> (the technical section name is the name you choosed with underscores instead of spaces, but still case sensitive!)
- Save and reload your page
- Now hover the new appeard block (which will show something like „Insert File“ per default), click the edit link and choose the page you created in step 1
The gerat thing about this is: the configuration of this extra is stored globaly and not per page, you have to set it just once and you can reuse it easily. You have it available to print it out inside your Template, or using a simple include section type with the page manager.