Quote Originally Posted by balihr View Post
No, it doesn't display captions - I removed it because most people didn't want it and it can no longer be disabled from the admin (the new version of Nivo Slider controls it only from CSS, no more control from javascript).

If you want to enable captions, edit includes/functions/extra_functions/zx_banner.php
Find line 68:
Code:
$banner_string = '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'">';
and replace with
Code:
$banner_string = '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" title="'. $banner->fields['banners_title'].'">';
Find line 71:
Code:
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" target="_blank">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'"></a>';
and replace with
Code:
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" target="_blank">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" title="'. $banner->fields['banners_title'].'" ></a>';
Find line 73:
Code:
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'"></a>';
and replace with
Code:
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" title="'. $banner->fields['banners_title'].'"></a>';
You might need to play with CSS after doing this.

Regards,
Leonard
I added captions back to this using the above post. This works only when the link is opened in a new window. If you opt for same window the caption does not show. How would I change that?