| User | Post |
|
11:17 pm September 9, 2009
| egordin
Member
| | | |
|
| posts 8 |
|
|
Hello!
I was wondering if it was possible to do two things:
- Allow an editor to have access to the widgets admin panel
- Restrict an editor to a specific sidebar (I have different sidebars for different categories & pages)
Thanks in advance!
Eugene
|
|
|
10:51 am September 11, 2009
| egordin
Member
| | | |
|
| posts 8 |
|
|
Alright I figured out how to do the first one using the Adminimize.
Does anyone know how I can do the 2nd one? Restrict a user (or Role Scoper group) to a particular sidebar?
Is there a conditional tag for user groups? Thanks!
|
|
|
1:50 pm September 11, 2009
| Kevin
Admin
| | | |
|
| posts 2386 |
|
|
egordin said:
Alright I figured out how to do the first one using the Adminimize. Does anyone know how I can do the 2nd one? Restrict a user (or Role Scoper group) to a particular sidebar? Is there a conditional tag for user groups? Thanks!
If your sidebars are named to correspond to a page / post name, I have some code that will do that. Please explain the correlation and naming of the sidebars; I will followup early next week.
Thanks everyone for your patience as I've been working day and night to help a client meet a tight deadline.
|
|
|
2:56 pm September 11, 2009
| egordin
Member
| | | |
|
| posts 8 |
|
|
Thank you for getting back to me Kevin!
The sidebars on my site are actually what's commonly referred to as Widget Areas.
Currently my site is set up like this:
- Root
- Homepage (page, admin access only)
- About (page, admin access only)
- Class1 (category, teacher1 access)
- Sub-blog (category, teacher1 access)
- Class2 (category, teacher2 access)
- Sub-blog (category, teacher1 access)
- Classrooms (page, admin access only)
- Class1page (page, teacher1 access)
- Sub-page (page, teacher1 access)
- Class2page (page, teacher2 access)
- Sub-page (page, teacher1 access)
Etc.
The reason that it's set up that way is because I couldnt find a way to put a page under a category, so that http://www.site.com/class1 would go to the category class1 category, and the http://www.site.com/class1/class1page would go to the page. If you know of a better way to set this up, let me know.
Anyway, right now, I have two groups set up in Role Scoper, Class1Teachers and Class2Teachers. Class1Teachers can only post under the Class1 post category, and create child pages under the Class1page.
Each class page & category post listing has two widget areas - one sidebar, and one announcement area. These are defined in the functions.php in my custom theme, so I can name them whatever I want. See this screenshot ("alef" is class1 and "hay" is class2).
The simplest way that I see to do this is to be able to assign a widget area to a Role Scoper group, and restrict the other widget areas from view and editing.
Does this help? Let me know and I can clarify.
|
|
|
1:08 pm September 22, 2009
| egordin
Member
| | | |
|
| posts 8 |
|
|
Kevin did I confuse you? Is there still hope for getting this done?
Thanks!
|
|
|
8:09 pm September 29, 2009
| egordin
Member
| | | |
|
| posts 8 |
|
|
I don't want to bump my own post, but I didn't hear back from you Kevin and I was wondering if you can still help me with this.
Thanks again for everything,
Eugene
|
|
|
10:19 pm September 29, 2009
| Kevin
Admin
| | | |
|
| posts 2386 |
|
|
No, you didn't confuse me and yes, I do still plan on helping you.
I'm expecting to find some time later this week after completing a custom-hire project tomorrow.
|
|
|
11:07 pm September 29, 2009
| egordin
Member
| | | |
|
| posts 8 |
|
|
Thank you so much! I really appreciate it!
|
|
|
1:07 am November 8, 2009
| egordin
Member
| | | |
|
| posts 8 |
|
|
Hi Kevin,
I was wondering if you ever got around to figuring this out. I'm still looking for a solution.
Thank you,
Eugene
|
|
|
1:07 am November 8, 2009
| egordin
Member
| | | |
|
| posts 8 |
|
|
|
9:20 am November 9, 2009
| Kevin
Admin
| | | |
|
| posts 2386 |
|
|
egordin said:
Hi Kevin,
I was wondering if you ever got around to figuring this out. I'm still looking for a solution.
Thank you,
Eugene
I just emailed you the code that I have. Not sure how it will apply to your configuration and I'm not ready to support it as a public plugin but the code is fairly brief and straightforward; free to use or modify as needed.
|
|