Hi all , sorry for my English.
how to add <previous as previous image, and next> as next image.
I want to this line from uc_product_image: $output .= theme('imagecache',
'_original', $first['filepath'], $first['alt'], $first['title']);
function theme_custom_pager($nav_array, $node, $pager) {
drupal_add_css(drupal_get_path('module', 'custom_pagers')
.'/custom_pagers.css');
$links = array();
$links['custom_pager_prev'] = array(
'title'=> t('< previous'),
'href' => !empty($nav_array['prev']) ? 'node/'. $nav_array['prev'] :
NULL,
);
$links['custom_pager_index'] = array(
'title' => ($nav_array['current_index'] + 1) .' of '.
count($nav_array['full_list']),
);
$links['custom_pager_next'] = array(
'title' => t('next >'),
'href' => !empty($nav_array['next']) ? 'node/'. $nav_array['next'] :
NULL,
);
return theme('links', $links, array('class' => "custom-pager
custom-pager-$pager->pid custom-pager-$node->type"));
}
Or any solution how to check if in taxonomy path or node/ path. any help
will be appreciated
TNX
Ruslan.