If I remember correctly from the Usuability panel at DrupalCon Boston, it was 100% of users who thought 'Content Types' should be under Site Building. I strongly agree.

These patches change all references to 'admin/content/types' to 'admin/build/types'.

This is my first ever patch submission for any software project. I've probably broken all kinds of standards & ettiquette, so please be patient and let me know the bets way to do it in the future. I figured I'd learn by doing. :-)

path.inc_.patch is for the file in /includes. Everything else should be obvious enough.

Comments

matt2000’s picture

StatusFileSize
new2.28 KB
new581 bytes
new455 bytes
new1.24 KB
new2.02 KB
new1.07 KB
new4.7 KB

oops. Did I make my patch files wrong? Maybe these are better...

catch’s picture

Category: feature » task
Priority: Minor » Critical

OK all the individual patches look fine. The only thing is that they're individual patches instead of one big one.

Depending on what you're using, you should be able to do cvs diff -up > yourpatch.patch from the root of the drupal directory - then you get one big patch file with all the changes to each file. If you use Tortoise CVS or similar, it'll also roll patch files for all changes from the root.

This makes it a lot easier to read and test, since you only have to look through one thing (and only have to apply one patch to test it). http://drupal.org/patch/create has everything you need. If you checked out Drupal 7 via cvs, then you may just be able to re-roll with your existing changes.

Massive +1 from me. Thanks!

dries’s picture

I think this is an important change. We should also revisit the terminology as "content type" was highly confusing, but that could be left for another patch.

matt2000’s picture

StatusFileSize
new14.16 KB

OK, here it is as one patch file. Thanks for the lesson.

As for the terminology, 'Content Types' seems natural to me, and I can't think of anything better; but then, I've been working with Drupal for a year. Did the test participants have any suggestions?

The term that's been difficult for my clients is 'page.' To most people, every refresh of their browser generates a "page." The theme is the look of the page. They might want a 'page' that lists their articles (which is usually a View).

I often create a generic content type called 'post,' and to them, a 'page' is made up of one post, or a list of posts. They don't understand taxonomy listings as a 'page (generically) of pages (the drupal content type).'

Finally, I noticed that the term 'taxonomy' has returned to replace 'categories' in the admin menu. Was this an intentional decision?

catch’s picture

Patch looks lovely, thanks for re-rolling. I'll try to test it a bit later today.

I don't think there were any suggestions about terminology from participants (we didn't speak to any of them directly ourselves) - but 'page' 'story' 'content' 'content type' 'create content' and 'post' caused a lot of problems. Story has been changed to 'article' in D7, I started a discussion in the usability group about the general issue of what to call everything else.

However like Dries suggests, we should try to move the menu item asap, and open another issue for any terminology changes.

Taxonomy change from categories is here.

floretan’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies cleanly and replaces all instances of admin/content/types. Menu item is moved after cache is cleared.

keith.smith’s picture

While reviewing this patch, I notice that there is an instance of "Story" that should have been changed to "Article". I've created a patch for that at #241021: Reference to "Story" in help text not renamed., rather than rolling it into this one. I can reroll #241021: Reference to "Story" in help text not renamed. after this gets committed.

dries’s picture

Status: Reviewed & tested by the community » Needs work

I applied this patch but it fails at one chunk. It will need to get rerolled.

keith.smith’s picture

Status: Needs work » Needs review
StatusFileSize
new14.18 KB

Rerolled. The hunk failed due to the renaming of that one last instance of "Story" to "Article".

floretan’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new14.09 KB

Re-rolled patch to adapt to the change from #241021: Reference to "Story" in help text not renamed.. Just changed Story to Article in the patch directly and it applies cleanly. No other changes, so marking as RTBC.

dries’s picture

Status: Reviewed & tested by the community » Needs work

I think a recent patch might have broken this patch again. Sorry.

floretan’s picture

Status: Needs work » Reviewed & tested by the community

Re-tested the patch on a current checkout from HEAD, and it works fine (applies cleanly with both the patch command and Eclipse).

catch’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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

recidive’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new2.89 KB

The applied patch was incomplete. Editing and deleting content types are still on 'admin/content'.

Patch to correct this attached.

dries’s picture

Status: Needs review » Fixed

Good catch. Committed to CVS HEAD. Thanks.

webchick’s picture

Category: task » bug
Status: Fixed » Active

This patch broke translation.test (at least). Please fix.

catch’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

translation.test was reviewed on April 10th, after the original patch here was committed. So the test should really have been failing due to the bad path in the code and passed when the followup patch went in rather than vice versa.

I can't find admin/content/node-type anywhere else in core, so hopefully this one will fix it.

catch’s picture

Status: Needs review » Reviewed & tested by the community

Since the patch is trivial, and all translation tests pass with it applied, I'm going to mark my own patch RTBC.

catch’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Marking back to closed in favour of: http://drupal.org/node/260499#comment-851924