Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 12/04/2018 17:26:23

srini_r
Guest
Registered: 06/02/2018
Posts: 41

Multiple Page Templates

Hi,

all the demo skins and applications provided contain only one HomePage template and one "Page" template. is it possible to have multiple "Page" templates in the Ametys CMS?

Offline

#2 12/04/2018 17:46:17

Laurence Aumeunier
Expert Team
Registered: 10/08/2010
Posts: 142

Re: Multiple Page Templates

Hi,

Yes, you can create as many templates as needed.
The templates brought by the skin are located in the directory "templates" of the skin. You could see that the demo skins contain several templates but most of them are excluded in the file conf\template_assignment.xml because they are templates for internal use (the contributor should not access to theses templates).

You can decide of your own assignment policy in this file. As you could see in demo skins, the template "index" is proposed only for pages whose name is "index" and the template "page" is proposed for all others pages.


Laurence Aumeunier
Ametys Expert

Offline

#3 12/04/2018 23:13:05

srini_r
Guest
Registered: 06/02/2018
Posts: 41

Re: Multiple Page Templates

hi laurence,

thanks for the quick answer. got it. iam able to add more page templates as well.

Offline

Board footer

Powered by FluxBB