Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#109 2004-10-07 22:18:19

jhaeusler
Member
From: Berlin
Registered: 2004-09-04
Posts: 22
Website

Re: Plugin/Hack: Albumpattern

I think the lottery thing could handle two people (Martagnan and me) and I was just going to suggest to integrate this (AP, not the lottery) into TXP. It is worth it, I think.


http://ww.spreeblick.de, a weblog from Berlin

Offline

#110 2004-10-07 22:19:15

jhaeusler
Member
From: Berlin
Registered: 2004-09-04
Posts: 22
Website

Re: Plugin/Hack: Albumpattern

Hell, I forgot that I am already irresistable. Stupid me. Go for it then, Martagnan. :)


http://ww.spreeblick.de, a weblog from Berlin

Offline

#111 2004-10-10 04:59:45

macsepp
Member
From: Ludwigsburg - Germany
Registered: 2004-09-02
Posts: 19
Website

Re: Plugin/Hack: Albumpattern

> Macubu wrote:
> Thanks to the invaluable help from greenrift I was able to overcome all problems with my installation and finally make the album section of my site go live.
But nothing can be perfect, so now i try to understand what is that little bug with the previous and next tags which sometimes makes me jump some pictures or go back unexpectedly to the album list. You may have a look yourselfs, if you care, my albumpattern installation is here”.
Try to navigate from picture to picture in the first of the gallery. Notice it?
__________

I’m having exact the same problems, are there any solutions?

thx

macsepp


Textpattern loves me, and I love textpattern.

Offline

#112 2004-10-12 02:26:21

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: Plugin/Hack: Albumpattern

Hi,

I am using the newest Albumpattern (release 3 or somethng like that). I have used all of the sample forms and sample pages.

In my HTML code, I am getting this:

<code><div class=“image><img src=”/images/test-album/000_0001_2r.jpg alt=”“ /></div></code>

That doesn’t work. There are a few quotation marks missing. How do I fix that?

Thanks- this is a cool plugin.

Last edited by blumie607 (2004-10-13 18:03:51)


bludrop studios .::. Creative Expression

Offline

#113 2004-10-13 14:10:22

jhaeusler
Member
From: Berlin
Registered: 2004-09-04
Posts: 22
Website

Re: Plugin/Hack: Albumpattern

Greenrift, could it be that the initial “AP only” section is pretty irrelevant once I have it running?

I have two picture sections, let’s call them “pics01” and “pics02”. I set up AP to use “pics01” and that section uses a special page. AP works fine.

Now when I point my “pics02” section to use the same page as the “pics01” section, AP is running as well (though we’re in a different section), including the correct clean URLs fpr “pics02”.

This is fine by me since it might be all I need. But why do I need to set up an “AP only” section in the first place?

Last edited by jhaeusler (2004-10-13 20:41:25)


http://ww.spreeblick.de, a weblog from Berlin

Offline

#114 2004-10-13 14:41:29

jhaeusler
Member
From: Berlin
Registered: 2004-09-04
Posts: 22
Website

Re: Plugin/Hack: Albumpattern

> greenrift wrote:

> The categories are similiar to the article categories

But I can’t seem to call the category?

<code>< txp:album_list form=“album_preview” category=“pics02” / ></code>

doesn’t seem to work. I want to show only certain categories, is that possible in AP?


http://ww.spreeblick.de, a weblog from Berlin

Offline

#115 2004-10-13 15:50:14

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: Plugin/Hack: Albumpattern

> jhaeusler wrote:

> Greendrift, could it be that the initial “AP only” section is pretty irrelevant once I have it running?

I have two picture sections, let’s call them “pics01” and “pics02”. I set up AP to use “pics01” and that section uses a special page. AP works fine.

Now when I point my “pics02” section to use the same page as the “pics01” section, AP is running as well (though we’re in a different section), including the correct clean URLs fpr “pics02”.

This is fine by me since it might be all I need. But why do I need to set up an “AP only” section in the first place?

I guess I should have said “AP only page”.

The reason for this is because AP handles URL’s differently than TXP does. This causes some problems (like the incorrect page_title showing up, though I could just write a new version of page_title for AP only), but maybe at some point TXP will be able to handle multiple URL scheme’s.

Offline

#116 2004-10-13 18:04:59

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: Plugin/Hack: Albumpattern

Hey greenrift. I updated my post above. I forgot to include the code that was not working. If you could look that would be great.


bludrop studios .::. Creative Expression

Offline

#117 2004-10-13 20:42:39

jhaeusler
Member
From: Berlin
Registered: 2004-09-04
Posts: 22
Website

Re: Plugin/Hack: Albumpattern

> greenrift wrote:

> I guess I should have said “AP only page”

Cool, thanks, that makes it clear. Sorry for misspelling your name, btw, I corrected it in my above post.

Any hints on the category front?


http://ww.spreeblick.de, a weblog from Berlin

Offline

#118 2004-10-14 19:10:48

jeph
New Member
Registered: 2004-08-02
Posts: 4

Re: Plugin/Hack: Albumpattern

Excellent work on this plugin so far…I installed the latest version w/ zero problems!

The only thing I can’t figure out is the Comments part. My comment form shows up at the bottom of the image, which is good. The preview page comes up correctly, which is good. But when I submit the comment from that page, all I get is a blank white screen… do I need to place something in the page template to display the comments?

Thanks all,

Jeff

Offline

#119 2004-10-17 01:50:27

robbie
New Member
From: Durham NC
Registered: 2004-09-26
Posts: 5

Re: Plugin/Hack: Albumpattern

I think I may have found a bug here with the [ap next image] and [ap prev image] tags. They don’t seem to always point to the next image in the image category. Sometimes they point to what seems to be a random image.

I’ll look at the plugin’s code in a bit to see if I can figure out why this is happening, but it’s confusing to see it work sometimes depending on which image you’re clicking from.

Update:
Well it looks like the images are sorted in the getNeighbour function by the Posted field. This works fine as long as this time is never the same for two images. But if you upload multiple images (as I’ve done) using the plugin’s 5 upload fields, the times in that field could be identical. In this case, the getNeighbour function always gets the first image from that posted time and doesn’t differentiate between each of the (up to 5) images. So you might get the <code><txp:ap_next_image /></code> for two different images in an album pointing to the same image completely skipping over several images in the album.

Rob

Last edited by robbie (2004-10-18 01:31:08)

Offline

#120 2004-10-17 20:44:07

jhaeusler
Member
From: Berlin
Registered: 2004-09-04
Posts: 22
Website

Re: Plugin/Hack: Albumpattern

<code><txp:ap_highres><txp:ap_thumbnail /></txp:ap_highres></code>

is not working for me. No link on the thumbnails and it doesn’t show up in the source code of the page (the link). Any hints?

Last edited by jhaeusler (2004-10-17 20:44:41)


http://ww.spreeblick.de, a weblog from Berlin

Offline

Board footer

Powered by FluxBB