Bug #1648
wrong back-link on multiple step (php) forms
| Status: | Resolved | Start: | 2008-10-05 | |
| Priority: | Could have | Due date: | ||
| Assigned to: | Alex Kellner | % Done: | 0% |
|
| Category: | Frontend | Spent time: | - | |
| Target version: | - | |||
Description
Using a multiple-step (php) form in a Typo3 environment which is installed in a subdirectory of the server 's htdocs root level makes the 'Back' Button in the second and following pages of this form to fail, because this back-link points to the servers htdocs root level, not to the content-root of the Typo3 Installation.
The same behaviour happens on the same Typo3 installation when using a 'Clear Session' Button to clear all form fields.
Watchers
History
2008-10-05 22:23 - Alex Kellner
- Status changed from New to Accepted
- Priority changed from Must have to Could have
Yes and no
No this is not bug because:- Set the baseurl and this URL will be used for a prefix of the back link in multiple steps
'http://'.$_SERVER['HTTP_HOST'].'/'be replaced whith:
t3lib_div::getIndpEnv('TYPO3_SITE_URL')
- And in line 392 in pi1/class.tx_powermail_html.php is the Domain prefix http://www.anything.de missing (I think IE needs this prefix in javascript)
2008-10-10 14:42 - Tobias
No this is not bug because:
- Set the baseurl and this URL will be used for a prefix of the back link in multiple steps
Setting baseurl causes typo3 4.2.1 to stop working. No FE Output anymore, just an errormessage, that this setting is for older versions of typo3
Yes this is a bug because:
- In line 44 in the pi1/class.tx_powermail_form.php should this code [...]
be replaced whith: [...]
This works fine!
- And in line 392 in pi1/class.tx_powermail_html.php is the Domain prefix http://www.anything.de missing (I think IE needs this prefix in javascript)
Not tested!