PHP-Code:
[HTML]<?php if (count($this->data)): /* display only if there is data. */ ?>
<?php foreach ($this->data as $arrItem): /* loop over all items. */ ?>
<div class="container">
<div class="row clearfix">
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 column"> <!-- linkespalte -->
<div class="row clearfix">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 column">
<!-- Title -->
<h3 class="headline"><?php echo $arrItem['text']['anwalt_name']; ?></h3>
</div>
</div>
<div class="row clearfix">
<!-- Partner und Status -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 column">
<ul class="partner_status ">
<li><strong class="erste"><?php echo $arrItem['text']['anwalt_partner']; ?></strong></li>
<li><?php echo $arrItem['text']['anwalt_status']; ?></li>
</ul>
</div>
</div>
<div class="row clearfix">
<!-- Bild -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 column">
<div class="thumbnail img-responsive" <?php echo $arrItem['html5']['anwalt_bild']; ?> </div>
</div>
</div>
<div class="row clearfix">
<!-- Standort -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 column">
<div class="kontakt">
<!-- DAS IST DAS PROBLEM ;) --> <?php echo $arrItem['html5']['anwalt_standort']; ?>
<hr class="detail-line">
<ul class="detail-social-links">
<li><a href="#"><i class="fa fa-xing icon-xing icon-social"></i></a></li>
<li><a href="#"><i class="fa fa-facebook icon-facebook icon-social"></i></a></li>
<li><a href="#"><i class="fa fa-google icon-google-plus icon-social"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="row clearfix">
<!-- Netzwerk -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 column">
</div>
</div>
</div><!-- linkespalte Ende-->
<div class="col-xs-12 col-sm-6 col-md-8 col-lg-8 column right-profil"> <!-- rechtespalte -->
<div class="row clearfix">
<div class="col-md-12 col-lg-12 column">
<!-- anfang -->
<div class="field">
<span class="value"><?php echo $arrItem['text']['anwalt_fachanwalt']; ?></span>
</div>
<div class="field">
<span class="value"><?php echo $arrItem['html5']['anwalt_ausbildung']; ?></span>
</div>
<div class="field">
<span class="value"><?php echo $arrItem['text']['anwalt_ausbildung2']; ?></span>
</div>
<div class="field">
<span class="value"><?php echo $arrItem['html5']['anwalt_zulassung']; ?></span>
</div>
<div class="field">
<span class="value"><?php echo $arrItem['html5']['anwalt_fremdsprachen']; ?></span>
</div>
<div class="field">
<span class="value"><?php echo $arrItem['html5']['anwalt_fachrichtungen']; ?></span>
</div>
<div class="field">
<span class="test5"> <?php echo $arrItem['html5']['anwalt_fachangestellte']; ?></span>
</div>
<!-- ende -->
</div>
</div>
</div> <!-- Rechtespalte ende -->
</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; ?>[/HTML]
Zur Verknüpfung:
Ich habe den Alias von Standorte in MM Anwalt mit einer Mehrfachauswahl erstellt, so wie auf dem Bild zu sehen ist
Mehrfachauswahl.png
Ja, das mit Kindtabellen habe ich auch schon gefunden aber ich verstehe den ganzen Aufbau nicht, wo schreibe welcher code rein? habe das alles schon 100erte male durch gelesen aber die ganzen begriffe sind noch etwas verwirrend. wie gesagt stehe noch am Anfang
Lesezeichen