Call fields in your custom template
Call in custom content template any attribute of a field, the value of the field but label, description, maxlenght, style too... This list is not complete.
|
Call in custom content template any attribute of a field, the value of the field but label, description, maxlenght, style too... This list is not complete. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
for ( $i = 0, $n = count( @$jSeblod->fieldX_name ); $i < $n; $i++ ) {
echo @$jSeblod->fieldX_name[$i]->attribut; } echo @$jSeblod->fieldX_name[0]->attribut;
echo @$jSeblod->fieldX_name[1]->attribut; Get link: @$jSeblod->fieldX_name[$i]['art_link']->value;
...
for ( $i = 0, $n = sizeof( @$jSeblod->field_name) - 1; $i < $n; $i++ ) {
echo @$jSeblod->field_name[$i]['name_of_a_field_in_the_group']->attribut; } echo @$jSeblod->field_name[0]['name_of_a_field_in_the_group']->attribut;
echo @$jSeblod->field_name[1]['name_of_a_field_in_the_group']->attribut; ... |
Lapoux
November 11, 2011
1338
