Skip to content
tbaddade edited this page Feb 24, 2012 · 9 revisions

mehrzeilig zu einzeilig wg. zeilenfehlernummern

REX_VALUE[id=4 ifempty=REX_ARTICLE[]]

Quotes

<?php
$var = "REX_VALUE[id=1]"; // single quotess
$var2 = 'REX_VALUE[id=1]'; // double quotes
?>

Ideen

  • REX_IS_LINK
  • REX_IS_LINKLIST
  • REX_IS_MEDIA
  • REX_IS_MEDIALIST

REX_VARS[id=‘1’ Name=‘Wert’]

Name Wert Ausgabe
attributes id=id;class=klasse1 klasse2;onchange=…
comment Navigationstemplate

REX_VALUE[id=‘1’ Name=‘Wert’]

Name Wert Ausgabe
formlabel Mein Label <label>Mein Label</label>
formtype text <input type="text" name="VALUE[1]" value="REX_VALUE[1]" />
formtype password <input type="password" name="VALUE[1]" value="REX_VALUE[1]" />
formtype email <input type="email" name="VALUE[1]" value="REX_VALUE[1]" />
formtype url <input type="url" name="VALUE[1]" value="REX_VALUE[1]" />
formtype number <input type="number" name="VALUE[1]" value="REX_VALUE[1]" />
formtype range <input type="range" name="VALUE[1]" value="REX_VALUE[1]" />
min. max, size über params
formtype weitere HTML5 Typen
formtype radio <input type="radio" name="VALUE[1]" value="1" />
formtype radios <input type="radio" name="VALUE[1][]" value="formoptions-value" /><label>formoptions-name</label>
formtype checkbox <input type="checkbox" name="VALUE[1]" value="REX_VALUE[1]" />
formtype checkboxes <input type="checkbox" name="VALUE[1][]" value="formoptions-value" /><label>formoptions-name</label>
formtype textarea <textarea name="VALUE[1]">REX_VALUE[1]</textarea>
formtype select <select name="VALUE[1]"><option value="formoptions-value">formoptions-name</option></select>
formoptions name1=value1;name2=value2;
oder
SELECT name, value FROM
<option value="value1">name1</option> oder
checkboxes oder
radios

REX_LINK[id=‘1’ Name=‘Wert’]

Name Wert Ausgabe
params key1=value1;key2=value2 …?key1=value1&key2=value2

REX_MEDIA[id=‘1’ Name=‘Wert’]

Name Wert Ausgabe
mediatype MediaTypeName <img src=/index.php?rex_media_type=MediaTypeName&rex_media_file=MediaFileName