Jump to content

Kontaktblock - Zeilenumbruch


Recommended Posts

Habe eine kurze Frage, im Kontaktblock Footer kann ich die Adresse mit Straße, PLZ und Stadt eintragen, diese 2 Zeilen kann ich aber nicht in dem Modul umbrechen sodass die Straße in der 1. Zeile steht und die PLZ + Stadt in der 2. Zeile. Kann man da evtl. auch "von Hand" eingreifen?

 

Sorry, der Betreff stimmt leider nur zur Hälfte :(

Edited by joecool2009 (see edit history)
Link to comment
Share on other sites

Hallo joecool,

 

willkommen im Forum.

 

Wenn du einen Fehler im Titel deines Posts hast, kannst du den auch sebst wieder korrigieren indem du beim ersten Post auf 'Edit', dann auf 'Use Full Editorklickst und auf  Überschrift editieren gehst ^_^ .

 

Zum Problem:

Um den Umbruch richtig hinzubekommen öffnest du die Datei:

/themes/default-bootstrap/modules/blockcontactinfos/blockcontactinfos.tpl

 

in ca Zeile 34 findest du:

 

<i class="icon-map-marker"></i>{$blockcontactinfos_company|escape:'html':'UTF-8'}{if $blockcontactinfos_address != ''}, {$blockcontactinfos_address|escape:'html':'UTF-8'}{/if}

Diese Zeile ersetzt du mit:

 

<i class="icon-map-marker"></i>{$blockcontactinfos_company|escape:'html':'UTF-8'}{if $blockcontactinfos_address != ''} <br /><span style="display:block;margin-left:32px;">{$blockcontactinfos_address|nl2br}</span>{/if}

Danach nicht vergessen Cache zu löschen und Smarty neu kompilieren (im BO ->Erweiterte Einstellungen -> Leistung)

 

Grüsse

Whiley

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...