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

Adding links in the list of items?

10 年 3 个月 前 - 10 年 3 个月 前 #234 Vitor
Adding links in the list of items? was created by Vitor
Hello, I can not add links to the list of items bound for single item. 
  Before the CC generated it automatically, but changed and was not posted in the Wiki how to add links (I was sad, which was able to do in two hours I can not do 1 day). 
  Can anyone help me to add links? 
  Thank you!


Edit: It's a shame, I Tinhan made ​​a component and could not download because it uses two tables, now I am subscriber and can not use the component because of a change in the generator and I do not know how to add link to the item. 
  I will focus my studies at Lynda, will be bad to understand English, but is the only way to learn.
附件:
Last edit: 10 年 3 个月 前 by Vitor.

Please 登录注册一个帐号 to join the conversation.

10 年 3 个月 前 #261 Vitor
Replied by Vitor on topic Adding links in the list of items?
1 week later I found out is:
<a href="<?php echo JRoute::_('index.php?option=com_videos&view=itens&id=' . (int)$item->id); ?>"></a>

videos = component name
itens = field name

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.056秒
核心: 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.