Page/Page template & themeswitcher

A place to report and discuss bugs - please mention CMSimple-version, server, platform and browser version
Post Reply
Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Page/Page template & themeswitcher

Post by Tata » Sun Jun 18, 2017 7:46 am

Maybe that's no bug but expected functionig. Anyway:
Page/Page template assigning to chosen page or subpage works fine if:
  • themeswitcher is not installed
  • themeswicher is installed with $plugin_cf['themeswitcher']['prefer_page_theme']="true";.
If $plugin_cf['themeswitcher']['prefer_page_theme']="";, &themeswitcher_select=alt_template works fine but individual template settings in Page/Page template are ignored.
Testing at http://169new.cmsimple.sk (comparing the Demo and Templaty subpages).
If interested to test it too, I'll PM the password.
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.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Page/Page template & themeswitcher

Post by cmb » Sun Jun 18, 2017 11:47 am

Tata wrote:If $plugin_cf['themeswitcher']['prefer_page_theme']="";, &themeswitcher_select=alt_template works fine but individual template settings in Page/Page template are ignored.
Yes, that is intentional. I suggest you set prefer_page_theme=true, but only choose a page specific template, if that is really desired or necessary.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply