NEWS plugin für XH_1.7
Posted: Sat Jun 17, 2017 6:13 pm
Da beide Plugins RealBlog und NEWS 1.1.1 für XH_1.7 nicht kompatible sind, habe ich mal versucht News 1.1.1 kompatible zu machen, was auch funktionierte. Da ich früher sehr oft NEWS verwendet habe, sollte das auch bei dem Update klappen.
die Zeilen in der admin.php
habe ich mit
ersetzt.
Was ich jetzt nicht hinbekommen habe im Debug
NOTICE: Undefined offset: 0
C:\Portable_XH-1alpha1\html\...\cmsimple\functions.php:2624
den Fehler zu finden. So wie es scheint hat das was mit dem classNamen zu tun. Woran könnte das Problem noch liegen?
die Zeilen in der admin.php
Code: Select all
if (isset($news))
{
global $sn;
$f = "news";
initvar('admin');
$o .= print_plugin_admin('ON');
Code: Select all
if (function_exists('XH_registerStandardPluginMenuItems')) {
XH_registerStandardPluginMenuItems(true);
}
if (function_exists('XH_wantsPluginAdministration') && XH_wantsPluginAdministration('news')|| isset($news) && $news == 'true') {
global $sn;
$o .= print_plugin_admin('ON');
Was ich jetzt nicht hinbekommen habe im Debug
NOTICE: Undefined offset: 0
C:\Portable_XH-1alpha1\html\...\cmsimple\functions.php:2624
den Fehler zu finden. So wie es scheint hat das was mit dem classNamen zu tun. Woran könnte das Problem noch liegen?