Closed (works as designed)
Project:
Better Formats
Version:
6.x-1.1-rc2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2009 at 21:44 UTC
Updated:
22 Jul 2009 at 12:35 UTC
Hi, I've set default formats on the admin/settings/filters/defaults page, and examined the better_formats options under permissions. I don't see anything on the permissions page that would affect defaults, but they aren't working. I still see Filtered HTML (site default) on the node/add page when logged in as an admin.
I read the readme and I can't find anything else I'm supposed to do to get defaults to kick in. What am I missing?
Jen
Comments
Comment #1
dragonwize commentedAt admin/settings/filters/defaults, read the text at the top of the page. If you do not see any text, make sure you have the Help module enabled.
That text will explain to you that you need to order your roles with the most important roles on top so they will take precedent. For example if you have the 2 core roles and an admin role you would most likely want them arranged as:
admin
authenticated user
anonymous user
Comment #2
jenlamptonAh, thanks! That did the trick.
Suggestion: By default the roles are ordered from least -> most important (starting with anon, then auth, then custom) so it might be helpful if you expected to receive your results similarly. The way it is set up now was confusing to me, because you want the opposite of how it's handled everywhere else. (The text does explain what you want - I should have read more clearly) but you might get fewer confused people like me if you keep it consistent.
Thanks for the rapid response!
Jen
Comment #3
dragonwize commentedThe roles are arranged that way to ensure the site works exactly like core until the user changes the settings. So in this way it is consistent.
Also BF has no way of knowing what role is more important than any other role. Combined with the power to turn off the format selection to force defaults, a user could easily be given the incorrect default if new roles were placed at the top of the list instead of the bottom.
The placement of anonymous user role really has no effect on anything as users will not have multiple roles when they are logged out. The authenticated user role is the only one you have to place roles that you as a site admin deem should get a default that is not the authenticated user default. I only explain it by moving the anon role because it visually make more sense. So in reality all you have to do is place your role above authenticated user when needed which is not completely opposite.
Comment #4
boborg commentedCould somebody explain how/where I order the roles? I've looked everywhere but cannot see where this can be done. Thx.
Comment #5
dragonwize commentedAs mentioned above, you drag and drop the rows at admin/settings/filters/defaults to set the order. If you do not have javascript enabled then you would set the weight field to order the roles.