View Full Version : Latest image: no "next"-link
Anyone has any idea how and where to hack the source code to not display the "next" link (or whatever it might being called on your site) at the latest image?
Example at http://zoomcollective.com/. On the front page there is no "next"-link (navigation is top-right), all other pages feature both the "previous"- and "next"-link.
Connie
07-03-2005, 04:06 PM
nobody needs to have an idea how to hack something, because this is a basic functionality of PixelPost
if there is no next image, no next-link will be displayed
if there is no previous image, no previous-link will be displayed
this is all done
you do not need to hack anything
just look into your language-file and find out about the relevant tags for the image-template:
<IMAGE_PREVIOUS_LINK> || full link that says "Previous", or empty if no previous
<IMAGE_PREVIOUS_ID> || id of previous image
<IMAGE_PREVIOUS_TITLE> || if empty, displays "No Previous Image"
<IMAGE_NEXT_ID> || id of the next image
<IMAGE_NEXT_TITLE> || if empty, displays "No Next Image"
<IMAGE_NEXT_LINK> || full link that says "Next", or empty if no next
so if you use these tags in the template it will work as you whish
Thanks for clearing it up! :oops:
blinking8s
07-03-2005, 09:37 PM
well, any modification to the php is concidered a hack for this conext, if you were to copy a new version of the backend over the top of the "hacked" version your changes would be lost.
Anyway...the solutions there, so its all good
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.