Johnny Code | Fear no code

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.

· · · · ·

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!

· · · · ·

Jul/10

9

My First Day Using Git On Windows 7

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.

·

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!

· · · · ·

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.

· · · ·

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.

· · · ·

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 [...]

· · · ·

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

**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 [...]

· · · · · · · · · ·

**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 [...]

· · ·

Older posts >>

Theme Design by devolux.nh2.me