|
#1
|
|||
|
|||
|
Multiple days (posts) in main page
Hi,
I'm trying to develop a photoblog where pictures are shown horizontally, day by day. I've searched the forum and all I found were ways to post multiple images on the same day (post). I would like to be able to show more than one post in the main page. Any addon for this? Any ideas? Thanks in advance. |
|
#2
|
||||
|
||||
|
Pixelpost is a one photo per month/day/week/hour application. Technically it cannot show multiple posts without the use of an addon.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#3
|
||||
|
||||
|
Something I've been working on...
Ok here's something that I've been playing around with...
http://blog.kevincrafts.com/index.php?x=multiphoto Now with the Entry Page addon, you can make it act as the "main page" |
|
#4
|
|||
|
|||
|
entry page addon!
hi kevin,
that's what I was looking for, great. where can I get the addon? thanks. |
|
#5
|
||||
|
||||
|
Still cleaning it up but I should have it available soon.
|
|
#6
|
|||
|
|||
|
thanks man,
I'll keep passing by. |
|
#7
|
||||
|
||||
|
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#8
|
|||
|
|||
|
Hello Kevin and all,
I've been installing the multiphoto addon and so far so good. There's just something I couldn't get to work. I would like to show the multiple posts horizontally, each photo's div with a 100% width (occupying the full screen; photos are smaller). Any tips? The closest I got was to show the photos horizontally, but right next to one another. And another question: is it possible to show more than 10 posts? and all the posts available? Thanks in advance. |
|
#9
|
||||
|
||||
|
You can put the addon tag in another element (like a div tag) and then with some javascripting, set the width of the individual photo elements (div.photowrapper) to be the size of the screen, and then set the outer element to be 10 times that width.
Or you could also edit the multiphoto template file to output table cells and put them inside a table row and set the cell width to be a large number (with css) or set them to be the screen width with javascript. As for displaying more than 10, you can edit the addon. Search for '10' and replace it with the number you want. For displaying all posts, you'd need to edit the sql statement. Change line 22 from this: $query = "select * FROM ".$pixelpost_db_prefix."pixelpost where (datetime<='$cdate') ORDER BY datetime DESC $limit"; to this: $query = "select * FROM ".$pixelpost_db_prefix."pixelpost where (datetime<='$cdate') ORDER BY datetime DESC"; |
|
#10
|
|||
|
|||
|
Thanks for the tip,
I've managed to get the service done, using css. One more thing: I must be blind or something, but I couldn't find the addon to publish more than one photo in the same post, without having to stitch then in photoshop... There is one, isn't there? Thanks again, Diogo |
| Post Reply |
| Thread Tools | |
|
|