Assign a template created in Admin

post everything related to phpwcms templates here
Post Reply
rbrickyboy
Posts: 14
Joined: Wed 22. Aug 2012, 17:35

Assign a template created in Admin

Post by rbrickyboy »

I have 3 templates created in admin (Admin->Templates), Is there a way to assign them to articles I created?
IE. Homepage will use the homepage template I created, Contact Us will use contact-us template etc..
I'm new to phpwcms, hope you could help me..

Regards,
User avatar
Oliver Georgi
Site Admin
Posts: 9908
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Assign a template created in Admin

Post by Oliver Georgi »

It works by structure levels, check Admin->Structure Level. There you define the templates used by articles related to the level itself. In addition every article and content part can have custom templates. But these are defining the parts only. But you can act on everything also programatically. (template/inc_script/frontent_render)
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
rbrickyboy
Posts: 14
Joined: Wed 22. Aug 2012, 17:35

Re: Assign a template created in Admin

Post by rbrickyboy »

Hi Oliver,
I appreciate your reply, now I know how to assign a template to different via site structure level!
Also how can I manipulate the article rendering?
Post Reply