[TYPO3-dev] Re: meet a problem when using a HTML template‏

Franz Koch typo.removeformessage at fx-graefix.de
Mon Dec 15 11:38:35 CET 2008


Hi,

> class tx_modulbuchtest_pi1 extends tslib_pibase {
...
>         #welche Ansicht?
>         if($this->piVars['item']) {

here you're checking for a piVar called 'item'

...
> <form action="###ACTION_URI###" id="form1" name="form1" method="post">
...
>         <input type="text" name="studiengang" id="studiengang" />
...
>         <select name="pflichtoderfwpf" id="pflichtoderfwpf">
>         <!-- ###ROW### -->
>           ###PROTYPE###
>         <!-- ###ROW### -->
>         </select>
...
> </form>

but in your form you don't submit this variable. Should be obvious that 
it won't work then ;)

Your form would need to look something like:

<select name="tx_modulbuchtext_pi1[item]" id="pflichtoderfwpf">
    <!-- ###ROW### -->
###PROTYPE###
    <!-- ###ROW### -->
</select>


btw - this is not the appropriate newsgroup for this kind of low level 
questions. Please use the english or german newsgroup for that.
-- 
kind regards,
Franz Koch




More information about the TYPO3-dev mailing list