Archive: September 2007

Configure sudo without password for a user Blog entry 5 years 35 weeks ago
If you'd prefer not to have to type a password to execute commands as root with sudo Edit the /etc/sudoers #visudo or #vi /etc/sudoers add a line for your user in this case mine is "chris" chris ALL=(root) NOPASSWD: ALL :qw #
Missing MMDocumentTypes.xml file? Blog entry 5 years 35 weeks ago
Firstly, the file may not be missing just hidden. If you're sure the file is missing or you're a Mac user then skip this step. Your MMDocumentTypes.xml file should be in either of the following, depending on the version. Dreamweaver CS3 on Windows Vista & XP: C:\Program Files\Adobe\...
Drupal: Icon on every link of a menu. Blog entry 5 years 37 weeks ago
Override theme_menu_item() (includes/menu.inc) edit/create template.php in your themes dir. <?phpfunction phptemplate_menu_item($mid, $children = '', $leaf = TRUE) {  return _phptemplate_callback('menu_item', array(        'leaf' => $leaf,  ...