Index: custompage_util.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/custompage/Attic/custompage_util.inc,v
retrieving revision 1.1.2.8
diff -u -p -r1.1.2.8 custompage_util.inc
--- custompage_util.inc	3 Apr 2010 18:57:35 -0000	1.1.2.8
+++ custompage_util.inc	24 Nov 2010 19:02:50 -0000
@@ -67,7 +67,7 @@ function custompage_view_tile( $name, $t
  * @param $type
  *   node type
  */
-function custompage_node_tile( $key, $type = '', $teaser_only = FALSE, $show_title = TRUE ) {
+function custompage_node_tile( $key, $type = '', $teaser_only = FALSE, $show_title = TRUE, $use_language = TRUE ) {
   global $language;
   
   $langcode = $language->language; //ISO2 code
@@ -78,7 +78,11 @@ function custompage_node_tile( $key, $ty
     $node = node_load( array( 'nid' => $key ) );
   }
   else if ( is_string($key) && !empty($type) && is_string($type) ) {
-    $node = node_load( array( 'title' => $key, 'type' => $type, 'language' => $default_langcode ) );
+      $params = array( 'title' => $key, 'type' => $type );
+      if($use_language){
+        $params['language'] = $default_langcode;
+      }
+      $node = node_load($params);
   }
     
   if ( !is_object($node) ) {
