Try our conversational search powered by Generative AI!

Remove [ExtensionSys] prefix in on page edit

Vote:
 

Hi,

On the Overlook demo site there is no [ExtensionSys] prefix to the name of the content blocks and areas when in on page edit mode but if you create your own content block and add it to the site you get the prefix and also for all functions on a "real" site. Is there a way to remove this prefix? For small teasers it hides the real name of the content block type.

/Viktor

#56494
Jan 24, 2012 9:12
Vote:
 

I never used Composer, but my guess would be that they are translated with languages files. Search within the language files and hopefully you'll find something. If I'm wrong, I will never answer a composer question again.. :)

#56495
Jan 24, 2012 10:08
Vote:
 

Hi Viktor

The prefix [ExtensionSys] should be trimmed automatically when you register a Composer block in admin mode. How did you register your block? Could you take a look at the page type tab in EPiServer admin and verify that the names of the page types represent the content blocks are as they should be.

Regards

Hieu Doan.

#56496
Jan 24, 2012 10:10
Vote:
 

Hi Erik Nordin

Yes, it's correct. The name and description of Composer content blocks are using the translation and the language files in the same way as CMS :)

Sample:

 <pagetype name="[ExtensionSys] Article">
        <description>Redigering med textformatering med rubrik och brödtext</description>
        <name>Textformatering</name>
  </pagetype>

    

 

/Regards

Hieu Doan

#56497
Jan 24, 2012 10:13
Vote:
 

Hi,

I created my test content block on the Overlook page the normal way in EPiServer Admin mode and the composer tool and a page type named "[ExtensionSys] Kalle" was created and that was the name of the content block in on page edit. But looking at the reflected code for composer now I can see that it tries to load the name from a language file and if that fails it falls back on page type name and does not remove the [ExtensionSys]" so I guess the solution is to add the page types to the language files.

Is it a bug that "[ExtensionSys]" is not removed from the fallback or is it by design?

/Viktor

#56500
Jan 24, 2012 10:30
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.