Erst mal: Respekt! Geniales Modul, dieses DLM. Vielen Dank, dc2.
Habe ein/zwei Fragen.
Erst mal komme ich mir doof vor: Wo ist die Doku zum Anpassen der Templates?
Bei anderen Modulen (Bsp MenuManager) ist in der Modul-Hilfe eine Liste wie
Code: Select all
$node->id -- Content ID
$node->url -- URL of the Content
$node->accesskey -- Access Key, if defined
$node->tabindex -- Tab Index, if defined
Code: Select all
{$th_download}
{$entry->name}
Wie gesagt, versteh das Konzept leider zuwenig.
Ein zweiter Punkt ist das Default-Template an sich. Ich glaube, da ist ein kleiner Bug. Die Tabelle soll wohl "Link-zu-Details" von "Direkter Download-Link" trennen. Aber die Syntax
Code: Select all
<tr class="{$rowclass}">
<td>
{$entry->name}
{if $entry->downloadurl !== false}
<a href="{$entry->downloadurl}" class="dlbutton_small" style="float:right" rel="nofollow">
<span>{$th_download}</span>
</a>
{/if}
</td>
<td style="text-align:center">{$entry->downloads}</td>
</tr>
Code: Select all
<tr class="{$rowclass}">
<td>
{$entry->name}
</td>
<td style="text-align:center">
{if $entry->downloadurl !== false}
<a href="{$entry->downloadurl}" class="dlbutton_small" style="float:right" rel="nofollow">
<span>{$th_download}</span>
</a>
{/if}
</td>
</tr>
"Lustig" ist, dass du das auf http://www.worldofanno.de/dlm/6/Tools.htm offenbar auch so benutzt, die Spalte "DL" ist leer.
Item. Das also meine zwei Inputs. Könnt ihr mir bezüglich der Variablen im Template weiterhelfen?
Vielen Dank!