Using SignalR with Kentico

We recently used the new SignalR library with Kentico to create a realtime "wall" for the MS Society's new Micro-site, everyconnection.msconnection.org/wall. The library creates an asynchronous connection with the server, allowing the server to push changes to the client. SignalR's asynchronous connections allow us to create a user experience that is much more dynamic, and as such, quite a bit more engaging than a page that only updates when the site is refreshed.
0
Comments
2
Votes

Navigation Menu and Universal Viewer Webpart

Recently, I was tasked to help create multi-level main navigation within the master page of a website.  After a little investigation and finding that the CSS List Menu would not work for my implementation, I concluded that it would be the perfect opportunity to use either a Universal Viewer or a Universal Viewer with custom query; both of which I implemented with Hierarchical Transformations.

I. Universal Viewer

Add the Universal Viewer web part to your master page, set the appropriate content and content filtering properties (just as you would for a CMS Repeater) and then check the boxes for Load hierarchical data, Use default hierarchical order and make sure that the Hierarchical display mode is set to: Inner.  Select the 'OK' button and navigate to the Site Manager to define a new Hierarchical Transformation.

0
Comments
2
Votes

Document Retrieval Macro

With the introduction of the K# syntax in Kentico CMS version 6, the capability of macros has been greatly enhanced. Now, rather than returning simple strings, you can return objects and...

0
Comments
2
Votes

How to handle search result URLs for document types with no detail view

Have you ever clicked on a search result's URL only to see the framework of the site and a blank content area?     I recently encountered this with a site I was working on.  The...

0
Comments
2
Votes

Use own created WebPartField-Values as macros directly in a container

Sometimes It could be very usefull to use several values directly in a container.

Example: {%ContainerTitle%}
{%MyOwnValue%}

 

I made an small tutorial where we create a dynamic webpart or widget without editing any code of a default webpart in VisualStudio.

0
Comments
2
Votes

Multiple Websites and Robots.txt, no problem!

Well, I should have included a disclaimer that this developer tip requires the use of IIS 7 and the rewrite module. If you're unfamiliar with the rewrite module, you can find a brief introduction here.

I run into this problem when creating multiple websites within a single Kentico installation.  I had a tough time finding the right solution for my application. I did find a solution in the Kentico forums that suggested adding a robots.txt file as a file type in the CMS Desk and using custom url extensions. More details of this solution can be found here. But, I also found that if your website isn't running under Integrated Mode, using the custom url extensions gets a bit messy. Therefore, I decided to look further into using the rewrite module.

0
Comments
2
Votes

A more user (and developer) friendly FCKEditor

One of the selling points of a content management system has always been “If you can use Microsoft Word, you can maintain a website.” FCKEditor is one of the primary touch points customers will use to interact with your Kentico application and if it isn’t tuned properly you and your customer will get frustrated. Ideally we spend some time to educate the customer on basic HTML (which if you’re looking for training, DATA, Inc. has incredible online Kentico training) but in the end what they see on screen is what they expect. This WYSIWYG approach has to be balanced with well formed HTML.

Following are a few simple tweaks I’d recommend implementing before any site content is loaded.

1
Comments
2
Votes

User control setup in Kentico

Often times when adding custom controls to Kentico I will choose to use a plain user control over creating a new web part. The benefit of creating a web part is that you can allow the designer/content editor to set properties on your control from the design interface. If you do not require this ability it is simpler to add your user control using the "User control" web part located under the "General" section. All you need to do is set the virtual path to your user control (e.g. ~/Controls/MyControl.ascx). One thing you should add to any control/web part that executes code on load is a "StopProcessing" check.

2
Comments
2
Votes

Page:
 1   |   2   |   3   |   4