---
title: "Typoscriptkonfiguration mit Variablen"
url: "https://www.typo3.net/d/65364-typoscriptkonfiguration-mit-variablen"
source: "typo3.net"
tags: ["Extensions","Entwicklung","Frage"]
created: "2007-07-17"
last_reply: "2007-07-17"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Typoscriptkonfiguration mit Variablen

Extensions › Entwicklung · 0 Antworten · gestartet 2007-07-17

## Eröffnungsbeitrag

**IgM** · 2007-07-17 · [Beitrag #1](https://www.typo3.net/d/65364-typoscriptkonfiguration-mit-variablen/1)

In meiner Extension kann man via Typoscript bestimmte Bilder konfigurieren, z.B.:

```typoscript
plugin.user_pager_pi1 {
	previousImage {
		file = fileadmin/bild_inactive.png
		stdWrap.typolink.parameter=3
	}
}
```

Nun sollte es so sein, dass beo Typolink ein Platzhalter angegeben werden kann, z.B. stdWrap.typolink.parameter=$nextPID

$nextPID wird in der Extension (PHP) selbst berechnet oder sollte dann ersetzt werden.

Gibts dafür eine korrekte/empfohlene Vorgehensweise? Bisher erzeuge ich das Bild mit

```php
$this->cObj->IMAGE($this->conf["previousImage."]);
```

---

Quelle: „Typoscriptkonfiguration mit Variablen“, typo3.net, https://www.typo3.net/d/65364-typoscriptkonfiguration-mit-variablen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
