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

Editing items in backend

9 năm 11 tháng trước #389 bởi Victor
Editing items in backend was created by 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 :)

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

9 năm 11 tháng trước - 9 năm 11 tháng trước #391 bởi BubbleFire
Replied by BubbleFire on topic 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.
Last edit: 9 năm 11 tháng trước by BubbleFire.
Những thành viên sau(s) đã Cảm ơn: Andres Maeso, Victor

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

9 năm 11 tháng trước #393 bởi Victor
Replied by Victor on topic Solved: Editing items in backend
Dear Bubblefire, it works like a charm!! Great, thank you very much!

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

Thời gian tải trang: 0.097 giây
Powered by Kunena Forum

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.