![]() |
|
while next_news() loop question - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: while next_news() loop question (/thread-9361.html) |
while next_news() loop question - micheall - 2011-12-09 So I'm not sure how to get this accomplished. What I'm trying to do is in the next_news() loop, I need to access the URL for the active news article. I've tried using printNewsURL and getNewsURL both and they trigger the following error: Quote:[warn] mod_fcgid: stderr: PHP Fatal error: Call to undefined method ZenpageNews::getNewsBaseURL() in /home/micheall/domains/inthemdl.net/public_html/zp-core/zp-extensions/zenpage/zenpage-class-news.php on line 268 Edit: while next_news() loop question - acrylian - 2011-12-09
The while next_news() loop question - micheall - 2011-12-10 Ah ok, I figured that's what it was that I had to pass an object to it, just wasn't sure which one. Thanks. while next_news() loop question - acrylian - 2011-12-10 Well, depends. |