First, great module! I've been waiting for a comprehensive utility module like this since the day I started working with Drupal. Thanks for hearing our cries! This should go into 7.x!
I have a "Page" content type. I have 4 input formats. I only want one to be enabled for my nodes because I am using FCKeditor. The input type I want to use for all nodes is "WYSIWYG".
My display settings are is follows:
Hide format selection: checked (yes)
Hide format tips: checked (yes)
Expanded fieldset by default: unchecked (no - irrelevant)
Disable fieldset collapse: unchecked (no - irrelevant)
Selection title: blank (irrelevant)
Control:
Control formats per node type: unchecked
I have two roles on the site - editor and admin - and I want them both to use the WYSIWYG input format. I have them both set to this as their default format for both editor and admin. Anon and Auth users are set to Site Default. (My site default input filter is also WYSIWYG.)
When I add a Page node, all turns out as expected. I don't see the Input Format fieldset. When I save, the proper input format is applied - very good!
Then I click on edit and the Input Format fieldset is displayed. The bad news is that I am seeing the Input Format fieldset at all. The good news is that my default format is preserved.
Input Formats selection fieldset shows up on edit of node when settings set to hide format selection.
Comments
Comment #1
dragonwize commentedOk, that one I forgot about. Because I only set the default on new nodes and let the selected format be in charge after that I was mainly dealing with all the new node screens.
Good find. I will work up a fix for this and post back.
Comment #2
dragonwize commentedIssue fixed. Please verify and re-open if needed. Thanks.
Comment #3
capellicCool, thanks.
I've tested it. I saw that you moved most of the display settings over to the Permissions page. Good call.
NO EFFECT ON CCK FIELDS?
My settings don't seem to have any effect on CCK fields. I have two textarea fields on my edit form and both show the Input Format fieldset, collapsed. As far as I can tell, it looks to have the Drupal default behavior.
WHAT TO EXPECT FOR EACH DISPLAY SETTING?
It might be good to add an explanation for each of the display settings in the documentation. I had thought I could set "collapse format fieldset by default" and it would do just that, but it doesn't show up at all.
Then I gave myself "show format tips" along with "collapse format fieldset by default", but it's not collapsed. But maybe that's because I don't have "collapsible format selection" checked? Nope. That didn't do it.
So now I have them all selected and it is behaving as expected. Collapsed by default, format selections and tips.
Now I am going to take away the tips. OK, that worked.
Now I'll take away the format selection. Nothing shows up. OK, that makes sense because both content displays are beyond my permission level. But then it is confusing that I still have "collapse format fieldset by default" and "collapsible format selection" still checked. So, yeah, might consider a couple of examples in the install instructions on how to use the display perms and the expected results - that would be great!
Comment #4
dragonwize commentedre: NO EFFECT ON CCK FIELDS?
Currently, I am only processing cck text fields that use the textarea widget and have text format processing enabled. Processed single line text fields will come in a later release. In my dev site it is working fine for cck textareas. If you are still having an trouble please file a seperate issue and give as much details on your setup as you can.
re: WHAT TO EXPECT FOR EACH DISPLAY SETTING?
I plan to use use the beta phase now add more user and developer documentation. I agree it can be confusing with some of the display settings. I have thought about removing some but I like the options. In D7 perms can have descriptions so that will make it much better to handle. For now I will be just adding more documentation to hook_help and the readme to help users understand.
Thanks for all the testing you have done.
Comment #5
capellicThanks for your work on this.
I will take a closer look at the CCK textarea issue I am having within a week or so.