Recent Posts

TwitterFeed for D4D review

  1. http://drupal.org/project/issues/search/drupal/rss?status[0]=Open&issue_tags=Needs%20design%20review

text

  1. this is a normal text...

rewrite

  1. RewriteCond %{HTTP_HOST} ^aaa\.net$ [NC]
  2.  
  3. RewriteRule ^(.*)$ http://bbb.com/$1 [L,R=301]

Module to overrule the save settings of the "new node" form

  1. <?php
  2. /**
  3. * Display help and module information
  4. * @param path which path of the site we're displaying help
  5. * @param arg array that holds the current path as would be returned from arg() function

Code

  1. ? drush_interactive.patch
  2. ?

apidoc

  1.   /**
  2.    * Overrides SelectQuery::orderBy().
  3.    *
  4.    * PostgreSQL adheres strictly to the SQL-92 standard and requires that when
  5.    * using DISTINCT or GROUP BY conditions, fields and expressions
jrguitar21's picture

Empty DateTime Object

  1. <?php
  2.  
  3. // Put this code in a new file (eg date.php) in your drupal root.
  4.  
  5. $_SERVER['REMOTE_ADDR'] = '127.0.0.1';
  6. require_once './includes/bootstrap.inc';
  7. drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

Fix for listcars_manufacturer.module

  1. <?php
  2. // $Id$
  3.  
  4. /**
  5.  * @file
  6.  * Attaches a view to the manufactures nodes with a list of cars available from this manufacturer
  7.  */
  8.  
  9. /**
  10.  * implementation of hook_nodeapi
  11.  */
  12. function listcar

listcars_manufacturer.info

  1. ; $Id$
  2. name = listcars_manufacturer
  3. description = Attaches a view to the manufactures nodes with a list of cars available from this manufacturer
  4. core = 6.x
  5. package = Car Sellers

listcars_manufacturer.module

  1. <?php
  2. // $Id$
  3.  
  4. /**
  5.  * @file
  6.  * Attaches a view to the manufactures nodes with a list of cars available from this manufacturer
  7.  */
  8.  
  9. /**
  10.  * implementation of hook_nodeapi
  11.  */
  12. function listcar

Apple iPod Streaming-Event von heute - Windows, Android ist nicht zwingend

  1. Apple zum Livestream ihre Herbstveranstaltung
  2.  
  3. Hey, hasst du liest? Nun, schließlich ist Apple Gefühl deinen Schmerz.

manufacturer to vechile view

  1. $view = new view;
  2. $view->name = 'listcars';
  3. $view->description = 'attachments of a list of cars for the manufacturers pages';
  4. $view->tag = '';
  5. $view->view_php = '';
  6. $view->base_table = 'node';
  7. $

Der Hoffnungsträger für Hoffnung: Tablet-PC

  1. Neue shelle entwickelte persönliche Tablet
  2. Für viele ist der Tablet-PC ein Hoff¬nungsträger: Die Konsumenten hoffen auf ein leicht zu bedienendes Gerät mit Sexappeal, die Komponentenlieferan¬ten auf

Code

  1. function befimmo_surfaces_help($section) {
  2.   switch ($section) {
  3.     case 'admin/help#services_node':
  4.       return t('<p>Provides echo methods to services applications.

Apple iPod Streaming-Event von heute - Windows, Android ist nicht zwingend

  1. Apple zum Livestream ihre Herbstveranstaltung
  2.  
  3. Hey, hasst du liest? Nun, schließlich ist Apple Gefühl deinen Schmerz.

Fix for Re:

  1. Apple iPod Streaming-Event von heute - Windows, Android ist nicht zwingend
  2. Apple zum Livestream ihre Herbstveranstaltung
  3.  
  4. Hey, hasst du liest? Nun, schließlich ist Apple Gefühl deinen Schmerz.

Code

  1. // $Id: colorbox_default_style.js,v 1.2 2010/04/18 14:36:29 frjo Exp $
  2. (function ($) {
  3.  
  4. Drupal.behaviors.initColorboxDefaultStyle = function (context) {
  5.   $(document).bind('cbox_complete', functio

Code

  1. <?php
  2. function bootstrap($drupaldir, $http_host = 'example.com') {
  3.   // Change to the Drupal directory.
  4.   chdir($drupaldir);
  5.  
  6.   // Set some server variables so Drupal doesn't freak out.
  7.   $_SERV

Code

  1. <?php
  2. if (arg(0)=='node' && is_numeric(arg(1))) {
  3.   $node = node_load(arg(1));
  4.   switch ($node->type) {
  5.     case 'blog':
  6.       # code...
  7.       break;
  8.   }
  9. }
  10. ?>

Fix for Fix for Fix for Fix for retrieve field result from node

  1. // Example code to return the data for node 15 -- a change_request content_type.
  2. // The manager field uses the CCK user_reference field
  3. // The assigned is just a text field for comparison
  4.  
  5.   $myen
Syndicate content