Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 07-03-2005, 03:30 PM
k10 Offline
forum loafer
 
Join Date: Jul 2005
Posts: 4
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.
Reply With Quote
  #2  
Old 07-03-2005, 04:06 PM
Connie
Guest
 
Posts: n/a
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:
Quote:
<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
Reply With Quote
  #3  
Old 07-03-2005, 04:48 PM
k10 Offline
forum loafer
 
Join Date: Jul 2005
Posts: 4
Thanks for clearing it up! ops:
Reply With Quote
  #4  
Old 07-03-2005, 09:37 PM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
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
__________________
i should say more clever stuff
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:44 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs