|
#11
|
|||
|
|||
|
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 |
|
#12
|
||||
|
||||
|
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 |
|
#13
|
|||
|
|||
|
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> Code:
<TODAY_IMAGES>
__________________
my photoblog www.shadedpixel.net |
|
#14
|
||||
|
||||
|
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? |
|
#15
|
||||
|
||||
|
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 |
|
#16
|
|||
|
|||
|
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.
|
|
#17
|
||||
|
||||
|
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 |
|
#18
|
|||
|
|||
|
I think i just used the provided tags, no links in the template, but I'll check
|
|
#19
|
|||
|
|||
|
.. that was me, forgot to login
|
|
#20
|
|||
|
|||
|
Quote:
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) |
| Post Reply |
| Thread Tools | |
|
|