change active breadcrumb items name

26. December 2015

0 Kommentare

using title(Titel) and not pageTitle (Seitentitel)
->templates->new template for “mod_breadcrumb.html5”

// $item[data][title] instead of $item[titel]

7 <?php if ($item&#91;'isActive'&#93;): ?>
8        <li class="active<?php if ($item&#91;'class'&#93;): ?> <?= $item&#91;'class'&#93; ?><?php endif; ?> last"><?= $item&#91;'data'&#93;&#91;'title'&#93; ?></li>
9      <?php else: ?>
  

¬ geschrieben von 7masod7 in contao

Own language labels for Contao frontend

26. December 2015

0 Kommentare

in /system/config/langconfig.php


// Put your custom configuration here
$GLOBALS['TL_LANG']['MSC']['more'] = 'Mehr';

if ($GLOBALS['TL_LANGUAGE'] == 'en') {
   $GLOBALS['TL_LANG']['MSC']['more'] = 'More';
}
  

¬ geschrieben von 7masod7 in contao

Theme von BenediktRB • Powered by Wordpress • Abonniere den RSS Feed