By John Bubriski on October 17, 2011
Ever need to inject some custom validation into a BizForm? Check it: Below I’ve provided a method you can drop into your BizForm code behind, or the code behind of a BizForm clone. Then, call this method from an event handle for the OnBeforeValidate event. If Field A has a value this validation method forces [...]
Posted in Kentico, Programming | Tagged .NET Framework, ASP.NET, C#, Code, Kentico API Programming, Kentico BizForms, Kentico CMS |
By John Bubriski on October 13, 2011
I just wanted to let you know that I have 2 new pages on the site! There is a new Kentico Resources page that contains a short list of some important resources. Feel free to let me know about any others Also, there is a new Kentico Tips and Tricks page that contains… you guessed it! Tips and Tricks! [...]
Posted in Kentico, Programming | Tagged Kentico API Programming, Kentico CMS |
By John Bubriski on August 29, 2011
A little known feature in Kentico is the ability to have “Wildcard URL’s”. Wildcard URL’s are essentially the ability to route multiple URL’s to the same page. It’s similar to the routing features in ASP.NET MVC or ASP.NET 4.0. A Built In Example If you want to see a working example of Wildcard URL’s you [...]
Posted in Kentico, Programming | Tagged Kentico CMS, Mobile Site, URL Routing, WIlcard URLs |
By John Bubriski on April 19, 2011
In this article I’ll show you how to create a special type of BizForm that will allow each user to edit their specific form data over and over. When a user returns to a page that has the BizForm on it, their data will be automatically loaded from the BizForm table. This is a simple and easy way to store per user data, without mucking with the System Tables which aren’t intended to store this type of data. You also retain the benefits that a BizForm has over a System Table (A view of the data, Notifications, attachments, etc.)[...]
Posted in Kentico, Programming | Tagged .NET Framework, ASP.NET, C#, Code, Kentico API Programming, Kentico BizForms, Kentico CMS |
By John Bubriski on April 7, 2011
Did you know that you can create document type attributes that map to System Attributes? System Attributes are the fields that are inherent to all documents in Kentico, and are generally edited through the Properties tab in the CMS Desk (Some are not editable, and some are hidden entirely)[...]
Posted in Kentico, Programming | Tagged Kentico "Did You Know", Kentico CMS, Kentico Document Types, Kentico System Attributes |
By John Bubriski on December 3, 2010
Kentico is great but nobody is perfect! One small detail they’ve missed is a checkbox control that you can set to be “required”. By required I mean “You have to check this box”. After doing some Googling, I found this thread which confirmed my suspicion: http://devnet.kentico.com/Forums/f45/t17269/Making-a-Required-CheckBox-in-Alternative-Form.aspx?replyto=17359 “We have validators for empty values, which means that [...]
Posted in Kentico, Programming | Tagged .NET Framework, ASP.NET, C#, Code, Kentico API Programming, Kentico CMS |
By John Bubriski on July 18, 2010
Kentico has an email template feature that is used in many areas of the CMS. When a user registers, posts to the forum, or places an order in the E-Commerce system, they are sent an email from a predefined template that has been filled with their information. I’ll show you how easy it is to leverage this feature in your own code.
Posted in Kentico, Programming | Tagged .NET Framework, ASP.NET, C#, Code, Email Templates, Kentico API Programming |
By John Bubriski on July 16, 2010
A coworker of mine had a BizForm in Kentico that needed a dynamic URL Redirection after the form was submitted. Based on the page with the BizForm, the user would be redirected to a different thank you page. There are many reasons you could want dynamic thank you pages for a single form. For starters, it’s a lot easier to manage one set of data. Then there are the SEO benefits of having separate thank you pages. Don’t forget you might simply want different content, or another page/template entirely!
Posted in Kentico, Programming | Tagged .NET Framework, ASP.NET, C#, Code, Kentico API Programming, Kentico Macro Expressions |
By John Bubriski on June 24, 2010
A Forum Group in Kentico is the outer forum entity, and the Forums inside that Forum Group are the different areas where people actually post threads. It is a standard online forum configuration. Forum Groups can be stand alone, or belong to a Community Group. Using the API, we can create Forum Groups and Forums programmatically.
Posted in Kentico, Programming | Tagged .NET Framework, ASP.NET, C#, Code, Kentico API Programming |
By John Bubriski on June 23, 2010
While the community features of Kentico are good, there are some things that are lacking, one of which is a default group setup. So when an end user goes to your site and creates their own group, they have to manually create a Media Library. Our customer wanted the group to be fully configured upon creation, so I added some code to the group registration web part in order to do so.
Posted in Kentico, Programming | Tagged .NET Framework, ASP.NET, C#, Code, Kentico API Programming |