First create a copy of the default publication template. To do so just copy the whole directory.
Example: cd web/
cp -R publication_templates/picture_collections_2 public/custom/publication_templates/my
Adjust template settings
The copy is immediately available as publication template. To separate it from the default template you should at least edit title and description of the new template.
To do so edit the file “public/custom/publication_templates/my/_template.ini ” in the section [template] and change the options for “title” and “description”. You can either directly set the options “title” and “description” or set their language specific counterparts “title_en”, “description_en”, “title_de” and “description_de”.
You can also change the thumbnail image of the publication template by replacing the file “public/custom/publication_templates/my/_thumbnail.png”.
Customize the template
You can edit text, LESS files, HTML templates and images directly here, or copy them from the publication customized in the previous section.
Changes can be testet a lot easier and faster, if you customize a publication first. So you can check every adjustment directly in the browser. When you are finished just copy your changes into the publication template.
Create a publication based on your new template and test it at length.