Goffy
Co-Administrator
Gepostet am:26.07.2020 08:16
$category['image_path'] = XOOPS_THEME_URL . '/' . $GLOBALS['xoopsConfig']['theme_set'] . '/Publisher/images/' . $this->getImage();
/themes//Publisher/images/defenders.gif
$category['image_path'] = XOOPS_THEME_URL . '/' . $xoopsConfig['theme_set'] . '/Publisher/images/' . $this->getImage();
var_dump($GLOBALS['xoopsConfig']);
use XmfRequest;
use XoopsModulesPublisher;
require_once __DIR__ . '/header.php';
var_dump($xoopsConfig);
var_dump($xoopsConfig);
Goffy schrieb:
hi
entweder die globale Variable einbinden
Zitat:global $xoopsConfig;
oder direkt ansprechen
Zitat:$GLOBALS['xoopsConfig']
global $xoopsConfig;
$category['image_path'] = XOOPS_THEME_URL . '/' . $xoopsConfig['theme_set'] . '/Publisher/images/' . $this->getImage();
global $xoopsConfig;
$GLOBALS['xoopsConfig']
| Forum | Thema | Antworten | Views | Letzter Beitrag |
|---|---|---|---|---|
| Modulentwicklung | New Xoops Xcreate Module | 0 | 5062 | 26.11.2025 15:22 efkan |
| Modulentwicklung | XOOPS Custom Field Module | 1 | 1731 | 24.11.2025 11:21 Goffy |