enhancement · module

Playing around with Sitecore custom validators per template

Once we have followed Helix architecture principles, there have been some base templates are used by Page Type templates. For instance, we have a _BaseContent template (fields: Headline, ShortDescription, Body) and it’s a base template of various templates. There is a Max Length Validator for Headline field. However, the max length value is the same for… Continue reading Playing around with Sitecore custom validators per template

patch

Sitecore 9.0 – Incorrect validation for media items that do not have marketing assets

Such a lovely day! We find out a Sitecore bug when migrating the content from a Sitecore 7.2 instance to a fresh Sitecore 9.0 Initial Release instance by installing Sitecore packages via Installation Wizard. From the beginning, we can install the Sitecore packages smoothly. However, there is a Sitecore package produces the following error: Let’s… Continue reading Sitecore 9.0 – Incorrect validation for media items that do not have marketing assets

module

Playing around with Sitecore user-friendly redirect template

Sometimes, a Sitecore web page will be managed by another vendor. In order to pass PageRank, the owner may ask you to perform 301 / 302 redirect for that page. In terms of Sitecore development, there are many Sitecore modules on Sitecore Marketplace and Github for that purpose. Frankly, I have not played around with… Continue reading Playing around with Sitecore user-friendly redirect template

improvement · module

How to handle errors of a specific site on a shared Sitecore instance

Well, the gatekeeper does not allow us to edit web.config file so we have to find out the way to handle the custom errors of our own Sitecore MVC sites on a shared Sitecore instance. All we can do is to play around with patching config files. Assumptions (for a specific site) if a non-existent… Continue reading How to handle errors of a specific site on a shared Sitecore instance

framework · installation

Playing around with Sitecore 9 and my simple framework version 2.0

I guess that we’re all excited with Sitecore 9. Finally, I have a chance to play with Sitecore 9 and my simple framework. A new version 2.0 is out for that. It’s mostly based on version 1.7 because I just did: upgrade all Sitecore Nuget packages to version 9.0.171002 upgrade .Net Framework to version 4.7 get some… Continue reading Playing around with Sitecore 9 and my simple framework version 2.0

tools · utilities

How to restart Sitecore server via Sitecore user interface

A few years ago, I had a chance to work with Sitecore CMS version 6.6 and had to restart Sitecore server several times without IIS access to kill the publish process (it run forever sometimes). I suppose that I may do it again with Sitecore version 7.X and Sitecore version 8.X for some reasons as well.… Continue reading How to restart Sitecore server via Sitecore user interface

cms · enhancement

How to inject the custom icons to Sitecore 8

Someone wants to inject their own icons to Sitecore 8 so that they will be able to change the icon of Sitecore items later inside Sitecore (please click here to get how to configure item icons). It’s something like this: The Reference Modifying \sitecore\shell\Applications\Content Manager\Dialogs\Set Icon\Set Icon.xml which handles Change Icon dialog of Sitecore: replace CodeBeside to the new… Continue reading How to inject the custom icons to Sitecore 8

cms · processor · storage

Storing Sitecore media assets on the file system and how to get synced at your machine

This post is to present an approach for storing Sitecore media assets on the file system and how to get synced between CA and CD at your machine (another one is Microsoft Web Deployment tool). However, it might be an initiative of your own approach. Assumptions Storing Sitecore Media Assets on the File System Using Microsoft Sync Framework… Continue reading Storing Sitecore media assets on the file system and how to get synced at your machine

cms · field · module

Sitecore Custom Field – Image Coordinate Picker

Someone wants you to develop a Sitecore custom field which allows for the users to pick the image coordinate inside Sitecore. The main purpose is to render the hot spots correctly on Hero Image / Banner Image as are the ones are defined inside Sitecore. Assumptions: based on GOOGLE MAP LOCATION PICKER FIELD the hot spot items… Continue reading Sitecore Custom Field – Image Coordinate Picker

cms · installation · module

How to install a Sitecore package

Download the zip file (a Sitecore package) to your hard drive Log into Sitecore and install it Click to open the Launch Pad On the right, click to open the Desktop On the bottom-left of the Desktop, click the Sitecore icon Next, select Development Tools -> Installation Wizard In the installation wizard, click Upload package then click Browse…, navigate to and select the zip file, and… Continue reading How to install a Sitecore package