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

Block Configuration Listing in User Profile

4.6 offers great improvements when it comes to managing blocks. Under ADMIN - BLOCKS, available blocks are listed and grouped/sorted based on their position in the sidebar (left, right, weight). This makes it a lot easier to configure a site in terms of block appearance. I was thrilled to see this usability improvement in 4.6.

Empty menu blocks shouldn't render in 4.6

In 4.5, menus with no items wouldn't render. This is broken in 4.6. So eg if the anon user doesn't have access to any of the items in a menu, they will still see a block for it. I made the following change to fix this:

In menu.module:menu_block, I changed

  else if ($op == 'view') {
    $data['subject'] = $menu['items'][$delta]['title'];
    $data['content'] = '<div class="menu">'. theme('menu_tree', $delta) .'</div>' ;
    return $data;
  }

to

Allowing setting up of modules accees order

Hi Guys,
I have been doing a few add-ons to drupal using teh node-api hook, which I have to admit I really like. And encountered the problem that when you have a few modules implementing the nodeapi interface, there is order in the execution of the modules, except for the alphabetical order of the module names. An example of such use can be seen at LOKI Hostel - Balcony WIP. On the first runs I did (before hacking the module.inc) the book navigation appeared before the image gallery photos and navigation controls, which seemed all wrong.
My solution, a fast and simple one was to add a new column in the 'system' DB table called 'forder' and change the select getting the modules list to use that column for ordering of the modules. I then place a -1 value for the image module, and that solved my problem.

Drupal programming from an object-oriented perspective

Jonathan Chaffer, long time Drupal core developer, has written up a long description about Drupal Programming from an Object-Oriented Perspective. It is a highly technical but excellent overview of many of the core concepts of Drupal programming.

Drupal often gets criticized by newcomers who believe that object-oriented programming (OOP) is always the best way to design software architecture, and since they do not see the word "class" in the Drupal code, it must be inferior to other solutions. In fact, it is true that Drupal does not use many of the OOP features of PHP, but it is a mistake to think that the use of classes is synonymous with object-oriented design. This article will cover several of the features of Drupal from an object-oriented perspective, so programmers comfortable with that paradigm can begin to feel at home in the Drupal code base, and hopefully be able to choose the right tool for the job.

system.module what is ][ in "$var][default_logo"

Hi,
In system.module about lines 635 to 678 I found several "$var][default_logo" statements in differnet form_ functions. I cant find any documentation or rules about '][' in the previous statement.

What does ][ means??

/Jonny

php 4.3.11

Hi. Is Drupal 4.5.2 compatible with php 4.3.11? Is Drupal 4.5.2 affected by these php 4.3.10 security problems that were fixed in 4.3.11? ("security issues inside the exif and fbsql extensions as well as the unserialize(), swf_definepoly() and getimagesize() functions"). And what about Drupal 4.6cvs? thanks

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core