See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

Limit Search to a Taxonomy

I am planning to patch the search.module to allow restriction of searches to sets of specific taxonomies.

Taxonomy limited searches would be available via a URL like:

1) http://my.site.com/search/node/taxonomy/term/1+5+6/my+search+text
2) http://my.site.com/search/node/taxonomy/term/1,5,6/my+search+text

Add author information to "recent comments" block

(I tried to submit this as an issue -- feature request -- but now seem not to have the ability to post new issues.)

In doing the 4.6.3 update, I lost a little hack I did on the comments.module so that the "author" information is added to the recent comments block. I always felt that the block was rather mysterious about the recent comments, what with not saying who actually made the comments. Anyway, I went ahead and re-did the little hack on the comments module from the 4.6.3 tarball. Here are the particulars:

Starting at line 170, remove:

      $items[] = l($comment->subject, 'node/'. $comment->nid, NULL, NULL, 'comment-'. $comment->cid) .'<br />'. t('%time ago', array('%time' => format_interval(time() - $comment->timestamp)));

and replace it with this:

// added hack to add commenter's name to the 'recent comments' block
      $result2 = db_query('SELECT name FROM {comments} WHERE cid='.$comment->cid);
$comment_user = db_fetch_object($result2);

$items[] = l($comment->subject . '', 'node/'. $comment->nid, NULL, NULL, 'comment-'. $comment->cid) .' by '. $comment_user->name . '<br />'. t('%time ago', array('%time' => format_interval(time() - $comment->timestamp)));

This will add the commenter's name as entered in the comment into the "recent comments" block.

I hope this can be incorporated into the core distribution. It seems rather unhelpful to leave out this information in the recent comments module. I'd submit this as a custom block, but I'm not adept enough at the Drupal code to manage that. For fellow php-challenged site admins, I've uploaded the patched comment.module for 4.6.3 here. Caveat emptor.

Node Access Role patch

Hi,

I made quick&dirty changes on some files to allow node-role access. I'm new around, and I did all on the last stable version of Drupal. Let me know what you think about them. I don't know how to post it here, so I'll put it on my web page.

http students dot csci dot unt dot edu slash ~ cel0058 slash drupal_changes dot tar dot bz2

I'd like to have some feedback. All negative feedback wil be > /dev/null :D

iZelp.

hidden values in forms have no id

Guys,

could you please add ID and NAME to the hidden values in forms?
Since no IDs exist now - it's impossible to change them from JavaScript by name (or ID).

It's the
function form_hidden($name, $value)
in common.inc

--------
I put it like this as a quick fix:

function form_hidden($name, $value) {
  return '<input type="hidden" id="edit-' . $name . '" name="edit['. $name .']" value="'. check_plain($value) ."\" />\n";
}

--------

Code freeze in preparation of Drupal 4.7.0

In preparation of the Drupal 4.7.0 release, development of Drupal core will be frozen on September 1st. As of September 1st, the focus is to strengthen the code base's performance, usability and stability. As we progress, focus will shift towards stability and near the end of the code freeze, only bug fixes will be allowed, until no release critical bugs are left. After the code freeze, it will take several weeks before Drupal 4.7.0 can be released, however, one or more release candidates will be made available during the code freeze.

Read on for more information about the current status of the forthcoming Drupal 4.7 release.

Menu Item Type 116 (menu.module lacking feature)

It is:

118 = MENU_CUSTOM_ITEM | MENU_MODIFIED_BY_ADMIN
= MENU_VISIBLE_IN_TREE | MENU_VISIBLE_IN_BREADCRUMB | MENU_CREATED_BY_ADMIN | MENU_MODIFIABLE_BY_ADMIN | MENU_MODIFIED_BY_ADMIN

and

116 = MENU_VISIBLE_IN_BREADCRUMB | MENU_CREATED_BY_ADMIN | MENU_MODIFIABLE_BY_ADMIN | MENU_MODIFIED_BY_ADMIN

There is no way to get a custom menu entry of type 116 without injecting by module or database hacking.

I made a little example of what nice things you could achive with 116:

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core