Needs Improvement
pwn: let users grant permissions they own to roles (delegate only their own privileges to others)
drupal allow user to administer only permissions they have
drupal give lesser permissions
permission delegate
drupal grant permissions you have
Agaric and the world needs a
Drupal role permission to set permissions for any permission it has
http://gotdrupal.com/videos/manage-drupal-permissions-more-easily
Having the top-level menu items not be links (for use with dropdown menus)
The best approach may be to avoid this entirely with proper information architecture. I always try to make these have meaning themselves, but certainly with not expecting most people to click on them anyway, this does not always make sense. Instead, the way Agaricer Kathleen did it for one project is simply to have each dropdown be a separate menu.
Making changes to a nested array that may have arrays or strings in some values
Pulled this from the test module for the new RDF module we're putting in Drupal core.
// dealing with a nested array where the top level can be a string or an
// array is complex and helper functions may be a good addition
<?php
rdf_mapping_alter_create('rdf_test_container', 'title', )
/**
* Make adding an attribute and property sane. $prop can be an array.
*/
Upgrading Drupal modules
Automated help:
http://drupal.org/project/deadwood
http://drupal.org/project/coder also has upgrade assisting functionality.
General best practices and Drupal 5 to 6:
http://drupal.org/node/114774
Mindmapping with Freemind
File this under to do– get into mindmapping with Freemind:
http://freemind.sourceforge.net/wiki/index.php/Download#Latest_beta_vers...
http://www.pronovix.com/blog/time-management-and-mindmapping-getting-thi...
http://drupal.org/project/freemind
Drupal's .info file parser versus PHP's .ini file parser
why does Drupal have its own .ini style parsing function - http://d6-api.drupal.org/api/function/drupal_parse_info_file - instead of using PHP's parse_ini_file - http://us3.php.net/manual/en/function.parse-ini-file.php ? (no, this is not academic for me!)
[4:18pm] Berdir: benjamin-agaric: because it's a different syntax.
Resolve a conflict to use local files after a merge goes bad in git pull
benjamin-agaric: looking for a little git help... i've got my repos on the server
I was pulling from it, but when I tried to push i noticed that i must have done it wrong and had the repository url as http
I changed that to the ssh style git. --and i was now connected to the repository two ways
Drupal deleting User UID 0
Possible culprits:
./profiles/scf/modules/modified/user_import/user_import.module:1450: user_delete($existing, $existing->uid);
./profiles/scf/modules/modified/invite/invite_cancel_account.module:20: user_delete(array(), $account->uid);
./profiles/scf/modules/contrib/logintoboggan/logintoboggan.module:42: user_delete(array(), $account->uid);
