ISSUE SUMMARY:
When I edit and save a course, I get the message "This name or alias is already used, choose another one!". So I have to change the name, save it, open it again, edit the name and save.
Kind of irritating... :)
Fix?
/Bosse
STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER
Hi, Bosse.
Elements can't have the same name ergo the same alias.
Just like menu items in the same menu can't have the same alias - this is Joomla! limitation used to avoid URL issues (as each element need to have unique alias... in other case two or more elements with the same alias will cause conflict - which one to display?).
I understand and know that. But if have a course named "Course 1", and I need to edit something (like change the cover image), I don't create a new course, I just edit an existing one. Which means I need the name and alias to stay as it is.
It seem to me a bit strange that I have to change the name "Course 1" to "Course 1a", save it and then open it for editing the name back again.
Hi, Bosse.
Ah, you mean existing element.. yes... that's a bit strange as element already exist... does system treat it like saving a new one?
I assign Guru developer to this thread.
Hi,
I just created a new course - "iJoomla Test" and I can edit and save this course without issue, I can add new image and no need to add a new name/alias.
Please advise.
Hi,
I still can't replicate this, I made custom changes in guru files:
"administrator/components/com_guru/views/guruprograms/tmpl/editform.php"
"components/com_guru/views/guruauthor/tmpl/authoraddcourse.php"
and now you should not receive that alert message. But please make a back-up to these files before upgrade to next version.
Hi,
Please test now, for uploading files/images I made some changes in this component files and all changes will be added in the next version too.
Hi,
I just tested, and I can add images for courses, for categories... How can I replicate your issue?