Different template for different pages of the site

Please post the URLs to pages, where you've made a CMSimple template available for download

Moderator: mikey

Post Reply
Korwin
Posts: 118
Joined: Sat Oct 13, 2018 3:27 pm
Location: Russia, Yekaterinburg
Contact:

Different template for different pages of the site

Post by Korwin » Tue Oct 22, 2019 5:42 am

A slightly different template is required on different pages of the site. For example, you need a slider on the main page, but not on others. There are differences in filling news boxes. I am sure that this can be done, but so far I have not found how. Please direct my thought in the right direction.

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Different template for different pages of the site

Post by Tata » Tue Oct 22, 2019 6:36 am

The simplest way to define an optional template for a page is (here you can define a unique template for each page)
optional-template.png
The more advanced way is the plugin morepagedata. It needs a deeper study of the help file (very good explained) and also more coding in the template. But then basically you don't need any separate template. You can set whatever shall be displayed/hidden/replaced in your template (backgrounds, the content of newsboxes, etc.)
You do not have the required permissions to view the files attached to this post.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Korwin
Posts: 118
Joined: Sat Oct 13, 2018 3:27 pm
Location: Russia, Yekaterinburg
Contact:

Re: Different template for different pages of the site

Post by Korwin » Tue Oct 22, 2019 7:22 am

How fast and accurate is the sword of your mind, Tata![ external image ]

Korwin
Posts: 118
Joined: Sat Oct 13, 2018 3:27 pm
Location: Russia, Yekaterinburg
Contact:

Re: Different template for different pages of the site

Post by Korwin » Sun Oct 27, 2019 8:10 am


Post Reply