[support] need help!!!

Ruslan Aldar ruslan.aldar at gmail.com
Tue Apr 8 08:02:08 UTC 2008


Greetings everyone.
First of all sorry for my English.

My problem is that I cant check if the node in taxonomy directory or in node
directory.
I made changes in uc_product.module  something like that:

$output .='<div class="product_image">';
if(){               //here if  node is in taxonomy directory
   $output .= '<a href="'.'node/'. check_url($first['nid']) .'">';
  $output .= theme('imagecache', 'product', $first['filepath'],
$first['alt'], $first['title']);
 $output .= '</a>';
}
else{
$output .= theme('imagecache', '_original', $first['filepath'],
$first['alt'], $first['title']);
$output .='</a>';
}
</div>

that's it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080408/721fcaae/attachment.htm 


More information about the support mailing list