Placement of Journal textarea by weight not consistent

okeedoak - May 4, 2008 - 15:46
Project:Journal
Version:5.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

The placement of the Journal field for most admin pages occurs below the submit button. An example: admin/user/access This is fine. But unfortunately this is not consistent. For example on admin/user/roles the field shows up in the middle of the page above the list of roles and above the submit button. Please see attachment.

Also I have the same problem on a CCK created content type. The effective weight of the Journal field is 0, based on the weights of the items that show up above and below it. Looking at the form with dsm($form) function in hook_form_alter gives:

[journal] => Array
        (
            [journal_location] => Array
                (
                    [#type] => hidden
                    [#value] => node/add/minutes
                )

            [journal_entry] => Array
                (
                    [#type] => textarea
                    [#title] => Journal entry
                    [#description] => If not empty, contents of this field will be logged to the system journal.
                    [#required] =>
                    [#weight] => 100
                )

        )

Any ideas? Do you see the same behavior on admin/user/roles or is it some problem with my setup?

AttachmentSize
journal_field_placement_bug.jpg102.63 KB

#1

okeedoak - May 4, 2008 - 16:52

More information: I'm running Drupal 5.7, Journal 5.x-1.3

#2

sun - August 13, 2008 - 16:57
Status:active» won't fix

Unfortunately, we cannot alter the placement on admin/user/roles, because the form actually ends where the journal entry field is output. What follows is a special theme function for that table.

 
 

Drupal is a registered trademark of Dries Buytaert.