
Best Answer black_paw , 14 July 2014 - 08:31
такой код?
return '<a title="'.$this->_item->name.'" href="' . $this->app->route->item($this->_item) . '">' . $this->app->jbstring->cutByWords($this->_item->name, 55) . '</a>';Go to the full post

Best Answer black_paw , 14 July 2014 - 08:31
такой код?
return '<a title="'.$this->_item->name.'" href="' . $this->app->route->item($this->_item) . '">' . $this->app->jbstring->cutByWords($this->_item->name, 55) . '</a>';Go to the full post
Posted 14 July 2014 - 08:43
может проще в шаблоне изменить и трогать ядро?
<?php if ($this->checkPosition('title')) : ?> <h3 class="item-title uk-text-middle"> <?php echo '<a title="'.$this->_item->name.'" href="' . $this->app->route->item($this->_item) . '">'.$this->app->jbstring->cutByWords($this->renderPosition('title'), 55).'</a>'; ?> </h3> <?php endif; ?>
Posted 14 July 2014 - 08:45
может проще в шаблоне изменить и трогать ядро?
<?php if ($this->checkPosition('title')) : ?> <h3 class="item-title uk-text-middle"> <?php echo '<a title="'.$this->_item->name.'" href="' . $this->app->route->item($this->_item) . '">'.$this->app->jbstring->cutByWords($this->renderPosition('title'), 55).'</a>'; ?> </h3> <?php endif; ?>
Да так лучше всего. Спасибо за помощь!
Русский мини форум →
Ищу разработчика за вознаграждение! →
Изменить Дизайн Карточки ТовараStarted by Danser , 10 Aug 2021 ![]() ![]() ![]() ![]() ![]() ![]() |
|
![]()
|
||
Основной форум JBZoo →
Пожелания и предложения, планы →
Пожелание. Отключить Js - Css.Started by Сонкин , 06 Jan 2019 ![]() ![]() ![]() ![]() ![]() ![]() |
|
![]()
|
||
![]() |
![]() Где лежат фалы css?Started by annaaa , 13 May 2018 ![]() ![]() ![]() ![]() ![]() ![]() |
|
![]()
|
|
Основной форум JBZoo →
Фильтры и поиск по каталогу →
Не работают стилиStarted by VSchukin , 21 Aug 2017 ![]() ![]() ![]() ![]() ![]() ![]() |
|
|
||
![]() Меню в UlkitStarted by yellowbarmaley , 21 Apr 2017 ![]() ![]() ![]() ![]() ![]() ![]() |
|
![]()
|