[SOLVED] How to allow Editor (user) to select page template?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Sphinx
Forum Members
Forum Members
Posts: 12
Joined: Wed Nov 05, 2008 11:39 am

[SOLVED] How to allow Editor (user) to select page template?

Post by Sphinx »

I am trying to figure out what permission I need to check on for the Editor group so that usertype can change template for a given page.

In the edit page form it is the dropdown input above the page content textarea I'm after - I don't want to give the editor permission to edit in templates, but simply select amongst the active templates.

How do I do that?
Last edited by Sphinx on Thu Mar 19, 2009 9:57 am, edited 1 time in total.
Sphinx
Forum Members
Forum Members
Posts: 12
Joined: Wed Nov 05, 2008 11:39 am

Re: How to allow Editor (user) to select page template?

Post by Sphinx »

Anyone? The documentation seems a bit limited on this topic - I've tried alot of different settings now - either the normal user gets too many editing possibilities or the page template selection is gone.. perhaps this requires modifications to core files?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How to allow Editor (user) to select page template?

Post by Dr.CSS »

Maybe you need to tell what ver. of cmsms, etc., sorry but we could go on about a method for you to find out your using an older ver. that doesn't support what we tell you...
Sphinx
Forum Members
Forum Members
Posts: 12
Joined: Wed Nov 05, 2008 11:39 am

Re: How to allow Editor (user) to select page template?

Post by Sphinx »

Ahh sorry about that - yeah I guess thats pretty important :D

The version is 1.5.2.

The overall problem is this: I made two different column layouts for the editor, one with two columns and two content blocks and one with only a single "column" and content block. I achieved this by making two variants of the main site template.

I want the simple editor user to be able to choose btwn page templates in the dropdown box above the content editor area, and only that - not any other extended editing possibilities like template editing etc.

works like a charm for the admin user - choosing two column layout automatically displays the extra content field and all, quite cool. But the dropdown is gone when the editor profile is logged in.. how do I get that back (and only that) for the editor?
Last edited by Sphinx on Fri Mar 06, 2009 11:33 am, edited 1 time in total.
Sphinx
Forum Members
Forum Members
Posts: 12
Joined: Wed Nov 05, 2008 11:39 am

Re: How to allow Editor (user) to select page template?

Post by Sphinx »

This is really driving me crazy - I just discovered that when the Editor user is allowed to add new pages, the option for selecting template is there, however if the user returns to edit that page, the option is gone.

I really hope one of you CMSMS wizards can shed some light on this issue - what option is it that allows the admin to choose page template when editing a page?
Sphinx
Forum Members
Forum Members
Posts: 12
Joined: Wed Nov 05, 2008 11:39 am

Re: How to allow Editor (user) to select page template?

Post by Sphinx »

Ok, found the permission that allows user to change page template when editing a page: modify page structure
This permission also allows the user to change the order of pages in the main page tree view.
Why these two editorial functions are grouped under same permission is a good question - I don't see how they relate, but anyways there it is.

When the user is permitted to add new pages, the option for page template selection is there, regardless of the modify page structure settings.

I suggest that a new permission is made for page template selection, which both controls the presence of page template selection when adding new pages and when editing existing pages.
Post Reply

Return to “CMSMS Core”