×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Adding links in the list of items?
Vitor
New Member
Posts: 8
10 Anni 3 Mesi fa - 10 Anni 3 Mesi fa #234
da Vitor
Adding links in the list of items? è stato creato da 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.
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.
Ultima Modifica 10 Anni 3 Mesi fa da Vitor.
Si prega Accedi o Crea un account a partecipare alla conversazione.
Vitor
New Member
Posts: 8
10 Anni 3 Mesi fa #261
da Vitor
Risposta da Vitor al 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
<a href="<?php echo JRoute::_('index.php?option=com_videos&view=itens&id=' . (int)$item->id); ?>"></a>
videos = component name
itens = field name
Si prega Accedi o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.047 secondi