New answers tagged

0

Certainly, just use constants and get copy from Sitecore dictionries. Habitat has a great example. https://github.com/Sitecore/Habitat/blob/master/src/Feature/Accounts/code/Models/LoginInfo.cs namespace Sitecore.Feature.Accounts.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Sitecore.Feature.Accounts....


2

To add on @Chris Auer answer, you may find below the code snippet showing where you should perform the change. You need to override the OnLoad method of the GalleryVersionsForm class from the namespace Sitecore.Shell.Applications.ContentManager.Galleries.Versions in the assembly Sitecore.Client.dll. public class GalleryVersionsExtensionForm : ...


2

The best I can see if to override the code beside for \sitecore\shell\Applications\Content Manager\Galleries\Versions\Gallery Versions.xml. It is currently set to Sitecore.Shell.Applications.ContentManager.Galleries.Versions.GalleryVersionsForm. This would allow you to insert some code as the next version gets loaded.


0

First of all, you need to create and register command to create a normal URL for your current page. you need to create a class which will inherit PipelineProcessorRequest<ItemContext> and will override the ProcessRequest method. In this class, we need to write our code for getting the URL. I am writing a simple code here, but you can change it as per ...


0

You can change it as follows : Switch to the core database Navigate to /sitecore/system/Dictionary/{first character of the message}/{actual message} Select the {actual message} item. Then, change the field name called "phrase" as per your wish. All the messages displayed in Sitecore seems to be here Reference : https://sitecore.stackexchange.com/...


1

Looks like you have missed to follow the post-installation instructions of JSS. Make sure you add the following to your web.config (system.webServer/handlers section): <add verb="*" path="sitecorejss_media.ashx" type="Sitecore.JavaScriptServices.Media.MediaRequestHandler, Sitecore.JavaScriptServices.Media" name="Sitecore....


Top 50 recent answers are included