need for help news : issue on zpArdoise1.4beta with 1.4.1

vincent3569 Member, Translator
Hi

I'm working on 1.4 release of zpArdoise, compatible with zenphoto 1.4.1.

there is an issue on news article loop that I can't solve myself despite several hours of headlock.

news works fine with the 1.3 release on 1.4.0, but with 1.4.1, when a category is set, all news are displayed: the filter by category is not effective.

you can see it in action here : http://vincent.bourganel.free.fr/zenphoto_t2/index.php?p=news

with other theme (official ou 3rd party), there is not similar issue, despite the code is very similar with mine.

If somebody wants to help me, there is the beta files here http://vincent.bourganel.free.fr/data/zpArdoise1.4b.zip.

notice that there is a similar issue with garland (there is a ticket)

Comments

  • getNumNews() is polluting the array for the next_image loop. So until the nightly build you will have to not call that function.
  • vincent3569 Member, Translator
    thanks sbillard!

    it is a little bit difficult to understand why getnumNews () perturbue only two themes (Garland and mine) while news.php codes are very close.
    other themes (zenpage and all themes of GJR) filter correctly when you choose a news category.

    I will try the next nightbuilt
Sign In or Register to comment.