UMN Usability - Put fields links on content type overview page

KarenS - February 27, 2008 - 12:42
Project:Content Construction Kit (CCK)
Version:6.x-2.x-dev
Component:Usability
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Users repeatedly are unable to figure out how to add fields to content types and we decided part of the problem is that the fields information is buried too deeply in the menu. The suggestion is to create a new top level menu item 'Fields' at the same level as 'Content Types' and 'Content'. It would not replace the fields information now there (the Manage Fields screen would stay where it is) but would be another way to get to it. The list of fields now showing at admin/content/type/fields would move to this new location and we would add some explanation of how fields work and a place to add new fields from this spot.

#1

catch - March 2, 2008 - 21:18

I personally would still like a workflow where I can set up a field and attach it to multiple content types at the same time (say an imagefield to be used on blog, news and foo types). Would that work for this?

#2

pwolanin - June 29, 2008 - 13:57
Version:6.x-1.x-dev» 6.x-2.x-dev
Status:active» needs review

How about adding more links to the top-level node-type page at admin/content/types? E.g. 2 new links: "Add field" and "Manage fields" - so that there is an immediate 1-click to this for each content type?

Patch attached...

AttachmentSize
add-links-227435-2.patch 3.03 KB

#3

pwolanin - June 29, 2008 - 14:30

note - you obviously have to force a menu rebuild (e.g. visit the Modules page) for this patch to take effect.

#4

catch - June 29, 2008 - 19:33
Status:needs review» reviewed & tested by the community

This should help with the usability issue, and it'll generally save clicks as well. Nice one.

#5

yched - June 29, 2008 - 20:05

Agreed this is a great usability enhancement, and a real time saver (for those who don't have admin_menu :-)

I wonder whether the order of the links is ok, though. The patch displays :
add field / manage fields / edit / delete
which makes it unclear that 'edit' and 'delete' act on the type.

What about :

Operations    Fields
----------    -----
edit  delete   manage  add

(Don't bother to reroll, I can adapt the patch myself if we agree on this)

#6

pwolanin - June 29, 2008 - 20:12

Well, I think of the fields as part of the type - so that's why I didn't make that distinction. However, I don't care much either way.

Attached alter the order of the columns in the table per discussion in IRC w/ catch, plus adds a link below the table.

AttachmentSize
add-links-227435-5.patch 3.55 KB

#7

pwolanin - June 29, 2008 - 20:22
Title:UMN Usability - Move fields to top level in Content Management» UMN Usability - Put fields links on content type overview page

added 'description' class to the descriptions

AttachmentSize
add-links-227435-7.patch 3.66 KB

#8

pwolanin - June 29, 2008 - 20:41

And while we're at it,, catch suggests moving the link on the admin screen to where it will be in D7. (note, you can already do this manually with menu module, this jsut makes it happen by default).

AttachmentSize
add-links-227435-8.patch 4.1 KB

#9

yched - June 29, 2008 - 20:41
Status:reviewed & tested by the community» fixed

Works for me - committed (I only renamed the callback to be more inline with other function names in content.admin.inc).

Thanks !

#10

pwolanin - June 29, 2008 - 20:53
Status:fixed» needs review

great! Though this little piece of the last patch didn't make it (if you want it).

AttachmentSize
move-link-227435-10.patch 1.29 KB

#11

pwolanin - June 29, 2008 - 21:16

maybe better- put the code in hook_enable, rather than having it run all the time.

AttachmentSize
move-link-227435-11.patch 1.21 KB

#12

yched - June 29, 2008 - 21:26

Yeah, #8 and #9 obviously crossposted :-), I committed #7.

Do we really want to do this ? Won't this confuse people (and people trying to help them : "Go to Administer / Content Management / Content Types, unless you're using CCK, in which case you need to make that Administer / Site Building / Content Types") ?

#13

catch - June 29, 2008 - 21:27
Title:UMN Usability - Put fields links on content type overview page» UMN Usability - Move fields to top level in Content Management
Status:needs review» reviewed & tested by the community

Tested this and it works, less intrusive than changing all the content type paths as well.

#14

pwolanin - June 29, 2008 - 21:30

@yched - none of the paths change - so you can always direct someone using the path (though the breadcrumb changes and actually works better this way). So, I can see both ways - might cause occasional confusion, but might also prevent confusion.

#15

catch - June 29, 2008 - 21:32

I always say admin/content/types anyway which'll work both ways. Hopefully we'll have to help people less if it's in a more intuitive place ;)

#16

catch - June 29, 2008 - 21:37
Title:UMN Usability - Move fields to top level in Content Management» UMN Usability - Put fields links on content type overview page

#17

catch - June 29, 2008 - 21:46
Status:reviewed & tested by the community» needs review

probably needs more thought.

#18

pwolanin - June 30, 2008 - 19:44

For those who might be interested in tweaking the appearace further or just comparing - here are before and after screenshots for the patch committed in #9

In both cases CCK is enabled, as shown by the "Fields" tab at the top. Note in the additional link below the table too.

AttachmentSize
Content-types-after-a.png 21.54 KB
Content-types-before-a.png 22.23 KB

#19

pwolanin - June 30, 2008 - 19:43

Is it worth implementing a hook_help entry in CCK for this page to add some more text? An/or adding more text above the table?

In terms of the question about moving the link, see attached screen shots.

AttachmentSize
admin-links-after-a.png 18.82 KB
admin-links-before-a.png 19.71 KB

#20

Dries - July 1, 2008 - 17:11

I think it's an improvement but I wouldn't put the description on the right. I'd put the operations on the far right.

#21

pwolanin - July 2, 2008 - 01:15

@Dries - I prefer them next to the type name, so that it's easy to match the type with its links. But I'll solicit some feedback. Attached are comparison screenshots.

Currently the links are in the center, right next to the type name:

An alternative is to put them on the right after the description.

Comments?

#22

moshe weitzman - July 2, 2008 - 01:21

FWIW, I prefer the links on the right as well.

#23

boombatower - July 2, 2008 - 01:24

I like them on the right as it gives the reader time to digest what the item is before performing an operation.

#24

Crell - July 2, 2008 - 01:27

Putting them on the far right would be more consistent with where "op" links appear elsewhere in Drupal. +1 for that. And dear god thank you for this issue! :-)

Do we want delete on this page? I'm inclined to move that to a button on the edit page (a la nodes) to make it harder to hit by accident.

#25

eaton - July 2, 2008 - 01:27

I lean towards operations on the far right as well. That's as close to a standard as we have in Drupal for "links that affect modifications of an item in a table." Add/Edit icons would be even cooler, but I imagine that would be another world of debate ;-)

#26

pwolanin - July 2, 2008 - 02:06

ok, well here's the patch for moving them back right. As above - I prefer the way it is now, but it's not a major thing.

Still unanswered (or answered in the negative?) is the question about whether the admin/content/types link is better off moved.

AttachmentSize
link-right-227435-26.patch 2.04 KB

#27

yched - July 2, 2008 - 03:05

Committed #26.

As pwolanin stated, we're still pending feedback on whether CCK D6 should move this page to Administer >> Site Building like in core D7, or keep it under Administer >> Content Management where core D6 currently puts it in.

(patch to review is #11, screenshots in #19)

#28

liveoutloud2day - July 2, 2008 - 03:07

#19 - I think managing content types is site design/building not managing the actual content on the site, so I vote for the content types being part of the site building menu. I certainly don't touch content types very often after a site goes live, but all the time during the site build.

liveoutloud2day

#29

yched - July 2, 2008 - 03:13

OK, to be more specific : the question is not whether the change is sensible - that is already agreed, since that change went in core D7.

The question is : should CCK D6 move that menu item to a different place than core D6 puts it ?
See #12 for my personal concerns.

#30

KarenS - July 2, 2008 - 10:13

I agree with yched, moving a top level core link is likely to cause confusion, even if it makes sense. The other changes in this issue move CCK links to better places, which is fine and useful. I'd leave the top level link where it is and let core fix it in D7.

#31

Senpai - July 2, 2008 - 16:17

Re: #26 and the Operation Links position, I am 100% in favor of the action links staying right next to the title of the content type. Move the descriptions of the content type to the far right where they belong. Yes, I know it breaks tradition, but here's why I think it's better:

When the reader comes to this page, it's a pretty safe assumption that they will either be trying to create a new content type or they will be returning to edit an existing content type. What are the new users looking for? An Add New Content Type button. But what if they're not coming to this page for the very first time? They will be looking for an actionable button that let's them edit or delete the content type they came here to change. They won't need to read the description on the content type right now, unless they've forgotten what it does. :-)

So, we have first time users coming to this page to create a content type of their own. They don't need any of the buttons we're talking about in this patch, do they? Chances are good that they only need the Add Content Type tab. Thus, the operation buttons' placement in no way concerns them.

Then, we have returning users. Those people who have to edit a content type, delete a content type, or even create a new content type. I'd venture to say that nobody who comes to this page for a second, third or two hundredth time is seeking a description of the Story content type as their most prominent feature. They need the names of the content types, and they need to be able to do something with them. Thus, the placement of these Operation links is completely for the benefit of the repeat users. the admins. The ones taking care of their sites. The devs who are building sites. The teachers who are following a book's instructions on how to set up a blog for their students. You get the picture.

If I were to place four buttons at the end of your dinner table, and put labels for those buttons at the other end of your dinner table, how fast do you think you could find the right button if I gave you two seconds to run into the dining room, hit the button you needed, and come right back to where you were. Could you do it? Now imagine that I've sextupled the amount of buttons at the end of the table by adding five more content types to the site. Are you guys seeing the problem I'm seeing?

User friendliness is about placing things under the user's mouse before they've even had that thought of "Here is what I needed to click on". Let's go with the placement of patch #9. Please?

#32

Thomas_Zahreddin - July 13, 2008 - 20:04
Status:needs review» active

what's the bigger picture?

 

  • a page is build of blocks,
  • blocks are build of fields (i also consider the body field as a block with the only field body)
  • so fields need only be added to blocks,
  • for every page template (content type)  i could add block templates
  • to each block template i could add fields
  • on every page in the admin section there could be a section / block with related tasks

If the mental model is consistent throug the whole system, then it is easier for users to find what they search for.

#33

KarenS - July 14, 2008 - 15:30

We're not really debating where to put the action links any more. That patch is already committed and the decision was to be consistent with Drupal core, for better or worse. If you don't like where Drupal core puts these things, you can open an issue for core for D7.

The open question is whether to try to move the Content Types link from the Content Management section to the Site Building section.

Using the same logic, that it's not really the job of CCK in D6 to 'fix' things we don't like in Drupal core, I think we're leaning toward leaving it where it is. At least I am, and I think yched feels the same.

#34

KarenS - July 14, 2008 - 15:48
Status:active» fixed

Actually I just thought of a really good reason *not* to move that link. How many Drupal 6 books are either already published or about to be published? And how many of them have either a screen shot of the admin page or instructions about how to edit a content type that assumes you get there from the 'Content Management' section? If we move that link, we will 'break' all those books.

I'm so sure we don't want to do that that I'm marking this fixed (meaning the original issue was fixed and the second issue was resolved.)

#35

Anonymous (not verified) - July 31, 2008 - 04:46
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.