Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #11  
Old 04-09-2005, 06:03 AM
aswilliamson Offline
pp regular
 
Join Date: Mar 2005
Posts: 21
Send a message via MSN to aswilliamson
so now is there a way to show all the photos from today on the image_template when you first view the site, and then still have it regular at ohter time, like when looking at prevous page and archives etc?
__________________
my photoblog www.shadedpixel.net
Reply With Quote
  #12  
Old 04-09-2005, 06:28 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
It shows the all photos on the same day as the image you are viewing on photoblog. Even if it is on the same date as today or if it is an image shown by clicking on one of the thumbnails in the archive. It's exactly what you wanted unless is does not cosider any limitation for not showing this on some days that you select.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #13  
Old 04-09-2005, 07:47 PM
aswilliamson Offline
pp regular
 
Join Date: Mar 2005
Posts: 21
Send a message via MSN to aswilliamson
ok so.. how would I replace

Code:
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><img id="image" src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="go to <IMAGE_PREVIOUS_TITLE>" /></a>
with

Code:
<TODAY_IMAGES>
__________________
my photoblog www.shadedpixel.net
Reply With Quote
  #14  
Old 04-11-2005, 09:50 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
does that method not rely on there being at least one photo posted each day?

ie, if a photo isn't posted the <today_image> tag won't show anything?
Reply With Quote
  #15  
Old 04-11-2005, 05:58 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
no if there is no photo at a day there would show nothing on that day. but if you browse the main page it will show the latest photo at least. try it yourself instead of asking. plz
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #16  
Old 04-11-2005, 06:14 PM
Joris Offline
forum loafer
 
Join Date: Apr 2005
Posts: 13
It works unless you try to get to the previous photo by clicking on one of the current photos. Both photos should be linking to the previous day instead of just the previous photo.
Reply With Quote
  #17  
Old 04-11-2005, 06:25 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
sorry that a matter of template design.
or if you want links to photos on the same day you can extract the id of the photos and make new tags in the addon.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #18  
Old 04-12-2005, 10:05 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
I think i just used the provided tags, no links in the template, but I'll check
Reply With Quote
  #19  
Old 04-12-2005, 10:06 AM
Joris Offline
forum loafer
 
Join Date: Apr 2005
Posts: 13
.. that was me, forgot to login
Reply With Quote
  #20  
Old 04-22-2005, 11:14 AM
cmckibbin Offline
forum loafer
 
Join Date: Apr 2005
Location: Vancouver BC Canada
Posts: 7
Quote:
Originally Posted by Joris
It works unless you try to get to the previous photo by clicking on one of the current photos. Both photos should be linking to the previous day instead of just the previous photo.
I found that this works:
In image_template "<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"> <TODAY_IMAGES></a>"
In addon file "$today_images .= "<img id='image' src='images/$image_name' alt='$image_title' title='$image_title' />";" (take out the <a> tag)
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 04:34 PM.

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