Hallo MacKP,
danke dass Du dich (mal wieder) unser annimmst.
Also, ich denke, das Template, das bearbeitet werden muss ist catalog_edit.tpl
PHP-Code:
<form action="<?php echo $this->action; ?>" id="<?php echo $this->formId; ?>" method="post" enctype="<?php echo $this->enctype; ?>">
<div class="formbody">
<input type="hidden" name="FORM_SUBMIT" value="<?php echo $this->formId; ?>" />
<table cellspacing="0" cellpadding="0" summary="Table holds form input fields">
<?php echo $this->field; ?>
<tr class="<?php echo $this->rowLast; ?>">
<td class="col_0 col_first"> </td>
<td class="col_1 col_last">
<div class="submit_container">
<input type="submit" name="save" id="save" class="tl_submit" accesskey="s" value="<?php echo specialchars($GLOBALS['TL_LANG']['MSC']['save']); ?>" />
<input type="submit" name="saveNclose" id="saveNclose" class="tl_submit" accesskey="c" value="<?php echo specialchars($GLOBALS['TL_LANG']['MSC']['saveNclose']); ?>" />
<input type="submit" name="saveNcreate" id="saveNcreate" class="tl_submit" accesskey="n" value="<?php echo specialchars($GLOBALS['TL_LANG']['MSC']['saveNcreate']); ?>" />
</div>
</td>
</tr>
</table>
</div>
</form>
Ich hab mir das Tutorial "Templates anpassen" im Wiki angeschaut und hab versucht die Zeile
PHP-Code:
<?php print_r($this->entries); ?>
im Template einzufügen, das hatte allerdings gar keine Auswirkung.
Wenn ich im gleichen Template
PHP-Code:
<?php $this->showTemplateVars(); ?>
eintrage, sehe ich das hier:
PHP-Code:
Array
(
[enctype] => multipart/form-data
[field] => <tr class="row_0 row_first even">
<td class="col_0 col_first"><label for="ctrl_titel">Angezeigter Name</label></td>
<td class="col_1 col_last"><input type="text" name="titel" id="ctrl_titel" class="text" value="Maren Pohl" /></td>
</tr>
...
[formId] => tl_catalog_items
[action] => coaching-daten-bearbeiten-premium/items/maren-pohl.html
[rteConfig] => <script type="text/javascript" src="http://www.xyz.de/plugins/tinyMCE/tiny_mce_gzip.js"></script>
Hilft das schon weiter?
Lesezeichen