First, I'm not sure if this has already been reported. Hard to search for.

Actually, there are several places one has to visit to configure how nodes are displayed.

  1. In admin/themes/settings, there's a block to enabled/disable "submitted by Username on date" per node type.

    I believe this information would make more sense in admin/settings/content-types or in admin/settings/node

  2. In addition to that, wouldn't it be easier to find all this kind of settings related to nodes placed on a new tab in admin/node ?

Comments

markus_petrux’s picture

I believe it's easier than it seems. To reduce the number of different locations where to find options related to the way nodes are displayed:

In node.module, find the following:

    $items[] = array('path' => 'admin/settings/node', 'title' => t('posts'),
      'callback' => 'node_configure',
      'access' => user_access('administer nodes'));
    $items[] = array('path' => 'admin/settings/content-types', 'title' => t('content types'),
      'callback' => 'node_types_configure',
      'access' => user_access('administer nodes'));

Replace with:

    // Node configuration tabs and subtabs
    $items[] = array('path' => 'admin/node/settings', 'title' => t('settings'),
      'callback' => 'node_configure',
      'type' => MENU_LOCAL_TASK, 'weight' => -9,
      'access' => user_access('administer nodes'));
    $items[] = array('path' => 'admin/node/settings/global', 'title' => t('global options'),
      'callback' => 'node_configure',
      'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10,
      'access' => user_access('administer nodes'));
    $items[] = array('path' => 'admin/node/settings/node-types', 'title' => t('node types'),
      'callback' => 'node_types_configure',
      'type' => MENU_LOCAL_TASK,
      'access' => user_access('administer nodes'));

The effect is that what it was 'admin/settings/node' and 'admin/settings/content-types' are now tabs/subtabs of 'admin/node'. That is, in 'admin/node' a new tab labeled 'settings' will be shown next to the tab labelled 'list' and that tab will have 2 subtabs labelled 'global options' and 'node types'.

If this approach is good, there would be something left. It is move the options to enabled/disable "submitted by Username on date" found in 'admin/themes/settings' to, either, a) the global options tab or b) to the corresponding page under the 'node types' subtab.

hmm... I'm not sure if I've been able to explain this correctly. Please, apply the above mentioned change and see for yourself. I hope that helps to see what I mean. To see the change, the menu has to be rebuilt, for instance, visiting admin/menus.

markus_petrux’s picture

Status: Active » Needs review
StatusFileSize
new2.83 KB

Please, review attached patch. I believe it helps a lot when searching where to configre options related to nodes and node types.

markus_petrux’s picture

StatusFileSize
new5.85 KB

That attached patch just moves several panels related to nodes/content settings to a single location (admin/node).

The attached image shows a new tab labelled 'configure' next to 'list', in admin/node.

markus_petrux’s picture

StatusFileSize
new7.16 KB

This images shows the tab 'configure' selected.

markus_petrux’s picture

StatusFileSize
new4.16 KB

And this images shows the node types subtab selected (it was content-types).

I hope it will save some time when looking for the panel that contains option 'x'. It happens to me all the time.

chx’s picture

markus, please review what we had for 4.6 and report back.

markus_petrux’s picture

ROFL. I just went back to the past!

So... why have all those options separated? IMO,
a) It makes things much harder to find, and
b) see admin/comment in 4.7

PS: There are also node settings in admin/themes/settings (display post info?) that I would move too.

markus_petrux’s picture

Can someone please explain why settings pages are separated? ...or post a link?

Aside, there are settings for nodes placed on different places. For instance, why there are settings related to nodes/content in the global configuration page for themes?

markus_petrux’s picture

Now, the contact module has its own settings as an additional tab (admin/contact/settings). I believe this has been recently implemented by this patch (issue).

The comments module has also its settings implemented under an additional tab (admin/comment/configure). Well, this is not consistent with the contact module approach (it uses the word "settings" instead of "configure").

I believe the comment/contact modules approach is more intuitive. That way, it's easier to find the place where the corresponding settings are. IMO, this is specially relevant when one needs to set things related to content. I do not have a lot of memory and when I need to change anything related to content I have to visit all possible locations to find the place where the option I'm looking for lives.

markus_petrux’s picture

Status: Needs review » Needs work

Probably the patch does not apply. If mine is a lost battle, feel free to mark as "won't fix", but please explain (or post a link) why this was changed in 4.7. Thanks

markus_petrux’s picture

Status: Needs work » Closed (works as designed)

Getting to know seems to be another lost battle, so...

PS: Did I say I better like the approach in comment or contact modules? Where do you find their settings page? ;-)