×
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 år 2 måneder siden #389
af Victor
Editing items in backend blev oprettet af 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
Venligst Log på eller Opret en konto for at deltage i samtalen
BubbleFire
New Member
Posts: 3
10 år 1 måned siden - 10 år 1 måned siden #391
af BubbleFire
Besvaret af BubbleFire på emne 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.
Sidste redigering: 10 år 1 måned siden ved BubbleFire.
Følgende bruger(e) sagde tak: Andres Maeso, Victor
Venligst Log på eller Opret en konto for at deltage i samtalen
Victor
New Member
Posts: 3
10 år 1 måned siden #393
af Victor
Besvaret af Victor på emne Solved: Editing items in backend
Dear Bubblefire, it works like a charm!! Great, thank you very much!
Venligst Log på eller Opret en konto for at deltage i samtalen
Tid til at oprette siden: 0.050 sekunder