hi,
i just upgraded to the latest 1.4 version of zenphoto. i am trying to get the content of the latest news. i used to be able to get it by calling `getLatestNews` and then getting the value of the `content` field of the returned array. obviously this is not possible anymore (the function does not return the content anymore). i tried `printLatestNews` but there is no option to get rid of the news title (which i don't want to be printed).
the solution i found is to call `getLatestNews` first then create a new `ZenpageNews` object using the titlelink returned by `getLatestNews` and finally get the content of the news using `->getContent()`. is this the solution ? if yes, i think it was a bit better before when the content of the latest news was returned within the array. it saved the creation of the object but maybe i am not doing this properly.
cheers,
frank.
Comments
Of course if you would rather deal with an array, just make a wrapper function that gets the objects and then creates the array.