Project

General

Profile

Actions

Bug #24953

closed

addQueryString.exclude doesn't support arrays

Added by Mischa Heissmann almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

see: http://bugs.typo3.org/view.php?id=11239

Please add this to your TYPO3-Code.

(issue imported from #M17480)

Actions #1

Updated by Ernesto Baschny almost 14 years ago

Could you be more specific? #20542 was already solved and included in 4.3. Is there anything missing yet? Please elaborate so that we can understand it better.

Thanks!

Actions #2

Updated by Mischa Heissmann almost 14 years ago

Hi,

I try to create a typolink by using the $this->cObj->typoLink();

The config array is:

$lConf = array(
'parameter' => $pid,
'additionalParams' => '&L=1',
'addQueryString' => '1',
'addQueryString.method' => 'GET,POST',
'addQueryString.exclude' => 'L,tx_sfpresse_pi1[pointer]'
);

even tx_sfpresse_pi1|pointer doesn't work.

Actions #3

Updated by Susanne Moog over 13 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (0)

This feature works correctly. The error in the code is wrong usage of TypoScript in PHP. You have to use a multidimensional array like this:

        $lConf = array(
            'parameter' => 20,
            'additionalParams' => '&L=1',
            'addQueryString' => '1',
            'addQueryString.' => array(
                'method' => 'GET,POST',
                'exclude' => 'L,tx_sfpresse_pi1[pointer]'
            )
        );
Actions

Also available in: Atom PDF