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

dragonwize’s picture

Status: Active » Postponed (maintainer needs more info)

Did 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.

gafir777’s picture

Hi 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,

dragonwize’s picture

On 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.

gafir777’s picture

Thank you so much! It worked!

dragonwize’s picture

Status: Postponed (maintainer needs more info) » Fixed
citronica’s picture

Perfect - 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!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

DjC4’s picture

Just 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!

ressa’s picture

Thanks, I even read the README.txt and the part where it explains the importance of ordering the roles... sigh, break time.