Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-03-25 09:04:36
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Monthly thumbnails archives (photoblog).
Hi,
I’m setting up my photoblog using TXP and I’m quite new to the system. I’m trying to make paginated monthly archives of my photos, as you can see here: http://urbangriffin.com/archives/ .
I’d like the column that says ‘Archives’ to display links to monthly archives, while the right-most column would display a limited numbers of those thumbnails, with two links at the bottom to view the previous, say, 10 thumbnails in the July archive, or navigate to the next ten in the set.
I really don’t think I have a clue as to how to go about this… How to get started ? :)
Thanks.
Offline
#2 2006-03-26 08:59:15
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: Monthly thumbnails archives (photoblog).
I have found this cool plugin (http://www.wilshireone.com/textpattern-plugins/rss-live-archive) which might be a help. Except, I cannot see how to customize it into doing precisely what I need. I would like the links to posts ordered by year and month, but I would like the links to not be the titles but thumbnails of the articles images, and possibly, I’d like to specify where each of these two elements should appear in the section. I’m already using the tru_tags and wet_thumb_article plugins for organising them by tags, as seen here: http://urbangriffin.com/tag/monochrome/.
Any enlightened suggestions ?
(Follow my bumpy progress: http://urbangriffin.com/archives/)
Last edited by lisionosk (2006-03-26 09:49:19)
Offline
#3 2006-03-26 16:36:36
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Monthly thumbnails archives (photoblog).
Did you try txp:if_different?
Something like
<code>
<txp:if_different>
<!— heading – only once a year —>
<h2><txp:posted format=”%Y” /></h2>
</txp:if_different>
<txp:if_different>
<!— heading – only once a month —>
<h3><txp:posted format=”%B %Y” /></h3>
</txp:if_different>
here the code to display your thumbnails
</code>
(Didn’t try this myself, so I’m not sure it will work the way you need it.)
Offline
#4 2006-03-27 09:07:45
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: Monthly thumbnails archives (photoblog).
Thank you, Els. Doing that, oddly, would only display archives for the current month (http://urbangriffin.com/archives/).
With some big help from a friend, I’m going to try to modify the rss_live_plugin into making it display thumbnails as links to posts, and it would be nice if every element of the archives generated could be modified with tags from within forms. I don’t know the first thing about developping plugins myself. Any good advice or tips off the top of anyone’s head ? ;)
Regards.
Offline