WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Droplets & Snippets => Topic started by: 729 on December 09, 2008, 09:11:27 PM
-
I've installed the Anynews snippet with the andreas01 template (adapted), and all has worked well for a while.
Now, an error message comes up actually in the Anynews panel:
Constant CR already defined in /home/...... modules/anynews/include.php on line 46
followed by the news messages.
I have E_ALL defined.
I've tinkered with the andreas01 CSS to adjust type sizes etc, but all worked OK after that, The only other thing I did just before it went wrong was to define a News Group (but this may be unconnected)
Any help appreciated.
-
Hello,
this error is related to the anynews snippet v0.21 and appears if the anynews function is called more than once on one page. This error is fixed in version 0.22 available on the add-ons repository (http://addons.WebsiteBaker.org/pages/modules/code-snippets.php). Just download the latest version and install it over the existing one via the WB backend and the error should disappear.
Regards Christian
-
Thanks! That's doen the trick. A neat module.