---
title: "neuen eintrag im Feld \"CODE\""
url: "https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2005-10-05"
last_reply: "2005-10-06"
replies: 8
solved: false
page: 1
pages: 1
lang: "de"
---

# neuen eintrag im Feld "CODE"

Extensions · 8 Antworten · gestartet 2005-10-05

## Eröffnungsbeitrag

**stoefln** · 2005-10-05 · [Beitrag #1](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/1)

im Dropdown "CODE" scheinen bei mir "LIST", "BASKET",... auf , aber was wenn ich einen neuen Code Eintrag hinzufühgen will, also den shop um eine Funktion erweitern ("TAXSELECTOR")??
Kann mir jemand helfen, such schon seit STUNDEN!

## Antworten

### [#2](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/2) · RChristian · 2005-10-06

Hallo stoefln,

um einen neuen "Code - Eintrag" hinzufügen zu können, mußt du folgende dateien dementsprechend bearbeiten:

```html
ext_tables.php
flexform_ds_pi.xml
locallang_tca.php
class.tx_ttproducts.php (in pi Ordner) um die funktion hinzuzufügen die du vorhast
```

mfg,
RChristian

### [#3](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/3) · stoefln · 2005-10-06

Bei dem tt_products handelt es sich um Version 1.2.7, also noch keine Flexforms.

Ich hab folgende Dateien erweitert, doch es tut sich einfach nichts (das Code Auswahlfeld beinhaltet nach wie vor nur 13 statt 14 elemente):
ext_tables.php:

```php
$tempColumns = Array (
	"tt_products_code" => Array (
		"exclude" => 0,
		"label" => "LLL:EXT:tt_products/locallang_tca.php:tt_content.tt_products_code",
		"config" => Array (
			"type" => "select",
			"items" => Array (
				Array("LLL:EXT:tt_products/locallang_tca.php:tt_content.tt_products_code.I.0", "LIST"),
	...			Array("LLL:EXT:tt_products/locallang_tca.php:tt_content.tt_products_code.I.13", "PRICESELECTOR"),
```

locallang_tca.php

```php
$LOCAL_LANG = Array (
	'default' => Array (
		...
'tt_content.tt_products_code.I.13' => 'PRICESELECTOR',
...
```

### [#4](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/4) · RChristian · 2005-10-06

Hast du den cached gelöscht und dich dann neu eingeloggt?

mfg,
RChristian

### [#5](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/5) · stoefln · 2005-10-06

ja nicht nur einmal..

### [#6](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/6) · Flink · 2005-10-06

> **stoefln schrieb:**
>
> Bei dem tt_products handelt es sich um Version 1.2.7, also noch keine Flexforms.
>
> Ich hab folgende Dateien erweitert, doch es tut sich einfach nichts (das Code Auswahlfeld beinhaltet nach wie vor nur 13 statt 14 elemente).

Bei tt_products 1.2.7 hat es kein Code-Auswahlfeld gegeben.  :o

### [#7](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/7) · stoefln · 2005-10-06

hmm wieso hab ich dann eins?? vielleicht weil ich den umprogrammierten shop zk_products verwende?
es handelt sich bei der auswahl jedoch nicht, wie bei tt_produkts 2.x um eine Flexform, sondern um ein stinknormales Dropdown(Select)

:'(  :'(  :'(

### [#8](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/8) · Flink · 2005-10-06

> **stoefln schrieb:**
>
> shop zk_products

Dafür mußt du in der Datei ext_tables.php den Teil

```php
	$tempColumns = Array (
		'tt_products_code' => Array (
```

erweitern.

### [#9](https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code/9) · stoefln · 2005-10-06

...aber das hab ich doch (siehe mein post oben)...

---

Quelle: „neuen eintrag im Feld "CODE"“, typo3.net, https://www.typo3.net/d/31230-neuen-eintrag-im-feld-code
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
