×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Editing items in backend
Victor
New Member
Posts: 3
10 anos 2 meses atrás #389
por Victor
Editing items in backend foi criado por Victor
Hello,
In backend when i go to a list view in backend, the only way i have actually to edit an element is selecting and pressing "Edit Button". So, this not very practical, so how i can enable an element (in this case a title) to be clickable for edit instead selecting and press button?
This is my first post here, i am not new in Joomla but i am novice developing components, so component-creator is a very good creation for people like me.
Thank you for all help and suggestions
In backend when i go to a list view in backend, the only way i have actually to edit an element is selecting and pressing "Edit Button". So, this not very practical, so how i can enable an element (in this case a title) to be clickable for edit instead selecting and press button?
This is my first post here, i am not new in Joomla but i am novice developing components, so component-creator is a very good creation for people like me.
Thank you for all help and suggestions
Por favor Acessar ou Registrar para participar da conversa.
BubbleFire
New Member
Posts: 3
10 anos 2 meses atrás - 10 anos 2 meses atrás #391
por BubbleFire
Respondido por BubbleFire no tópico Editing items in backend
Hi, Viktor,
I have noticed the same issue.
The quick solution would be to manually add the link to edit view. You could open list view and than implement following code:
<a href="<?php echo JRoute::_('index.php?option=com_COMPONENT&task=SINGLE_VIEW.edit&id=' . $item->id); ?>" title="<?php echo JText::_('JACTION_EDIT'); ?>">
<?php echo $item->TITLE; ?>
</a>
Change COMPONENT, SINGLE_VIEW and TITLE with your own values form component.
I have noticed the same issue.
The quick solution would be to manually add the link to edit view. You could open list view and than implement following code:
<a href="<?php echo JRoute::_('index.php?option=com_COMPONENT&task=SINGLE_VIEW.edit&id=' . $item->id); ?>" title="<?php echo JText::_('JACTION_EDIT'); ?>">
<?php echo $item->TITLE; ?>
</a>
Change COMPONENT, SINGLE_VIEW and TITLE with your own values form component.
Ultima edição: 10 anos 2 meses atrás por BubbleFire.
Os seguintes usuário(s) disseram Obrigado: Andres Maeso, Victor
Por favor Acessar ou Registrar para participar da conversa.
Victor
New Member
Posts: 3
10 anos 2 meses atrás #393
por Victor
Respondido por Victor no tópico Solved: Editing items in backend
Dear Bubblefire, it works like a charm!! Great, thank you very much!
Por favor Acessar ou Registrar para participar da conversa.
Tempo para a criação da página:0.049 segundos