Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Categories Asset Management
Created by Guest
Created on Jan 13, 2021

As an editor I have to manually give each block a type name aka, Image, Video, Function etc.

The blocks already have a name when developed like "image-block", why cant the Block type name be visible as part or in addition to the block name in the editor. Would be very helpful when searching for blocks. Ie. I use search to find all image blocks in the resource catalogue.

  • Guest
    Reply
    |
    Jan 15, 2024

    We currently do this on our site in the on creating event but can do it on publishing event if that is how you want but here is the code we use.


    // Added for Editorial Team: creates display name(block type) : block name.
    private static void ContentEvents_CreatingContent(object sender, ContentEventArgs e)
    {
    if (e.Content != null &&
    e.Content is BlockData &&
    e.Content is not MulticolumListLayoutBlock)
    {
    var contentTypeRepo = ServiceLocator.Current.GetInstance<IContentTypeRepository>();
    var contentType = contentTypeRepo.Load(e.Content.ContentTypeID);
    e.Content.Name = $"{contentType.DisplayName.Coalesce(contentType.Name)}: {e.Content.Name}";
    }
    }
  • Guest
    Reply
    |
    Jul 5, 2021

    You work really neatly, giving each block a name makes the whole work pretty manageable, but I usually do this type of editing on the video and image editing software by WonderShare Coupons. It saves a lot of time and most importantly it is very cheaper in pricing.

  • Guest
    Reply
    |
    May 19, 2021

    Agreed! Our team manually adds this information to the name of every single block we create (e.g. Job opportunities - Accordion block, Handwashing video - YouTube block), which is helpful in the long run but would be much better if this information appeared automatically, or when you hover over a block.