Hallo,
ich stehe vor dem Problem das meine linke Spalte unter die Hauptspalte verschoben ist.
Ich habe in der Hauptspalte folgende drei Metamodel-Templates eingebunden, in der linken Spalte ein Metamodel-Template:
1. Template (Hauptspalte)
2. Template (Hauptspalte)Code:<?php if (count($this->data)): /* display only if there is data. */ ?> <div class="layout_full"> <?php foreach ($this->data as $arrItem): /* loop over all items. */ ?> <div class="item <?php echo $arrItem['class']; ?>"> <div class="content_profil"> <div class="actor_profil"> <table> <tr> <th width="30%"><span class="jahrgang_label"><?php echo $arrItem['attributes']['jahrgang']; ?></span></th> <th width="70%"><span class="jahrgang_value"><?php echo $arrItem['text']['jahrgang']; ?></span></th> </tr> <tr> <td><span class="groesse_de_label"><?php echo $arrItem['attributes']['groesse_de']; ?></span></td> <td><span class="groesse_de_value"><?php echo $arrItem['text']['groesse_de']; ?> cm</span></td> </tr> <tr> <td><span class="haare_de_label"><?php echo $arrItem['attributes']['haarfarbe_de']; ?></span></td> <td><span class="haare_de_value"><?php echo $arrItem['html5']['haarfarbe_de']; ?></span></td> </tr> <tr> <td><span class="augen_de_label"><?php echo $arrItem['attributes']['augenfarbe_de']; ?></span></td> <td><span class="augen_de_value"><?php echo $arrItem['html5']['augenfarbe_de']; ?></span></td> </tr> <tr> <td><span class="sprachen_de_label"><?php echo $arrItem['attributes']['sprachen_de']; ?></span></td> <td><span class="sprachen_de_value"><?php echo $arrItem['html5']['sprachen_de']; ?></span></td> </tr> <tr> <td><span class="dialekte_de_label"><?php echo $arrItem['attributes']['dialekte_de']; ?></span></td> <td><span class="dialekte_de_value"><?php echo $arrItem['html5']['dialekte_de']; ?></span></td> </tr> <tr> <td><span class="groesse_de_label"><?php echo $arrItem['attributes']['tanz_de']; ?></span></td> <td><span class="groesse_de_value"><?php echo $arrItem['text']['tanz_de']; ?></span></td> </tr> <tr> <td><span class="instrumente_de_label"><?php echo $arrItem['attributes']['instrumente_de']; ?></span></td> <td><span class="instrumente_de_value"><?php echo $arrItem['text']['instrumente_de']; ?></span></td> </tr> <tr> <td><span class="sport_de_label"><?php echo $arrItem['attributes']['sport_de']; ?></span></td> <td><span class="sport_de_value"><?php echo $arrItem['text']['sport_de']; ?></span></td> </tr> <tr> <td><span class="fuehrerscheine_de_label"><?php echo $arrItem['attributes']['fuehrerscheine_de']; ?></span></td> <td><span class="fuehrerscheine_de_value"><?php echo $arrItem['text']['fuehrerscheine_de']; ?></span></td> </tr> </table> </div> </div> </div> </div> <div class="clear"></div> <?php if ($arrItem['jumpTo']): ?><a href="<?php echo $arrItem['jumpTo']['url']; ?>">Zurück zur Liste</a><?php endif; ?> <?php endforeach; /* item loop */ ?> <?php else: /* no items found */ ?><p class="info"><?php echo $this->noItemsMsg; ?></p> <?php endif; ?>
3. Template (Hauptspalte)Code:<?php if (count($this->data)): /* display only if there is data. */ ?> <div class="layout_full"> <?php foreach ($this->data as $arrItem): /* loop over all items. */ ?> <div class="item <?php echo $arrItem['class']; ?>"> <div class="content_ausbildung"> <table> <tr> <td width="30%"> <span class="jahr_anfang_value"><?php echo $arrItem['text']['ausbildung_anfang']; ?></span> - <span class="jahr_ende_value"><?php echo $arrItem['text']['ausbildung_ende']; ?></span> </td> <td width="70%"> <span class="ausbildungsstaette_value"><?php echo $arrItem['text']['ausbildungsstaette']; ?></span> </td> </tr> </table> </div> </div> </div> <?php if ($arrItem['jumpTo']): ?><a href="<?php echo $arrItem['jumpTo']['url']; ?>">Zurück zur Liste</a><?php endif; ?> <?php endforeach; /* item loop */ ?> <?php else: /* no items found */ ?><p class="info"><?php echo $this->noItemsMsg; ?></p> <?php endif; ?>
4. Template (linke Spalte)Code:<?php if (count($this->data)): /* display only if there is data. */ ?> <div class="layout_full"> <?php foreach ($this->data as $arrItem): /* loop over all items. */ ?> <div class="item <?php echo $arrItem['class']; ?>"> <div class="content_auszeichnungen"> <table> <tr> <td width="30%"><span class="jahr_value"><?php echo $arrItem['text']['jahr']; ?></span></td> <td width="70%"><span class="auszeichnung_name_value"><?php echo $arrItem['text']['auszeichnung_name']; ?></span></td> </tr> </table> </div> </div> </div> <?php endforeach; /* item loop */ ?> <?php else: /* no items found */ ?><p class="info"><?php echo $this->noItemsMsg; ?></p> <?php endif; ?> </div>
Kann mir jemand einen Tipp geben, wo der Fehler liegt?Code:<?php if (count($this->data)): /* display only if there is data. */ ?> <div class="layout_full"> <?php foreach ($this->data as $arrItem): /* loop over all items. */ ?> <div class="item <?php echo $arrItem['class']; ?>"> <div class="content_profilbilder"> <div class="actor_profilbilder"> <span class="profilbild_headline"><?php echo $arrItem['text']['vorname']; ?><br /><?php echo $arrItem['text']['nachname']; ?></span> <span class="profilbild_value"><?php echo $arrItem['html5']['profilbild']; ?></span> <span class="profilbilder_klein_value"><?php echo $arrItem['html5']['profilbilder_klein']; ?></span> </div> </div> </div> <div class="clear"></div> <?php endforeach; /* item loop */ ?> <?php else: /* no items found */ ?><p class="info"><?php echo $this->noItemsMsg; ?></p> <?php endif; ?> </div>
Vielen Dank

Zitieren