Probleme im Frontend mit Template "eventsstats"

Status: finished.
This is a bugfix release with a limited set of new features.

Moderator: And_One

tsvradeburg
Newbie
Posts: 1
Joined: Tue Aug 16, 2011 6:42 am

Probleme im Frontend mit Template "eventsstats"

Postby tsvradeburg » Tue Sep 27, 2011 5:09 pm

Hallo,

habe ein riesen Problem, wenn ich das Template "eventsstats" öffnen möchte kommt immer die Fehlermeldung

Warning: Invalid argument supplied for foreach() in /var/www/web1127/html/joomla/administrator/components/com_joomleague/views/template/tmpl/form.php on line 70


Komme hier einfach nicht weiter und finde auch im internet nichts dazu!

Der PHP Code ist:

Code: Select all

<?php defined('_JEXEC') or die('Restricted access');

JHTMLBehavior::formvalidation();
JHTML::_('behavior.tooltip');
jimport('joomla.html.pane');

// Set toolbar items for the page
$edit=JRequest::getVar('edit',true);

JToolBarHelper::save();
JToolBarHelper::apply();

if (!$edit)
{
   JToolBarHelper::title(JText::_('JL_ADMIN_TEMPLATE_ADD_NEW'));
   JToolBarHelper::divider();
   JToolBarHelper::cancel();
}
else
{
   JToolBarHelper::title(JText::_('JL_ADMIN_TEMPLATE_EDIT'));
   JToolBarHelper::divider();
   // for existing items the button is renamed `close`
   JToolBarHelper::cancel('cancel',JText::_('JL_GLOBAL_CLOSE'));
}

JToolBarHelper::help('screen.joomleague',true);

$pane =& JPane::getInstance('tabs');
$i=1;
?>
<script language="javascript" type="text/javascript">

   function submitbutton(pressbutton)
   {
      var form=document.adminForm;
      if (pressbutton == 'cancel')
      {
         submitform(pressbutton);
         return;
      }

      // do field validation
      if (document.formvalidator.isValid(form))
      {
         submitform(pressbutton);
         return true;
      }
      else
      {
         alert('JL_ADMIN_TEMPLATE_WRONG_VALUES');
      }
      return false;
   }
</script>
<form action="<?php echo $this->request_url; ?>" method="post" name="adminForm" id="adminForm">
   <div style='text-align:right; '><?php echo $this->lists['templates']; ?></div>
   <?php
   if ($this->project->id != $this->template->project_id)
   {
      JError::raiseNotice(0,JText::_('JL_ADMIN_TEMPLATE_MASTER_WARNING'));
      ?><input type="hidden" name="master_id" value="<?php echo $this->template->project_id; ?>" /><?php
   }
   ?>
   <fieldset class="adminform">
      <legend><?php echo JText::sprintf('JL_ADMIN_TEMPLATE_LEGEND','<i>'.$this->params->name.'</i>','<i>'.$this->project->name.'</i>'); ?></legend>
      <fieldset class="adminform"><?php echo JText::_($this->params->description); ?></fieldset>
      <?php
      echo $pane->startPane('pane');
      foreach ($this->params->getGroups() as $key => $groups)
      {
         if (strtolower($key)!='_default')
         {
            echo $pane->startPanel(JText::_($key),'panel'.$i++);
            echo $this->params->render('params',$key);
            $pane->endPanel();
         }
      }
      echo $pane->endPane();
      ?>
   </fieldset>
   <input type="hidden" name="option" value="com_joomleague" />
   <input type="hidden" name="controller" value="template" />
   <input type="hidden" name="task" value="" />
   <input type='hidden' name='user_id' value='<?php echo $this->user->id; ?>' />
   <input type="hidden" name="cid[]" value="<?php echo $this->template->id; ?>" />
   <input type="hidden" name="title" value="<?php echo $this->params->name; ?>" />
   <input type="hidden" name="template" value="<?php echo $this->template->template; ?>" />
   <?php echo JHTML::_('form.token')."\n"; ?>
</form>

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3612
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: Probleme im Frontend mit Template "eventsstats"

Postby And_One » Tue Sep 27, 2011 5:15 pm

eventsstats gibt es nicht mehr, kannst du löschen. das ist jetzt https://gitorious.org/joomleague/joomle ... anking.xml


Return to “1.5.2-sara (Beta 2)”

Who is online

Users browsing this forum: No registered users and 4 guests

cron