Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2008-11-25 05:43:34
- rsilletti
- Moderator

- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: Gallery landing page - list of galleries
The tag error is telling you that an article tag has not been encountered in the template, if you are only rendering images when you call an image category that will, in fact, be the case. Those may be something you can disregard in production mode. Try “image” rather than “images” for the type; it’s unforgiving about those.
Last edited by rsilletti (2008-11-25 05:44:57)
Offline
Re: Gallery landing page - list of galleries
As Rick states, you need to set category type=“image” rather than images. I edited my post to add the form contents. Its a good starting point for your gallery.
The gallery I have (its on localhost so I can’t show it to you!) currently uses jQuery to run through the thumbnail images. As it runs through the thumbs, the large image changes and the image caption is displayed.
Its not exactly what you want, but can form the basis of it, since the categories work exactly as you would like them to (as far as I understand your needs).
When landing on section = photos, the code displays a gallery called slideshow. If in a category page, the gallery displays the images from the image category in question. If you try it, it works ;-)
Offline
Re: Gallery landing page - list of galleries
Rick: Thanks, it works!
Jonathan wrote:
(as far as I understand your needs)
Ehm, you did. I understand now, guess it was late for me too. :-)
Thanks again to all for truckloads of great advice.
Last edited by JanDW (2008-11-25 16:36:32)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
#19 2008-11-25 16:38:52
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Gallery landing page - list of galleries
JanDW wrote:
Els wrote: (…) Shouldn’t it be: (…)
OMG I can’t believe I wrote that! Of course you’re right! Must have been that song distracting me…;) (this would never have happened if your name had been Eddy Wally…)
I’ll go and edit that post before someone actually believes me ;)
Offline
Re: Gallery landing page - list of galleries
Els wrote:
… before someone actually believes me ;)
Too late …I did :)
Last edited by JanDW (2008-11-25 17:04:24)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: Gallery landing page - list of galleries
Hi!
I’m relatively new to textpattern, I’ve been searching the web for a solution for this issue but I couldn’t find it, so sorry if has been asked a lot before. And I’m sure it’s pretty simple.
I want to make a list of image category list, though I can’t find the tag.
Thank you in advance :)
Offline
#22 2009-10-24 01:32:14
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Gallery landing page - list of galleries
txp:category_list
<txp:category_list type="image" />
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Gallery landing page - list of galleries
It was easy indeed, I feel stupid :)
Thank you very much.
Offline
Re: Gallery landing page - list of galleries
Then, I have a second question.
I read all the content in this thread, and I understand that is based on a plugin that no loger exists (or I can’t find).
I’m trying to make a <txp:if_category> based on images, although I dont know how to do it, and also wrap the category.
Like: if category=“cat1” do x, if category=“cat2” do y, else…
I don’t know if I made myself clear enough :P
Thank you in advance
Offline
Re: Gallery landing page - list of galleries
Look for the smd_gallery plugin, it’s pure magic.
Offline
Re: Gallery landing page - list of galleries
Hi Malize – which plugin are you referring to?
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: Gallery landing page - list of galleries
Hi Malize, not sure exactly what you want to achieve, but maybe upm_category_image is also of interest.
TXP Builders – finely-crafted code, design and txp
Offline