× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Link items in module list with Alias routing.

8 года 11 мес. назад - 8 года 11 мес. назад #1035 от Geir
Geir создал тему: Link items in module list with Alias routing.
I tried to link my components items using JRoute in the module, it doesn't work, and I get no information why.
<tr>
   <th><?php echo ModComponentHelper::renderTranslatableHeader($params, $params->get('field')); ?></th>
   <td>
      <a href="<?php echo JRoute::_('index.php?option=com_component&view=item&id='.(int) $element->id); ?>">
         <?php echo ModComponentHelper::renderElement($params->get('table'), $params->get('field'), $element->{$params->get('field')}); ?>
      </a>
   </td>
</tr>
Вложения:
Последнее редактирование: 8 года 11 мес. назад пользователем Geir.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.087 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.