November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Sorry, might be a silly question, but why don't you just name your Name differently? Normally, we have something like a Heading. Why is this not an option for you? (You might translate it in language files anyhow then)
Hi Marija
We want the Name property to be filled in, since this is shown, e.g., when blocks are listed in content areas. We are not displaying the "name" property to end users, just using it to make the content more structured for the editors.
Regards
Thomas
Hey Thomas, now I get it, can you try this out:
[EditorDescriptorRegistration(TargetType = typeof(string))]
public class HideNameEditorDescriptor : EditorDescriptor
{
public override void ModifyMetadata(
ExtendedMetadata metadata,
IEnumerable<Attribute> attributes)
{
base.ModifyMetadata(metadata, attributes);
if (metadata.PropertyName == "icontent_name")
{
metadata.ShowForEdit = false;
}
}
}
Hi Marija!
Sorry for the late reply - I was busy with other stuff for the last weeks.
Your solution works just great. This will remove a lot of frustration from our editors, thank you!
Best regards
Thomas
Hi
We have set the "Name" property as required on all pages and blocks in our solution. The auto-generated names are not very useful, so we found forcing the user to give a relevant name makes the content easier to edit.
It works, but has the bad side effect that editor mode now show the "name" property twice:
And, what is worse: editing the "name" in position 1 now has no effect. It is always overriden by the value in position 2. This is very confusing for the editors. Is there any way that we can:
Setting values via language XML files, only seem to have effect on the property in position 2.