---
title: "static_info_tables im Backend"
url: "https://www.typo3.net/d/89833-static-info-tables-im-backend"
source: "typo3.net"
tags: ["Extensions","Entwicklung","Frage"]
created: "2009-05-19"
last_reply: "2009-05-25"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# static_info_tables im Backend

Extensions › Entwicklung · 3 Antworten · gestartet 2009-05-19

## Eröffnungsbeitrag

**Morla** · 2009-05-19 · [Beitrag #1](https://www.typo3.net/d/89833-static-info-tables-im-backend/1)

Hallo,
ich benötige für ein Backend-Modul eine Selectbox mit allen Ländern. Im Frontend habe ich das mit der Extension static_info_tables und den Funktionen initCountries bzw. buildStaticInfoSelector gelöst. Wie mache ich das am besten fürs Backend?

Viele Grüße
Morla

## Antworten

### [#2](https://www.typo3.net/d/89833-static-info-tables-im-backend/2) · just2b · 2009-05-21

genau ebenso

### [#3](https://www.typo3.net/d/89833-static-info-tables-im-backend/3) · Morla · 2009-05-25

Die beiden Funktionen sind in einer Klasse fürs Frontend drin. Wenn ich sie genauso im Backend aufrufe, erhalte ich Fehlermeldungen.

So steht es in der Dokumentation fürs Frontend:

```php
$staticInfoObj = &t3lib_div::getUserObj('&tx_staticinfotables_pi1');
if ($staticInfoObj->needsInit() {
   $staticInfoObj->init();
}

$staticInfoObj->buildStaticInfoSelector('COUNTRIES', $fieldName, $CSSClassName, $selectedCountryCode, '', $submitFlag, $id, $title, $where, $lang, $local);
```

Das erzeugt bei mir Fehlermeldungen im Backend:
Warning: require_once(PATH_tslibclass.tslib_pibase.php) [function.require-once]: failed to open stream: No such file or directory in ...\typo3conf\ext\static_info_tables\pi1\class.tx_staticinfotables_pi1.php on line 63

Fatal error: require_once() [function.require]: Failed opening required 'PATH_tslibclass.tslib_pibase.php' (include_path='.;...\php\pear\') in ...\typo3conf\ext\static_info_tables\pi1\class.tx_staticinfotables_pi1.php on line 63

### [#4](https://www.typo3.net/d/89833-static-info-tables-im-backend/4) · just2b · 2009-05-25

achso sry,

wenn das in einem be-module sein soll, kommst du um eine manuellen aufruf des selects fast nicht rum.

oder brauchst du es wo anders?

---

Quelle: „static_info_tables im Backend“, typo3.net, https://www.typo3.net/d/89833-static-info-tables-im-backend
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
