8 Apr
2008
8 Apr
'08
10:02 a.m.
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.
6621
Age (days ago)
6621
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ruslan Aldar