contao/import — Issue #2889: Wrong template vars in the event list
Author: leofeyer
Created: 2011-11-29 20:27:59+00:00
State: open
Labels: calendar, Defect

In the calendar, the template variables are related like this:

* `href=" $this->href "`
* `title=" $this->title "`
* ` $this->link `

However, in the event list (and maybe other modules, too) it is:

* `href=" $this->link "`
* `title=" $this->title "`
* ` $this->title `

This makes it impossible to correctly implement #2853. Here is what needs to be changed:

`event_list.tpl`: modify line 9

```php

target; ?>>link; ?>

```

@ModuleEventlist.php@: remove line 253

```php
$objTemplate->link = $event['href'];
```

Related issues: #2853, #2965

--- _Originally created on February 24th, 2011, at 12:36pm (ID 2889)_