View Full Version : next image link
turkish
08-24-2006, 12:27 AM
i would like to display the next_image_link all the time. i.e. on the first page when there is no newer image i would still like the word "next" displayed, as it balances my design. i've looked at the language file,
but it doesn't seem to help.
it displays "next" when there is a newer image and displays " " *nothing when there isn't
im using 1.4.3 i think,
any ideas please?
i imagine this is fairly straightforward but im being stupid.
thanks in advance
jdleung
08-24-2006, 03:27 AM
in image_template.html, you can replace <IMAGE_PREVIOUS_LINK> and <IMAGE_NEXT_LINK> like below:
<a href='index.php?showimage=<IMAGE_PREVIOUS_ID> '>previous</a>
<a href='index.php?showimage=<IMAGE_NEXT_ID> '>next</a>
Connie
08-24-2006, 06:09 AM
you should update to the actual version
we do not want to support older versions anymore, to protect YOU from SPAM!
and your question:
have a look at your language file:
you have some variables which can be filled with text:
$lang_previous = "Previous";
$lang_next = "Next";
$lang_no_previous = "No Previous Image";
$lang_no_next = "No Next Image";
so use these "lang_no...." variables!
turkish
08-24-2006, 07:42 AM
thanks jd that's spot on.
connie, i tried that already and it didn't seem to make a difference.
i will update soon, but will i loose my modified templates?
Connie
08-24-2006, 07:55 AM
no worry, your templates will not be affected if you take precaution:
read the upgrade-info:
- make a backup of your templates (allways recommended)
- if your template still has a standard name take care that after uploading all upgrade-files, re-upload your template files
it is always good to name modified templates differently so any update will not harm them at all
turkish
08-24-2006, 07:58 AM
ah good idea!
thank you.
Connie
08-24-2006, 09:51 AM
Memnun oldum ;=)
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.