Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
A small Photoblog howto
Hi!
I just made a small photoblog howto. Have a look and post your comments. Is it useable? Any good?
Let me know what you think.
Regards
Brian
Offline
#2 2006-03-17 14:55:03
- EddieG5
- Member
- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: A small Photoblog howto
Excellent … thanks for putting together!
Offline
#3 2006-03-17 21:04:09
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: A small Photoblog howto
Good stuff. Thanks for taking the time to put the tutorial together.
Lee
Offline
#4 2006-03-24 20:04:20
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: A small Photoblog howto
Hi,
I am setting up my photoblog following your instructions and have made all the main functionalities work here: http://urbangriffin.com/photoblog/ (yay!)
If you have a moment, may I ask you how to tweak the tag’s pages into displaying a column with all the tags and their links to the corresponding pages, and also how to make monthly archive pages that display only thumbnails (linking to the individual entries) ? ;)
Thanks for any help to figure out this.
L. N.
Offline
Re: A small Photoblog howto
I’m not soure how you whant the tags page – don’t you whant a cloud, a list instead? If you just whant the list you can use “tru_tags_list” instead of “tru_tags_cloud” – see the plugin documentation for more options.
The archives can be divided by year and month like I did in this test page: http://pb.c-network.dk/test
Regards
Brian
Offline
#6 2006-03-25 08:24:41
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: A small Photoblog howto
Hi,
Thanks for your answer. Yes, I indeed would like to use a list instead of a cloud. But for now, I do not seem to be able to make the tagging really work. On each article page, it lists the right tags for the image, but when you follow the link to the thumbnails page with a give tag, you get all the thumbnails instead.
Also, I do not know what are the bits of code to insert to call for the entire list of tags and make it display the right thumbnails on each tag page.
An example of a page is here: http://urbangriffin.com/?s=tag&t=monochrome , where colour and monochromatic images are all together.
Help, please? ;)
Last edited by lisionosk (2006-03-25 08:26:17)
Offline
Re: A small Photoblog howto
You need this on the “Page” that you selected to you “tag” section (remove the whitespace):
< div id=“content” >
< txp:if_section name=“tag” >
< div id=“thumblist” >
< txp:tru_tags_handler form=“thumbnail_form” / >
< /div >
< txp:else / >
< txp:article form=“photoblog_form” limit=“1” / >
< /txp:if_section >
< /div >
You must have missed somthing in the guide – it should work as I described it ;-)
I gotta go now, but I’ll check in later :-)
Regards
Brian
Offline
#8 2006-03-25 11:30:06
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: A small Photoblog howto
Oh, it works finally: http://urbangriffin.com/tag/monochrome/ . It’s very neat. Thanks. :)
I’ll be working now on trying to paginate the thumbnails archives to only display 12 of them at a time and have a link to previous and next 12, if I can, and also make the date-based archives monthly.
Offline
#9 2006-03-26 07:08:48
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: A small Photoblog howto
Alright, I’m stumped. How did the thumbnails get orgnaised by month on http://pb.c-network.dk/test ? ;)
Offline
Re: A small Photoblog howto
The form I’m using looks like this:
< txp:if_different >
< h2 >< txp:posted format=”%Y” / >< /h2 >
< /txp:if_different >
< txp:if_different >
< div >< strong >< txp:posted format=”%B” / >< /strong >< /div >
< /txp:if_different >
< span class=“thumb” >< txp:wet_article_thumb class=”“ link=“1” / >< /span >
…again without the whitespaces after ‘<’
So use this form as your “archive” form if you’ll show the thumbs organized by year/month.
Regards
Brian
Offline
#11 2006-03-27 09:00:19
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: A small Photoblog howto
Thank you again, Brian. For some reason, it only displays the archives of the current month (http://urbangriffin.com/archives/). I may try to modify the rss_live_archive plugin however, so, I can I leave it that way.
Have a nice week!
Offline
Pages: 1