18
Using Kentico’s Email Templates in Custom Code
3 Comments · Posted by John Bubriski in Kentico, Programming
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.
.NET Framework · ASP.NET · C# · Code · Email Templates · Kentico API Programming
16
Adding Macro Expression support to Kentico Web Parts
2 Comments · Posted by John Bubriski in Kentico, Programming
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!
.NET Framework · ASP.NET · C# · Code · Kentico API Programming · Kentico Macro Expressions
I recently started a project for a client where I’ve been testing changes on my machines, then pushing bits of functionality to their QA server. To keep track of the changes I’m making to the system, and to be able to roll back to previous versions of my own code, I decided to try out Git as my source/version control system.
8
Introducing the Custom Settings Module for Kentico CMS
1 Comment · Posted by John Bubriski in Programming
Two weeks ago I was developing some custom functionality for Kentico CMS. I realized that my custom code had a lot of configurable settings (configuration settings). In the past, we’ve used the appSettings section of the web.config, but I’ve never liked it. Mainly, the appSettings section is unmanageable by non-technical users, although there are other reasons. So I decided to develop a custom module to store custom configuration settings right inside Kentico!
.NET Framework · ASP.NET · C# · Code · Kentico API Programming · Kentico Module Development
24
Using Kentico’s API to Programmatically Create Forum Groups and Forums
1 Comment · Posted by John Bubriski in Programming
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.
.NET Framework · ASP.NET · C# · Code · Kentico API Programming
23
Using Kentico’s API to Programmatically Create a Media Library
3 Comments · Posted by John Bubriski in Programming
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.
.NET Framework · ASP.NET · C# · Code · Kentico API Programming
9
Python 3 + PyGame, SQLite, and Travian: Tracking Historical Data and Multiple Servers
No comments · Posted by John Bubriski in Programming
So I’ve updated the script to add some useful features. Historical Data Now I attach a date field (and new primary key) to each row in each data dump so the data doesn’t get overridden each day. This way the data is tracked over time and we will be able run reports that show the [...]
Historical Data · Learning Python 3 · SQLite Development · Travian Add On Project · Using PyGame
3
Firefox (3.6.3) Strictly Renders Closing Comment Tags
No comments · Posted by John Bubriski in Programming
So a coworker of mine had an interesting problem where a content area was disappearing from a CMS we use. The issue happened in Firefox while Internet Explorer and Chrome were fine! How rare is that! It turns out that the issue was relating to a mistyped closing comment tag. Apparently Firefox correctly renders the [...]
No tags
2
Python 3 + PyGame, SQLite, and Travian: Generating the World Map
No comments · Posted by John Bubriski in Programming
**UPDATE** Oops, forgot to add a sample image of what the script generates. Added it now! Background In the last post I showed you how you could get the Travian game data, load it into SQLite, and then run some simple queries. Now, I will show you how to take that one step further and [...]
BMP · Images · JPEG · Learning Python 3 · PNG · Python Imaging Library · SQLite Development · TGA · Travian Add On Project · Using PyGame · Web Development with Firefox
1
Python 3, SQLite, and Travian: Working with Game Data
No comments · Posted by John Bubriski in Programming
**Update** If there was actually out there who read this and tried the code, it may not have worked properly with Python 3. I’ve updated the code against my installation of 3.12 and now it should be working fine. Somehow, I had an older version of Python installed that was running the code! Sorry about [...]
Learning Python 3 · SQLite Development · The Quick Python Book · Travian Add On Project
