---
title: "mm_forum: Button-Grafiken transparent"
url: "https://www.typo3.net/d/81455-mm-forum-button-grafiken-transparent"
source: "typo3.net"
tags: ["Extensions","Bilder","Frage"]
created: "2008-09-05"
last_reply: "2008-10-07"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# mm_forum: Button-Grafiken transparent

Extensions · 3 Antworten · gestartet 2008-09-05

## Eröffnungsbeitrag

**einmalzwei** · 2008-09-05 · [Beitrag #1](https://www.typo3.net/d/81455-mm-forum-button-grafiken-transparent/1)

Hallo!

Ich hab ein kleines Problem mit dem mm_forum. Und zwar möchte ich gernen den Hintergrund bei den Antworten / Zitieren / usw. Buttons transparent machen.

Ich habs schon mit

```typoscript
plugin.tx_mmforum_pi1.buttons.normal.file.transparentBackground = 1
plugin.tx_mmforum_pi1.buttons_text.normal.file.transparentBackground = 1
```

probiert, zeigt aber keine Wirkung (Caches usw. alles geleert).

Was mach ich falsch?

## Antworten

### [#2](https://www.typo3.net/d/81455-mm-forum-button-grafiken-transparent/2) · yoggi74 · 2008-09-22

... sicher das du "normal" und nicht die "small" Buttons nutzt?

```typoscript
plugin.tx_mmforum_pi1.buttons.small.file.transparentBackground = 1
```

funktioniert bei mir ausgezeichnet.

### [#3](https://www.typo3.net/d/81455-mm-forum-button-grafiken-transparent/3) · Sebastian Schmal · 2008-09-29

sorry das ich nun hier einfach reinfrage:
wie kann ich denn die Buttons umstellen?

EDIT:
habe nun das hier gefunden:

Icon-Modus
Definiert den Icon-Stil von Foren und Themen.

Auswahl: Modern/Klassisch

Doch wenn ich Modern auswähle, bekomme ich keine Icons angezeigt! nur blaue Kästchen mehr nicht!

### [#4](https://www.typo3.net/d/81455-mm-forum-button-grafiken-transparent/4) · einmalzwei · 2008-10-07

> **Basti4k schrieb:**
>
> sorry das ich nun hier einfach reinfrage:
> wie kann ich denn die Buttons umstellen?
>
> EDIT:
> habe nun das hier gefunden:
>
> Icon-Modus
> Definiert den Icon-Stil von Foren und Themen.
>
> Auswahl: Modern/Klassisch
>
> Doch wenn ich Modern auswähle, bekomme ich keine Icons angezeigt! nur blaue Kästchen mehr nicht!

Du musst die Icons in TypoScript definieren.

Ich hab ein neues Problem: Ich lasse meine Buttons jetzt dynamisch erzeugen. Funktioniert eigentlich prima bis auf die Icons: Die Trasparenz geht komplett durch den button_middle.png Hintergrund hindurch. Was mach ich falsch?

```typoscript
plugin.tx_mmforum_pi1.buttons_image {
normal = IMAGE
normal {
	file = GIFBUILDER
	file {
			XY = [10.w]+[30.w]+[50.w]+[26.w]+2,25
			transparentBackground = 1
			
			10 = IMAGE
			10 {
					file = {$plugin.tx_mmforum.style_path}/img/default/buttons/button_left.png
					#file.width = 12
					#file.height = 25
					offset = 0,0
			}
			
			25 = IMAGE
			25 {
					file = {$plugin.tx_mmforum.style_path}/img/default/buttons/button_middle.png
					file.width = 400
					file.height = 25
					offset = [10.w],0
			}
			
			26 = IMAGE
			26 {
					file.import = {$plugin.tx_mmforum.style_path}/img/default/buttons/icons/
					file.import.field = button_iconname
					file.maxH = 21
					offset = [10.w],0
					if.isTrue.field = button_iconname
			}
			
			30 = TEXT
			30 {
					text.field = button_label
					offset = [10.w]+[26.w]+4,18
					fontSize = 10
					fontColor = #f5f5f5;
			}
			
			50 = IMAGE
			50 {
					file = {$plugin.tx_mmforum.style_path}/img/default/buttons/button_right.png
					#file.width = 12
					#file.height = 25
					offset = [10.w]+[26.w]+[30.w]+2,0
					#if.isFalse.field = button_iconname
			}
	}
	altText.field = button_label
	stdWrap.typolink {
			extTarget = 
			parameter.field = button_link
			ATagParams.field = button_atagparams
	}
}

small < .normal
small.file {
	XY = [10.w]+[30.w]+[50.w]+[26.w]+2,25
	10.file.height = 18
	50.file.height = 18
	25.file.height = 18
	#26.file.maxH = 18
	30 {
			fontSize = 8
			offset = [10.w]+[26.w]+2,17
	}
	
	25.offset = [10.w],3
	10.offset = 0,3
	50.offset = [10.w]+[26.w]+[30.w]+2,3
}

}
```

Das sieht dann z.B. so aus: [Bild: abload.de/…/c4414e9c68vfz.png](http://www.abload.de/img/c4414e9c68vfz.png)

---

Quelle: „mm_forum: Button-Grafiken transparent“, typo3.net, https://www.typo3.net/d/81455-mm-forum-button-grafiken-transparent
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
