Hallo,
haben mit dem Kickstarter ein Frontend Plugin erstellt, und die Datenbanktabelle der Extension angegeben, bei der ein neuer Eintrag hinzugefügt werden soll.
In der PHP Datei steht nun folgendes:
$content='
<strong>This is a few paragraphs:</strong><BR>
<p>This is line 1</p>
<p>This is line 2</p>
<h3>This is a form:</h3>
<form action="'.$this->pi_getPageLink($GLOBALS["TSFE"]->id).'" method="POST">
<input type="hidden" name="no_cache" value="1">
<input type="text" name="'.$this->prefixId.'[input_field]" value="'.htmlspecialchars($this->piVars["input_field"]).'">
<input type="submit" name="'.$this->prefixId.'[submit_button]" value="'.htmlspecialchars($this->pi_getLL("submit_button_label")).'">
</form>
<BR>
<p>You can click here to '.$this->pi_linkToPage("get to this page again",$GLOBALS["TSFE"]->id).'</p><br><br>
;
Welches DB Feld spricht das Input Feld an? Irgendwie kommen wir damit noch nicht so ganz klar?
Wie können wir die anderen Felder ansprechen?
Grüße