I've installed an GD watermark hack, and after that, on any page, instead of getting 1,2,3,4,5,6 links to pages, I've got only two links, 1st - to 1st page, and 2nd - to the last page. How should I fix that? and can I convert them to "Prev" "Next" buttons?
we don't know what you did, so how are we suppossed to know? If you need help on a particular mod, post a reply to the thread where the mod is being discussed. A link to your site is nearly always mandatory to post if you have issues on your site that others don't have.
I did a lot of things, so it's not a good idea to ask in hacks part. I'm asking for simple thing, which file generates pages and puts next page link to them? and where in code is this?
here's link to my gallery
http://www.damireke.com
I can give you admin pass, if it will help
Official in functions.inc.php the part :
function create_tabs($items, $curr_page, $total_pages, $template)
But your problem has probably got to do with an adjusted theme.php file
look for things like :
$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
'tab_header' => '',
'tab_trailer' => '',
You can make a next and previous tab if you want but first of all get the normal function back working again before using the modification at:
http://forum.coppermine-gallery.net/index.php?topic=8166.msg36113#msg36113
I've checked my theme.php
// Template used for tabbed display
$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
'tab_header' => '',
'tab_trailer' => '',
'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1"></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>%d</b></a></td>' . "\n"
);
and this parts seems to be fine