Hallo
Wenn ich versuche mich in der deatlansicht einzuloggen erhalte ich die meldung
Details
Falscher Parameter, GET/POST var 'tt_products' wurde nicht angegeben oder kein Produkt mit uid = 1 gefunden.
dies passiert nur beim login/logout versuch auf der detailansicht
hat jemand auch so ein problem?
weiss jemand rat?
ich benutzte
tt_products 2.3.12
newloginbox 2.2.9
typo 3.8.0
Gruss
r.b.
Ok, gelöst
das ganze ist nicht ohne
ich habe in der class.tx_newloginbox_pi1.php
[b]$produkt = t3lib_div::_GP('tt_products');[/b]
$content.='
<!--"Login" form, including login result if failure. TABELLE wurde durch FIELDSET ersetzt -->
<form action="'.htmlspecialchars($this->pi_getPageLink($GLOBALS['TSFE']->id,'_top')).'" target="_top" method="post" style="margin: 0 0 0 0;"'.(strlen($onSubmit)?' onSubmit="'.$onSubmit.'"':'').'>
<label for="text" class="left"> '.$this->pi_getLL('username','',1).' </label> <input type="text" name="user" value="" id="'.$this->pi_getClassName('user').'" />
<label for="text" class="left"> '.$this->pi_getLL('password','',1).' </label> <input type="password" name="pass" value="" id="'.$this->pi_getClassName('pass').'" />
<input type="submit" name="submit" value="'.$this->pi_getLL('login','',1).'"'.$this->pi_classParam('submit').' id="'.$this->pi_getClassName('login_submit').'" />
<input type="hidden" name="logintype" value="login" />
<input type="hidden" name="pid" value="'.intval($d['_STORAGE_PID']).'" />
[b]<input type="hidden" name="tt_products" value="'.$produkt.'" />[/b]
<input type="hidden" name="redirect_url" value="'.htmlspecialchars($redirect_url).'" />
'.$extraHidden.'
</form>
in typo
[usergroup=*]
USER = TEXT
#USER.data = TSFE : id
USER.data = getenv:QUERY_STRING
USER.wrap (
<label for="text" class="left">
<form action="index.php? | " method="post">
<input type="hidden" name="logintype" value="logout" >
<input type="submit" name="logintype" style="width:125px;" value="logout">
</form>
</label>
)
[else]
USER = TEXT
# damit der marker nicht gezeigt wird
USER.data =
[global]
page.10.marks.USER < USER