Web Development
WebDev Archives
- April 2012 (2)
- March 2012 (2)
- December 2011 (8)
- November 2011 (1)
- September 2011 (16)
- August 2011 (22)
WebDev Categories
- ASP (1)
- CSS (2)
- General (33)
- HTML (3)
- JavaScript (4)
- mySQL (1)
- PHP (10)
- Snippet Library (7)
Iain's Tweets
- Manifesto for Agile Software Development http://t.co/qi4j58Hw 2012-04-07
- IE does not trap events on transparent elements! http://t.co/FMuZi26D 2012-04-07
- Pragmatic Programmer - WebDev http://t.co/7YlU250z 2012-03-31
- More updates...
Posting tweet...
Powered by Twitter Tools
WebDev Post Views
- ABBR vs ACRONYM HTML tags - 1,485 views
- Prevent Skype from formatting phone numbers - 538 views
- PHP Timeline - 440 views
- Fieldset border with hidden Legend bug in IE8 - 404 views
- The Father of JavaScript - 317 views
- Nested lists a common mistake - 306 views
- Herding Cats - 280 views
- WebDev from PC Soft - 276 views
- XBox Avatar - 241 views
- Drupal 7: Redirect after login - 224 views
WebDev Poll
Loading ...-
Recent WebDev Posts
Iain's Links
WebDev Blog Meta
Tag Archives: Drupal
Dec
14
When you output a Jump Menu from a View in Drupal 6, it displays & instead of the ampersand. Therefore ‘Terms & Conditions’ appears as ‘Terms & Conditions’ in the menu. The following bit of PHP code fixes this problem: … Continue reading
Dec
14
The PHP code snippet below shows how to add a GROUP BY clause to a Drupal 6 View. function hook_views_pre_execute(&$view) { switch($view->name) { case ‘Services2′: $search = array(‘ORDER BY’); $replace = array(‘GROUP BY node_data_field_parent_service.field_parent_service_nid ORDER BY’); $view->build_info['query'] = str_replace($search, $replace, … Continue reading
Dec
14
I was recently asked to create a mechanism in Drupal 7, so that a client could add member only content to their Drupal 7 web site. The content was to be added periodically by the company in the form of … Continue reading
Dec
9
I recently had to add a member only section to a Drupal 7 web site. A problem I came across is that out of the box Drupal displays the User page after successful login and the member pages where not … Continue reading

