---
title: "Injecting Get Parameter via typoscript into extbase plugin"
url: "https://www.typo3.net/d/111164-injecting-get-parameter-via-typoscript-into-extbase-plugin"
source: "typo3.net"
tags: ["Extensions","Extbase","Frage"]
created: "2012-07-01"
last_reply: "2012-07-03"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Injecting Get Parameter via typoscript into extbase plugin

Extensions › Extbase · 1 Antwort · gestartet 2012-07-01

## Eröffnungsbeitrag

**to3i** · 2012-07-01 · [Beitrag #1](https://www.typo3.net/d/111164-injecting-get-parameter-via-typoscript-into-extbase-plugin/1)

Hi,

I was trying to access get paramter information in typoscript and access it in extbase. So far without success.

This is my typoscript:

```typoscript
plugin.tx_mylittleextensionkey.widgets {
    myWidget = USER
    myWidget {
        userFunc = tx_extbase_core_bootstrap->run
        pluginName = Mylittleextensionpluginkey
        extensionName = Mylittleextensionkey
        controller = Mylittleextensiondataentry
        action = list
        switchableControllerActions {
                Mylittleextensiondataentry {
                            1 = list
                }
        }

        settings =< plugin.tx_mylittleextensionkey.settings
        persistence =< plugin.tx_mylittleextensionkey.persistence
        persistence.storagePid = 78
        view =< plugin.tx_mylittleextensionkey.view

        settings {
                recordId = 3
                category = TEXT
                category.data = GPvar:cat
        }
       }
}
```

I was trying to invoke it as follows:
<http://localhost:8181/typo3/index.php?id=76&cat=19>

I want to use the get variable cat in several plugins, so I am not using $this->arguments[cat] on php side. Therefore I do not want to use
<http://localhost:8181/typo3/index.php?id=76&Mylittleextensionkey%5Bcat%5D=19>.

Any hints?

Thanks for your support in advance,

Tobi

## Antworten

### [#2](https://www.typo3.net/d/111164-injecting-get-parameter-via-typoscript-into-extbase-plugin/2) · kainobi · 2012-07-03

The settings array is what it is - a plain array. Therefore you cannot use any stdWrap or other TS stuff there. For more information and possible workaround look here :

<http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2011-October/010591.html>

---

Quelle: „Injecting Get Parameter via typoscript into extbase plugin“, typo3.net, https://www.typo3.net/d/111164-injecting-get-parameter-via-typoscript-into-extbase-plugin
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
