Skip to main content

Batix-Tags Referenz

Hinweis für (fast) alle Tags: für Parameterwerte können auch Präfix-Variablen eingesetzt werden.

Container-Tags einfache Elemente Includes Listen/Schleifen Navigation Zugriffskontrolle Sonstige Veraltet/Deprecated
bx:containerdata bx:containerfilter bx:containerloop bx:containersearch bx:record bx:recordchoice bx:recorddata bx:recordfield bx:tablechoice bx:tabledata bx:tablefield bx:tablefilter bx:tablekat bx:tableloop bx:tablerecord bx:tablesqlfilter bx:userrecord bx:validation bx:bild bx:datum bx:dezimal bx:document bx:email bx:optional bx:text bx:textarea bx:titel bx:cmpageinclude bx:groovy bx:include bx:javainclude bx:jspinclude bx:pageinclude bx:designloop bx:loop bx:schleife bx:browse bx:internlink bx:navigation bx:navlink bx:sitemap bx:submenu bx:access bx:login bx:userdata bx:userrecord bx:admincomment bx:barcode bx:calendarfield bx:calendarloop bx:choice bx:clipboard bx:contact bx:cookie bx:directorylisting bx:documentlist bx:editbutton bx:evaluate bx:frame bx:head Bx:i18n bx:if bx:ignore bx:json bx:link bx:mapping bx:math bx:option bx:pagedata bx:paypal bx:plugin bx:relativelink bx:scanner bx:secureform bx:sessiondata bx:statistik bx:systemdata bx:tools bx:websearch bx:xml bx:containerkat bx:gif bx:news bx:search bx:submenulist

Syntax-Konventionen

<bx:tag1.{command} static="value" [not] />
<bx:tag2 [optional="(option1 | option2)"] />
<bx:tag3 [first | last] />
<bx:tag4 required="(option1 | option2)">{content}</bx:tag> <!-- 'content' darf auch leer sein -->

Zur besseren Lesbarkeit steht ein Leerzeichen vor dem Ende selbstschließender Tags, also vor />.

Platzhalter sind mit { } umschlossen (siehe command und content). Im Beschreibungstext der Tags werden die Platzhalter genauer bestimmt, z.B. welche Werte oder Typen zugelassen sind.

Optionaler Code ist mit [ ] umschlossen (siehe notoptional und first / last). Dies bedeutet, dass dieser Bereich komplett weggelassen werden kann.

Pflichtauswahlen werden mit ( ) und Auswahlen, die auch komplett weggelassen werden können, werden mit [ ] umschlossen. Die jeweiligen Möglichkeiten sind durch | getrennt.

Falls unbedingt nötig, sind Kommentare in der Form <!-- Kommentartext --> eingefügt, diese Art der Beschreibung sollte allerdings nur in Ausnahmefällen auftauchen.

Diese Beispiele sind laut der obigen Definition valide:

<bx:tag1.replace static="value" />
<bx:tag2 />
<bx:tag2 optional="option1" />
<bx:tag3 />
<bx:tag3 first />
<bx:tag4 required="option2">Lorem Ipsum</bx:tag>

Die folgenden Beispiele sind allerdings nicht valide (das Kommentar hinter jedem Beispiel beschreibt warum):

<bx:tag1 static="value" />       <!-- der Platzhalter 'command' muss gefüllt werden -->
<bx:tag1.replace />              <!-- der Parameter 'static' muss exakt aus der Definition übernommen werden -->
<bx:tag2 optional="option3" />   <!-- 'option3' steht nicht zur Auswahl -->
<bx:tag2 optional="" />          <!-- es muss eine der Optionen gewählt werden -->
<bx:tag3 middle />               <!-- 'middle' steht nicht zur Auswahl -->
<bx:tag4 required=""></bx:tag>   <!-- es muss eine Option für 'required' gewählt werden, leerer Taginhalt ist laut Kommentar in Ordnung -->

Import-Review

Bild hochladen

bx:bild

bx:browse

bx:datum

bx:document

bx:gif

bx:ignore

bx:include

bx:login

bx:optional

bx:tablesqlfilter

Containerinhalt validieren