no direct access defined('_JEXEC') or die('Restricted access'); $layout = $params->get('layout', 'default'); $moduleName = basename(dirname(__FILE__)); $moduleID = $module->id; $document = JFactory::getDocument(); //Include helper.php require_once (dirname(__FILE__).'/helper.php'); $helper = new modSPWeatherHelper($params,$moduleID); $data = $helper->getData(); $data['forecast'] = $helper->getForecastData(); if( is_array( $helper->error() ) ) { JFactory::getApplication()->enqueueMessage( implode('

', $helper->error()) , 'error'); } else { if ( ($layout == '_:default') ) { $document->addStylesheet(JURI::base(true) . '/modules/'.$moduleName.'/assets/css/' . $moduleName . '.css'); } else { $document->addStylesheet(JURI::base(true) . '/modules/'.$moduleName.'/assets/css/flat.css'); } require(JModuleHelper::getLayoutPath($moduleName, $layout)); }

Hier bin ich

Wert= 1
Wert= 2
Wert= c
Wert= d

Wert= 1
Wert= 2
Wert= c
Wert= d