Hi,

Firstly I must complement all the hard work on this fine product. Best open source CMS I have used thus far!

I noticed an issue within the aggregator node, at least in my installation. The aggregator "categories" node appears no matter what I do in terms of disabling it in the menu, or moving it as a child of the administration node. It by default appears under "navigation".

The aggregator categories node does not appear as a block, and cannot be hidden or moved to different areas of the content space (header, footer, sidebar, etc.) The aggregator feeds however can appear fine and will disappear when disabled in the menu, etc... However I cannot disable the aggregator categories menu item itself in the menu.

Under the menu option, I tried moving the categories node underneath "administration" to see if it could only appear upon logging in. This did not work, regardless of whether I was logged in. I ended up changing my block.tpl.php and moving all navigational elements into a separate menu.

Thanks for your consideration.

block.tpl.php code:

<?php
	//CHANGES 20060525 - BN - Fixes bug in which Navigation categories display and not able to render them invisible via menu (not considered a block), deleted certain block titles, and cleaned code up a bit.
   $divBlockString = "<div class=\"block block-".$block->module."\" id=\"block-".$block->module."-".$block->delta."\">";
	global $user;
	if ($user->uid) {  //user logged in, show all
		print "".$divBlockString;
		if (!in_array($block->subject, array("Poll"))) {
		    print "<h2 class=\"title\">".t($block->subject)."</h2>";
		}
	    print "<div class=\"content\">".$block->content."</div></div>";
	} else { //user not logged in, if the block title is Navigation, don't display anything, else display normally
		if ($block->subject != "Navigation") {
			print $divBlockString;
			if (!in_array($block->subject, array("Poll"))) {
			    print "<h2 class=\"title\">".t($block->subject)."</h2>";
			}
		    print "<div class=\"content\">".$block->content."</div></div>";
		}
	}
?>

Comments

budda’s picture

Project: Aggregator Node » Drupal core
Version: master » 4.7.1
Component: User interface » aggregator.module

Moving to the right project tracker.

magico’s picture

Status: Active » Closed (fixed)

This guy disapeared...

two2the8’s picture

This problem still exists in the current aggregator module as well. It's very inconvenient not to have the ability to just disable the 'categories' menu item.

two2the8’s picture

Status: Closed (fixed) » Active

Unfortunately, problem still exists.

magico’s picture

@two2the8: could you please confirm if it exists in the current HEAD? We have now a Drupal 5 Beta 1 and we should make every possible efforts to make it out with less bugs.

two2the8’s picture

will check it out.

ChrisKennedy’s picture

Version: 4.7.1 » 5.x-dev

This does still exist in HEAD. I was trying to disable it earlier today and couldn't figure out why it wasn't possible.

ChrisKennedy’s picture

Title: Aggregator node categories showing up under "navigation" without ability to remove them... (temporary fix included) » Aggregator categories menu item cannot be disabled

The categories menu is set to MENU_ITEM_GROUPING so it should be disabled automatically if it has no sub-items to display. The functionality does work correctly for node/add (the only other menu item in core that uses this option), but not for the aggregator.

marcingy’s picture

This seems to be fixed under 5.1 the menu item is disabled on the site I work on.

mustafau’s picture

Status: Active » Fixed

I can disable it from "admin/build/menu/item/%item/edit".

Anonymous’s picture

Status: Fixed » Closed (fixed)

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