Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-07-28 01:31:46
- chrisgoodhue
- Member
- Registered: 2010-06-06
- Posts: 20
Fancy Box gallery category
Hi all,
I am having a lot of trouble getting my lightbox to work properly.
I want to have two sets of thumbnails. One for Design work and one for Photography. Both use the same gallery form but only display images from their specific category. I thought that by including the following, it would accomplish this.
<txp:smd_gallery category=“design” sublevel=“all” form=“gallery” />
<txp:smd_gallery category=“photography” sublevel=“all” form=“gallery” />
<a rel=“fancybox-{<txp:category 1 />}” href=”{url}”> <txp:thumbnail id=”{id}” />
</a>
Am I way off?
-Chris
Offline
#2 2010-07-28 01:47:58
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: Fancy Box gallery category
Chris,
hello again. Sorry that idea of mine didn’t work but you’re still posting in the wrong forum. Follow “ >>> this link <<< to post smd_gallery questions.
If you read the first few pages of the linked topic, you’ll probably get more familiar with the plugin and maybe even find the answer you need.
— Steve
Offline
#3 2010-07-28 01:56:36
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: Fancy Box gallery category
Chris,
have you created a form called ‘gallery’? If not, you could try…
- Go to
presentation > forms
and create a new form called ‘gallery’ with type ‘misc’. - Put this code
<a rel="fancybox-{<txp:category 1 />}" href="{url}"> <txp:thumbnail id="{id}" /></a>
in it and save it. - In your default page template (or where-ever you want them) put
<txp:smd_gallery category="photography" sublevel="all" form="gallery" />
or<txp:smd_gallery category="design" sublevel="all" form="gallery" />
and save.
That might stand more of a chance of working.
Anyway, I’ll follow up no more here. Over to the plugin author.
— Steve
Offline
Pages: 1