Statische Info-Seiten ohne Kategorie-Hierarchie. Unterstützt Links, Downloads und Medien. Hinweis: kein website- oder label-Filter.
Gibt alle Info-Seiten zurück. Kein Website- oder Label-Filter.
Code
$config = [];
$config["orderby"] = 'headline'; // id | headline
$config["direction"] = 'asc'; // asc | desc
$config["start"] = '0';
$config["limit"] = '100';
$infos = getInfoList($config);
foreach ($infos as $info) {
echo $info["headline"]; // Titel
echo $info["subheadline"]; // Untertitel
echo $info["content"]; // Volltext (HTML)
echo $info["description"]; // Kurzbeschreibung
echo $info["image"]["image"]; // Hauptbild
echo $info["image_items"]; // Anzahl Bilder
}
$config Parameter
| Key | Beschreibung | Werte |
|---|---|---|
| orderby | Sortierfeld | 'id' · 'headline' |
| direction | Sortierrichtung | 'asc' · 'desc' |
| start | Offset (Pagination) | Integer |
| limit | Max. Ergebnisse | Integer |
Rückgabe-Keys
| Key | Beschreibung |
|---|---|
| id | Info-ID |
| key | URL-Schlüssel |
| headline | Titel |
| subheadline | Untertitel |
| content | Volltext (HTML) |
| description | Kurzbeschreibung |
| status | 1 = aktiv |
| update | Letzte Speicherung (Timestamp) |
| image_items / video_items / videofile_items / media_items | Anzahl der jeweiligen Medien |
| image.image / .thumbnail / .small | Hauptbild, Thumbnail, Klein (geprüft) |
| links[].url / .button / .target / .referenz | Verknüpfte Links |
| downloads[].file / .button / .typ | Download-Dateien |
Ausgabe (Live)
[
{
"id": "10",
"key": "Gruppe-Beta-Info10",
"tags": "0",
"headline": "Gruppe Beta Info",
"subheadline": "alle Infos über Betasolutions",
"description": "Betasolutions adfdsaf",
"content": "hier werden dann alle infos aufgelistet<\/p>
<\/p>
qewrwerwererewr<\/p>
<\/p>
<\/p>
<\/p>
adfdfsdfddf<\/p>",
"status": "1",
"update": "2026-01-20 16:13:32",
"links": [
{
"referenz": "custom",
"url": "https:\/\/www.betasolutions.ch",
"target": "_self",
"button": "asdsd"
}
],
"link": {
"custom": "https:\/\/www.betasolutions.ch"
},
"downloads": [
{
"id": "25",
"button": "dasdfdsf",
"referenz": "file",
"file": "1768897717_asdfdsf.",
"typ": ""
}
],
"image_items": 41,
"video_items": 0,
"videofile_items": 4,
"media_items": 45,
"image": {
"id": "58",
"image": "media\/infopages\/image\/58.webp",
"thumbnail": "media\/infopages\/image\/thumbnail\/58.webp",
"small": "media\/infopages\/image\/small\/58.webp",
"check": "false"
},
"video": [],
"videofile": {
"id": "52",
"video": "media\/infopages\/video\/52.mp4",
"check": "false"
}
},
{
"id": "14",
"key": "Hallo14",
"tags": "0",
"headline": "Hallo",
"subheadline": "",
"description": "",
"content": "
Test<\/p>",
"status": "1",
"update": "2026-01-20 16:03:58",
"image_items": 0,
"video_items": 0,
"videofile_items": 0,
"media_items": 0,
"image": [],
"video": [],
"videofile": []
},
{
"id": "8",
"key": "Info28",
"tags": "",
"headline": "Info2",
"subheadline": "Neuer Zusatz",
"description": "info2-28",
"content": "
Mal sehen ob es klappt?<\/p>
Edit<\/p>
<\/p>