Category: Administration

  • Default Rich Text Editor Profile in a Multisite Environment

    Out of the box, the default Rich Text Editor profile can be set via the “HtmlEditor.DefaultProfile” setting.

    <setting name="HtmlEditor.DefaultProfile" value="/sitecore/system/Settings/Html Editor Profiles/Rich Text Default"/>
    

    Unfortunately, this only allows you to set the default profile for the entire Sitecore instance making it the default profile for each site.

    Set it up for Multisite

    Luckily, it is possible to create a custom EditorConfiguration which reads an attribute from Site Settings and replaces the default profile:

    Add the following config file and set correct namespaces for HtmlEditor.DefaultConfigurationType:

    Edit sites config and point to your preferred rich text editor profile:

    <site name="mySite" defaultRichTextProfile="/sitecore/system/Settings/Html Editor Profiles/Rich Text Full" ...
    

    Tested on 8.0 and 8.1.

    UPDATE 04.03.2016: Changed code to only override the default profile. If a different profile was defined at field level it will not be overridden.

  • Sitecore Start Menu Shortcuts not showing

    We noticed, that it is not possible to create Application Shortcuts anymore in SC 7.2. All our newly created shortcuts wouldn’t be displayed, while old shortcuts were visible.

    The reason for this lies in the changed raw value inside of link fields. Internal links are saved as GUIDs instead of paths:

    <link linktype="internal" querystring="" target="" id="{7EADA46B-11E2-4EC1-8C44-BE75784FF105}" />

    When we change the raw value of the link back to url=”…”, the link gets displayed again:

    <link text="Content Editor" linktype="internal" url="/Applications/Content editor" anchor="" title="" class="" target="">

    Obviously, Sitecore expects urls inside shortcuts to be paths instead of GUIDs. Unfortunately it is not possible to create internal links with url=”” through the link dialog. You will have to edit the raw values manually.
    We have reported this bug to Sitecore Support.

  • View running Sitecore background jobs

    I’ve created a very simple but useful admin page recently that shows all background jobs (indexing, publishing etc.) currently running on the Sitecore instance. So if you’re ever wondering why the instance is running slow or why jobs are being queued you can take a peek at /sitecore/admin/ViewJobs.aspx

    You might want to apply some styling though 😉
    Here you go:

    By the way: Sitecore rocks lets you do the same thing too. But I found an admin page would be more handy in production.