Feed items

  • warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_argument.inc on line 48.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 111.
  • warning: Declaration of views_plugin_row_node_view::options_form(&$form, &$form_state) should be compatible with views_plugin_row::options_form($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/modules/node/views_plugin_row_node_view.inc on line 35.

Template for printing

Drupal does not indicate variable $base_url in print.tpl.php. file. Even if it is (re)commented in settings.php file.





Node adding by “node save”

Name variable (user name) should be always present when automatic node adding by node_save in Drupal. If this parameter is absent and adding goes by the role of superuser (uid=1) variable uid is ignored and changed to 0





HeidiSQL - free (GNU GPL) MySQL manager for Windows

We recommend you to try free (GNU GPL) MySQL manager for Windows. Open Source, free for using manager that is developing actively. Very useful.





Checklist before showing the project to the Client

1. At the very beginning of work don’t forget about original prefix for tables in DB.
2. Check all site pages in IE 7
3. Make sure, that admin with limited rights is developed for client, ant that this admin has enough rights for content editing.





Useful module

Some time ago client asked us to output ICQ status in contact block, to make users see if manager is online for chat. This module was implemented with the use of hook_filter.





Layout recommendations

1. Cross browser testing
Site should work fine in IE6-8, FF3+, Opera9+, Safari4+, Chrome4+
2. Always define background colour for body even if it’s white.
3. If you use css hacks comment them, or better use css_browser_selector.js. Remember about layout designers, that will work with this layout afterwards.





Improvement of form usability in Drupal

It’s a common fact that standard drupal edit node form is not user friendly at all. There are too many of confusing elements and field-sets.





Transparency with the help of CSS

.someclass     {
      opacity: 0.3;
      filter: alpha(opacity=30); /* for IE */
}
   





Hiding user 1 from administrator with limited rights

Insert it in hook_form_alter implementation in your custom module