Closed (fixed)
Project:
Better Formats
Version:
6.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2009 at 02:46 UTC
Updated:
4 Feb 2010 at 17:55 UTC
Hi,
I just installed Better Formats on Drupal 6.9 and set a default format for a special role. However, when I try to create some content from a user account with that role, the default input format remains the "Filtered HTML" that has been set as the default input format. Is there anything to do to make the module work?
Thanks,
Comments
Comment #1
dragonwize commentedDid you arrange your role weights correctly?
Your new role needs to be above your authenticated user role. As all logged in users have that role and will get that default if you have it above your other roles.
Comment #2
gafir777 commentedHi Dragonwize,
Thanks for your answer. This will probably sounds stupid, but I do not find any place where I could set the weight of roles. I went into the role page, the permission page, the input formats page, and the setting of roles by weight is nowhere to be found. I tried to find posts on this website about this, without any success.
Thanks,
Comment #3
dragonwize commentedOn the Defaults page (/admin/settings/filters/defaults) you will see a all of your roles as rows. Drag the roles up or down to fit your needs.
For example if you have anonymous user, authenticated user, and admin as roles you would probably want to set them like this:
1. admin
2. authenticated
3. anonymous
What that does is weight what role is more important so that any one that has more than one role will be provided with the correct default. Which in our example all users with the admin role with have 2 roles because all logged in users automatically have the authenticated role as well.
Remember to hit save after dragging them around as indicated on the screen.
Comment #4
gafir777 commentedThank you so much! It worked!
Comment #5
dragonwize commentedComment #6
citronica commentedPerfect - this worked for me too. You may want to make the weight instructions on /admin/settings/filters/defaults a little obvious (blink tag anyone?) for inattentive folks like myself :-)
Thanks!
Comment #8
DjC4 commentedJust wanted to say thank you for this post. I had no idea these rolls could b stacked and I was tearing out my hair wondering why Filtered HTML kept getting picked.
Such a simple fix. *face palm*
thank you!
Comment #9
ressaThanks, I even read the README.txt and the part where it explains the importance of ordering the roles... sigh, break time.