Hide Editor on a specific Node Types?
CompShack - May 22, 2008 - 23:58
| Project: | BUEditor |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Is there a way to hide the editor on specific node type? I have a wiki, blog and forum node types. For blog and forum nodes, I just the regular HTML syntax for the editor BUT for wiki type I would like to hide the editor as the syntax is different.
I was able to hid it when creatting a new wiki post but I couldn't find a way to hide it when someone comes in to edit the wiki page.
Is it possible to assign different editor style depending on the node type being edited or created? It will be the same like you assign different editor types for different roles.
Thanks for the module, it is GREAT.

#1
I had the same problem, so I made some changes.
I don't know how to make patches, so I made a .zip with the files I changed; put these on top of your current bueditor files.
What changes:
-A list of checkboxes was added to the "Visibility settings" section.
-The editor will only be shown in node types marked on this list.
-This applies to creating and editing nodes.
-You don't have to edit the "Show on the following pages:" textbox.
How to re-install (since i changed the bueditor.install):
-Disable BuEditor module
-Go to admin/build/modules/uninstall and uninstall BuEditor
-Upload the new files
-Enable it
-Enjoy :D
#2
Thank you -- I will give it a try later this weekend and report back.
I was able to hide it when creating a new node but editing is a different story. Thanks again!
#3
creating patches = http://drupal.org/search/node/patches
doing so, helps your changes get into the module as it makes it easier for the dev to check what you've changed and he/she can then apply the patches to the module in CVS
#4
I just found a bug... since there is a configuration of "one editor per role", if you activate 2 diferent editors, one for wiki and one for blog, only the one activated for the role will actually be shown ... so I'm making some changes to be able to ignore these role settings.
Posting the patch soon.
#5
So here is the patch with the new feature. Please post any bugs. (because i use this funcionality as well)
Cheers
PS. I uploaded the zipped files for those who don't know how to patch.
#6
You can achieve it using path visibility settings.
The path "node/add/type" also covers "node/NID/edit" for that type.
#7
#8
Automatically closed -- issue fixed for 2 weeks with no activity.