Project

General

Profile

Actions

Bug #15286

closed

Problem with FORM action. Wrong action url

Added by Dmitry Pikhno almost 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2005-12-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

i'm trying to connect form object with some news element
so url of page with form and news looks like index.php?id=X&tx_ttnews[tt_news]=Y
but action in FORM looks like index.php?id=X.

ok. i can fix it via ts:
form = FORM
form.type=index.php?id=X&tx_ttnews[tt_news]=Y

but if realurl is enabled action url still looks like index.php?id=X&tx_ttnews[tt_news]=Y
(of course, realurl is configured for tt_news)

so i see 2 problems:
1) FORM doesn't include automatically GET params in action url
suggestion: lets add some flags (string or int).
smth like this:
form.includeAction = tt_news[tt_news], photo, ... // include these GETs in action
form.includeAction = 1 // include all GET params in action url
form.excludeAction = ..... ?

2) "type" property doesn't work properly with realurl - there is no
transformation, if "type" is string var

(issue imported from #M2046)

Actions

Also available in: Atom PDF