tag:help.rocksolidthemes.com,2012-07-23:/discussions/contao/29089-verwendung-modul-icon-linksRockSolid Themes: Discussion 2018-07-27T15:01:45Ztag:help.rocksolidthemes.com,2012-07-23:Comment/457836902018-07-27T06:20:10Z2018-07-27T06:20:10ZVerwendung: Modul Icon-Links<div><p>Produkt: Tao Contao<br>
Contao-Version: 4.4</p>
<p>Bei der Verwendung des Moduls Icon-Links im Header wird bei Adresse und Tel. automatisch ein Link gesetzt, obwohl die Link-URL leer ist. Das ist bei der Demo auch so. Kann man die Links auch entfernen?</p></div>Bentag:help.rocksolidthemes.com,2012-07-23:Comment/457836902018-07-27T08:37:34Z2018-07-27T08:37:34ZVerwendung: Modul Icon-Links<div><p>Vielen Dank für Ihre Frage.</p>
<p>Bearbeiten Sie dafür bitte das Template <em>templates/tao/rsce_tao_icon_links.html5</em> und ersetzen Sie diese Zeile:</p>
<pre>
<code><a href="<?php echo $link->url ?>"<?php if ($link->icon): ?> data-icon="&#x<?php echo $link->icon ?>;"<?php endif ?><?php if (($link->color) || ($link->background_color)): ?> style="<?php if ($link->color): ?>color: #<?php echo $link->color ?>;<?php endif ?><?php if ($link->background_color): ?> background-color: #<?php echo $link->background_color ?><?php endif ?>"<?php endif ?><?php if ($link->newWindow): ?> target="_blank"<?php endif ?>></code>
</pre>
<p>mit folgendem Code:</p>
<pre>
<code><a<?php if ($link->url): ?> href="<?php echo $link->url ?>"<?php endif ?><?php if ($link->icon): ?> data-icon="&#x<?php echo $link->icon ?>;"<?php endif ?><?php if (($link->color) || ($link->background_color)): ?> style="<?php if ($link->color): ?>color: #<?php echo $link->color ?>;<?php endif ?><?php if ($link->background_color): ?> background-color: #<?php echo $link->background_color ?><?php endif ?>"<?php endif ?><?php if ($link->newWindow): ?> target="_blank"<?php endif ?>></code>
</pre></div>RockSolid Themestag:help.rocksolidthemes.com,2012-07-23:Comment/457836902018-07-27T10:16:30Z2018-07-27T10:16:31ZVerwendung: Modul Icon-Links<div><p>Super, das hat funktioniert. Vielen Dank für den erstklassigen Support.</p></div>Ben