This question is answered.


Permlink Replies: 5 - Pages: 1 - Last Post: 10 Feb 26, 21:31 Last Post By: davidekholm Threads: [ Previous | Next ]
zif

Posts: 30
Registered: 8-Nov-2009
Problem with Fileiterator Code
Posted: 9 Feb 26, 19:24
 
  Click to reply to this thread Reply
Hi, I've been having some trouble creating my album lately.

In my slide.htt, I'm using the following code (simplified):

<ja:fileiterator exclude="folder,webLocation" start="-2" count="5" nodirs>

<a class="thumb" href="${closeupPath}"><img src="${thumbPath}"</a>

<ja:if exists="comment">${comment}</ja:if><ja:else>${title}</ja:else>

</ja:fileiterator>

This code worked perfectly. However, after completely regenerating my album, the thumb image within the iterator changes correctly, but the comment/title doesn't. It always displays the same comment/title.

Does anyone have any idea what could be causing this?
JeffTucker

Posts: 8,070
Registered: 31-Jan-2006
Re: Problem with Fileiterator Code
Posted: 9 Feb 26, 19:53   in response to: zif in response to: zif
 
  Click to reply to this thread Reply
There's a new, fatal bug in the fileiterator routine. I'll have to come back to it later (just heading out), but I'll file a bug report about it. It's killing the thumbstrip in my Atom skin!
JeffTucker

Posts: 8,070
Registered: 31-Jan-2006
Re: Problem with Fileiterator Code
Posted: 9 Feb 26, 21:34   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker

Posts: 8,070
Registered: 31-Jan-2006
Re: Problem with Fileiterator Code
Posted: 10 Feb 26, 13:52   in response to: zif in response to: zif
Correct
  Click to reply to this thread Reply
Try the latest core update, to 39.1.4. It cured the problem in my skin, and should take care of your script as well.
zif

Posts: 30
Registered: 8-Nov-2009
Re: Problem with Fileiterator Code
Posted: 10 Feb 26, 18:47   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Try the latest core update, to 39.1.4. It cured the problem in my skin, and should take care of your script as well.

OK, the core updated fixed the bug. Thanks.
davidekholm

Posts: 3,832
Registered: 18-Oct-2002
Re: Problem with Fileiterator Code
Posted: 10 Feb 26, 21:31   in response to: zif in response to: zif
 
  Click to reply to this thread Reply
You're welcome. Thanks for reporting!
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums