Handling Legacy Links in Xperience by Kentico Using Kentico Middleware
To handle legacy links from an old website in ‘Xperience by Kentico’, implement a custom middleware approach. While Kentico offers the IWebPageRedirectManager API, using […]
To handle legacy links from an old website in ‘Xperience by Kentico’, implement a custom middleware approach. While Kentico offers the IWebPageRedirectManager API, using […]
Tabs are one of the most popular and enduring UI (User Interface) design patterns in web development. Modeled after traditional manila file folders, tabs […]
Trimming or truncating text to a character limit involves shortening a string to a specific length. This is useful for various purposes, like displaying […]
When you retrieve an image path from Kentico 13 using item.GetProperty(“MyImage”).ToString(), it often returns a path starting with ~ (tilde), which is a virtual […]
Let’s assume you developed a widget using Xperience by Kentico (XbK) that allows you to display various pages and you need to display their […]
If you’re trying to create a trigger in Google Tag Manager (GTM) that tracks a page with a hash (#) within the URL you […]
In Kentico 13, you can retrieve pages using DocumentHelper.GetDocuments and then generate a standard RSS feed based on the retrieved pages. The following code […]
In C# and Razor views (Kentico 12/13), you can escape special characters by using the Html.Raw() method or the @Html.Raw() helper in Razor syntax. […]
In Kentico 13, you can use the MultiDocumentQuery or DocumentQuery class to retrieve pages based on certain tags and categories. Using MultiDocumentQuery Replace “/YourPagePathHere/” […]
Displaying content based on a certain tag passed through a query string involves retrieving the tag value from the query string parameter and using […]