Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 01-11-2008, 01:42 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Lightbulb New Addon: Text Archive

The Text Archive addon will display the archive of your photoblog in a text list sorted by month. There is also another tag that will allow you to show your categories in the same type of view but sorted by category name.

Instructions:

1. Put text_archive.php in your addons folder.
2. Put <TEXTARCHIVE> on a template. Although you can use the browse template, I would suggest making another html template so you can still use the browse page for thumbnails. For the category archive, use <CATEGORYTEXTARCHIVE>

See a Demo

Download
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #2  
Old 01-11-2008, 03:13 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
Oups remove my post because I didnt test it before posting my comment

Last edited by fredxeric; 01-12-2008 at 09:03 PM. Reason: error
Reply With Quote
  #3  
Old 01-12-2008, 06:38 AM
two40's Avatar
two40 Offline
forum loafer
 
Join Date: Jan 2008
Posts: 10
Looks really handy for large databases. Good job.
Reply With Quote
  #4  
Old 01-12-2008, 05:16 PM
rk.balla's Avatar
rk.balla Offline
forum loafer
 
Join Date: Apr 2007
Location: Corvallis, OR
Posts: 4
Thumbs up

Neat and informative addon.. installs in a breeze.
Thanks.
__________________
RK | klachak klachak..
(running Pixelpost v1.7.0 RC1)
Reply With Quote
  #5  
Old 01-15-2008, 12:21 PM
posefius's Avatar
posefius Offline
pixelpost guru
 
Join Date: Mar 2005
Location: Netherlands
Posts: 100
Hello Kevin,

This is a very handy addon. But I have a very large database with a lot of future posts in the archive. The list contains also the headers of the future months. Is it possible to modify the addon so that it doesn't list the months of future posts.

Thanks
Reply With Quote
  #6  
Old 01-15-2008, 01:30 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Ahh I hadn't thought about that - I only looked for that when I did the queries for the posts - let me work on it. Thanks for pointing this out.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #7  
Old 01-15-2008, 02:24 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Done.

Download
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #8  
Old 01-15-2008, 02:27 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
Kevin, you're going to want to put WHERE datetime<='$cdate' in your SQL query. You might also need to make $cdate a global variable.

EDIT: You beat me too it. Good job
Reply With Quote
  #9  
Old 01-15-2008, 02:34 PM
posefius's Avatar
posefius Offline
pixelpost guru
 
Join Date: Mar 2005
Location: Netherlands
Posts: 100
Kevin,

You are very quick, it works fine now!

Thanks
Reply With Quote
  #10  
Old 01-20-2008, 06:46 AM
Dr.Ozdi's Avatar
Dr.Ozdi Offline
pp regular
 
Join Date: Mar 2007
Location: Czech republic, Europe
Posts: 47
I need change date format to the similar as show "image_template" (yyyy/mm/dd, 2008/01/20), can you help me?

Very usefull addon, thanks for it!
__________________
Dr.Ozdi
Dr.Ozdi takes a photos, photoblog
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:26 PM.

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