Would it be possible to give one particular member access to edit one particular template via the control panel?
Thanks in advance for any help.
Frank
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
July 30, 2007 11:27pm
Subscribe [4]#1 / Jul 30, 2007 11:27pm
Would it be possible to give one particular member access to edit one particular template via the control panel?
Thanks in advance for any help.
Frank
#2 / Jul 31, 2007 1:07am
Not that I’m aware of. What type of editing do you want them to do? Maybe there’s another way.
#3 / Jul 31, 2007 1:36am
I think the only way to do this is to give that member their own group and give the template its own group. In EE you can only assign permissions by group - that goes for both templates and members.
#4 / Jul 31, 2007 1:39am
Hi Ingmar!
Remember this thread? I’ve successfully implemented the paradigm I referenced at the end of the thread (and which you helped me with!) and it has created a pretty powerful system through which we can provide partners with their own version of the client’s site.
I’m also trying to come up with a workable solution for what is reflected in this thread. I’ve considered Robin’s suggestion (which I think is a good one but which, alas, I may not have time to implement given my day job, family, other clients, etc.). I’ve considered a suggestion from someone in another forum that I use Code Igniter (he actually said he is accomplishing something that seems to be exactly what my client wants), but alas, for the same reasons, I don’t think I have time to learn Code Igniter and write my own CMS! I’ve considered jquery and a jquery plugin called getURL, but that wouldn’t duplicate the entire site (which is what the client is after). Same for the php curl method.
With some amount of resignation, I think I’m coming to the realization that iframes are the only practical way to accomplish what the client wants in a timely manner.
While driving home from my day job this evening, I remembered the global variable approach we had discussed in that first thread and thought that I could use a global variable to establish different css templates for different partners. I tried it out on one page this evening and it worked flawlessly. I can now have separate css files for separate partners and it seems we will be able to change the appearance of the site to at least roughly match the look and feel of the partners’ sites.
The perfect conclusion to the paradigm would be if the partners could edit their own css templates. Thus my question.
After posting my question, I thought about it some more. Couldn’t I put a partner’s webmaster in their own member group, give that member group access to the templates tab in the control panel, but then limit their access to only the css template? I’m thinking that would work.
My only problem then would be that the site in question has over 4,000 templates. I would want to find an easy way to set all of the template access permissions for that member group to “No” (except, of course, for the css template). I’m thinking I could probably accomplish that in phpadmin.
What do you think?
Thanks,
Frank
#5 / Jul 31, 2007 1:40am
Thanks Ryan - I think we’re on the same wavelength (see the end of my response to Ingmar). But I thought I could limit access to a particular template within a template group. At least it looks that way to me when I click on the Access link corresponding to a template.
Frank
#6 / Jul 31, 2007 8:31am
Looks left, looks right, doesn’t see Ingmar.
Since CSS doesn’t have to be in an EE template, could you allow them to create/edit an external file and just link/reference that?
#7 / Jul 31, 2007 9:38am
But I thought I could limit access to a particular template within a template group. At least it looks that way to me when I click on the Access link corresponding to a template.
That does not determine whether some CP-user can edit the template but whether the membergroup is allowed to see the template’s output on the website.
Depending on what the template will be used for, a possible workaround could be to make a weblog with just one custom field (text formatting set to None), place a webblog:entries-tag with the custom field into the template in question and give the user access to edit the corresponding weblog entry.
#8 / Jul 31, 2007 11:37am
PXLated - sorry about that. My only excuse is that it was late at night.
Silenz - that’s an interesting solution. I think I’ll give that a try.
Thanks!
Frank