Just a bit more UI flexibility

rayray - September 6, 2009 - 18:32
Project:Annotate
Version:6.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

This is a nice, simple module, and it does almost exactly what I need. However, I wish I had the ability to remove the input formats text. I use the Better Formats module, but since this doesn't seem to be a "node type," I can't configure it to remove all of the formatting text like I can throughout the rest of the site.

Also, I wish there was a permission regarding visibility. As it stands, you cannot remove the options. However, in my case, I only want Annotations to be private - I never care that anyone else sees them. But I can't remove the option to make them public.

Finally, it would be nice if you could change the text that provides instructions, below the input box.

#1

clemens.tolboom - September 7, 2009 - 12:20

1. Better Formats
Can we integrate with Better Formats? Do you mind to check for that :)

2. Configurable visibility
Nice idea ... have to think about it after I've fixed the 6.x-1.x-dev version

3. Better instructions
Please provide the text ;)

#2

clemens.tolboom - September 18, 2009 - 17:18
Status:active» postponed (maintainer needs more info)

#3

scottrigby - November 10, 2009 - 21:56
Status:postponed (maintainer needs more info)» needs review

@clemens.tolboom: Hi

  1. Better formats -- seems to work on the input format selection options and the fieldset itself, but doesn't properly hide the tips or tip link (see screenshot). A quick glance at through annotate_private_entry_form() didn't give me any immediate answers as to why... but something to look into.
  2. Configure visibility -- here's a patch that thesleuth & I whipped up. What do you think?
  3. Better instructions -- it aint much, but we also added appropriately descriptive help text on the two new visibility settings form elements.
AttachmentSize
annotate_570008_3.patch 3 KB
Picture 3.png 79.45 KB

#4

thesleuth - November 11, 2009 - 17:33

This patch allows for theme override in the note display, by resolving the call of theme function "annotate_node_item"...

AttachmentSize
annotate_570008_4.patch 447 bytes

#5

mhunt - November 19, 2009 - 17:32

Adding to the patches made by thesleuth and scottrigby. This patch creates div's (prefix and suffix) around the fieldsets for better styling flexibility.

AttachmentSize
annotate_570008_5.patch 1.79 KB

#6

clemens.tolboom - November 27, 2009 - 15:33
Status:needs review» needs work

Hope to find some time to review test and apply this month.

Please apply the patch to 6.x-1.x-dev then change the version accordingly.

Thanks for helping.

 
 

Drupal is a registered trademark of Dries Buytaert.