WebsiteBaker Support (2.8.x) > Droplets & Snippets

anynews snippet works fine with WB 2.10.0

(1/1)

masju:
The anynews snippet still works fine with WB 2.10.0, if you do the following changes in /modules/anynews/include.php
Go to line 66 and add an "//" at the beginning of line 66 to 69 (or simply delete these lines):


--- Code: ---// output message for outdated Website Baker versions
// if ((double) WB_VERSION < 2.7) {
// echo $LANG[0]['TXT_REQUIREMENTS'];
// return;
// }
--- End code ---

This switches off the version-check, but it is no longer needed, since 2.10.0 is newer than 2.7.

masju

jacobi22:
oder man passt die Abfrage entsprechend an (wobei die WB-Version 2.7 jetzt eher fiktiv ist)

// output message for outdated Website Baker versions
if( version_compare( WB_VERSION, '2.7', '<' )) {
echo $LANG[0]['TXT_REQUIREMENTS'];
return;
}

Navigation

[0] Message Index

Go to full version