Closed (works as designed)
Project:
Better Formats
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2009 at 02:14 UTC
Updated:
10 Nov 2010 at 02:09 UTC
Hi,
Thanks so much for creating this module!
I just installed it and changed the default for "Super Admin", a new role I created. When I go to create a new "page" for a user with the "Super Admin" role it is still defaulted to "filtered html".
Any ideas?
Thanks,
Elijah
Comments
Comment #1
dragonwize commentedYou have to move your new role above your authenticated user role to give it a higher priority by dragging your new role up and clicking save.
Comment #2
elijah lynnThanks a bunch! Although there were no drag handles I was able to set super admin to -1 and it worked perfectly!
Thanks so much for your work!
Edit - Silly noscript :), dragging handles work fine.
Comment #4
mthomas commentedIt seems like this functionality should be noted in the documentation. If it weren't for this post, I would've had no idea why the module wasn't working for me! Thanks.
Comment #5
dragonwize commentedThis information is clearly listed at the top of the admin/settings/filters/defaults page and always has been. The only way you will not see it is if you do not have the core help module enabled and if you do not have the help module enabled than you obviously have chosen not to have help and should know what you are doing.
If you have any better suggestions short of using huge blinking letters, I will hear them.
Comment #6
agerson commentedI have this working for non-admin roles, but user 1 still defaults to filtered html. How can I get the regular admin to default to Full Html?
Thanks.
Adam
Comment #7
dragonwize commented@agerson: Defaults work the same for user 1 as the rest of the users. It will get the highest weighted roles default of its roles. If user 1 has not been given roles it will be given the authenticated user roles default as that is the only role it will have untill another higher role is given.
Comment #8
agerson commented@dragonwize The admin is a member of the "Content Editors" role which has Full HTML and is at the top of the list above authenticated user. Other users who are also content editors are getting default full html behavior while admin user 1 is not.
Comment #9
dragonwize commented@agerson: I can not confirm that. It works fine for me and all variations of sites I build. I will need more information about your setup and what process you are using exactly.
Remember your default will only show when you create new content.
Comment #10
agerson commentedAhhh, that is what I did not realize. I just checked and it works for all newly created content, just not the old ones. Thank you.
Adam
Comment #11
bartezz commentedHi,
Opening this one as I am encountering the same problem.- In input formats I have 'Full HTML' as the default filter
- As defaults I have given admin and administrator roles the default format of 'Full HTML' for node defaults and for comment defaults
- I altered the weights so that the mods and admins are on topWhen I create new content the default input format is still the filtered HTML, no matter what i do???Help is appreciated!Cheers
Comment #12
bartezz commentedNevermind... my User #1 lost it's role somehow during configuration... I gave it the admin role and everything is just fine!
Cheers
Comment #13
mandclu commentedI've always had issues with this module, but reading this thread I realize it is because I had not re-ordered the assignments.
Would it be possible to re-order these to reverse the default order? To me it seems only sensible that assignments made to individual roles should override blanket assignments.
Comment #14
squarecandy commented+1 for surge_martin's suggestions of reversing the default order.
Would definitely like to see the default order be:
* My Custom Admin Role [role id 3]
* My Other Custom Role [role id 4]
* Another Role [role id 5]
* Authenticated User [role id 2]
* Anonymous User [role id 1]
moving to feature request / dev & changing title.
Thanks for the awesome module. I use it all the time - should be part of the core filter module, imho.
Comment #15
dragonwize commentedI understand the want for that. It would make things nicer. However, it would only be better in some/most but not all situations.
One of the most important features in BF that I will not budge on is that everything should work just as core does until you manually change a configuration somewhere.
If custom roles automatically appeared above the standard roles then that role would override the format settings you already have set in the site, changing the functionality until you manually change it back. This also brings security into question as your new role may be automatically given a format that they are not meant to have until you manually change it. In my opinion, it should always be the other way around.
Comment #16
doublejosh commented*Whew*
Took a while to notice those draggable roles.
Also, took a bit to realize the user 1 does not have ANY roles by default, though they act as an admin.