Create a new content custom fied with Title "test", try to create another custom field with Title "test...---+++"
Error
Save failed with the following error: Another Field has the same name (remember it may be a trashed item).
I can create custom field with different Title
I can't create custom field with different Title
Joomla 3.7.1
for the content I have:
Warning
Alias already existed so a number was added at the end. You can re-edit the article to customise the alias.
And the content was created
Where in Joomla is the same like for the custom field ?
For modules I can create modules with the same title
Where in Joomla is the same like for the custom field ?
The restriction that aliases must be unique is the same. Replace "alias" with "name" in the case of com_fields IIRC. What may be different is "hard" erroring like your issue report states and automagically changing the alias as com_content does as an example.
I don't think it's the Title field that's causing your error.
yes, I agree
The title of a field is NOT the same thing as the title of a module
The title of a field is a unique identifier of the field
The label of the field is the non unique text that is equivalent to the
title of a module
The reason that string and string-+++ has been explained by Michael
On 19 May 2017 5:11 p.m., "Alessandro Rossi" notifications@github.com
wrote:
For modules I can create modules with the same title
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#16132 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8RTP4JE4Z03IGlrYXmdigT1fDeK4ks5r7b89gaJpZM4NgtVi
.
The title doesn't matter. The "name" must be unique (sitewide) because it is also used as the "id" attribute of the element. The "name" is generated automatically from the title (exactly like the alias for an article), but you can specify one yourself.
Status | New | ⇒ | Discussion |
i am closing this for the reasons stated above
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-18 17:12:14 |
Closed_By | ⇒ | brianteeman |
It's the same throughout Joomla
On 19 May 2017 4:58 p.m., "Alessandro Rossi" notifications@github.com
wrote: