By larryonov on
Hi, in admin/settings/tinymce I have this 3 profiles:
=> admin - it's me
-authenticated user
visibility/Show on only the listed pages: admin/* node/add/*
=> user - registreted user
-authenticated user
visibility/Show on only the listed pages: comment/*
=> guest - anonymous
-anonymous user
visibility/Show on only the listed pages: comment/*
But I cant understand, why this settings is not well....
Do anyone have an idea, where must I change that one?
Thank you
Comments
I suggest this
I suggest this:
1) Create "admin" profile for "admin" role (you have to create this role and assign yourself to be its member).
2) Create "user" profile for "authenticated user" role.
3) Create "guest" profile for "anonymous user" role.
But I currently can't verify that this will work.
Borek
Yes, but there is not an
Yes, but there is not an "admin role", only auth. and anonym.,
btw i must select one of them (i cant leave it blanc)
How to add role
You can add an "admin" role here: admin/access/roles. Then visit your user profile (user/1) and assign yourself to this role.
stil nothing
i created administrator role (and assigned it to me) and created 3 profiles:
*guest (anonym.), user. (auth.)
- visibility:
node/add/forum/*
comment/*
user/*
(and some restrictions in html tags in tinymce)
*admin (administrator)
- visibility:
node/add/page/*
node/add/story/*
(all html tags allowed)
Guest and user profile is working good, in admin Tinymce isnt showing, i dont know where is error at all, maybe i will go mad ;)
I think tinymce shows you
I think tinymce shows you the profile for authenticated users, because your admin account is an authenticated user. There seems to be no way to define one profile for privileged users, and another for other authenticated users. In other words, I'm having the same problem.
Am I wrong about this?
Agreed
I'm running 4.7.x (this won't be a problem in 4.6.x) and yogadex's logic seems to describe precisely what I see happening. Has anyone come up with solutions or seen similar posts here? Thanks.
I modified a query in
I modified a query in tinymce_process_textarea, introducing an ORDER BY clause to control the preferred tinymce profile. The code below works for me because I named the admin profile 'advanced' and the other 'basic'. The alphabetical order insures users who can access advanced get it, while other users get basic.
A more proper solution might add a weight to each tinymce profile and sort by that. This was just enough to solve my problem so I stopped here.