PHP

Creating a Block in concrete5

March 1, 2013 by

Creating a custom block in concrete5 is easy, but is often perceived as being difficult due to the many small steps involved. This article gives you a quick walkthrough of how to create your own simple contact block in concrete5.

Use SSL or TLS with SMTP in ZF2

February 28, 2013 by

If you wish to use a secure connection when sending e-mails via an SMTP server in Zend Framework 2, then this article shows you how to do this. The official documentation comes to no avail, but luckily the solution is extremely simple.

Clear Form Data in ZF2

February 24, 2013 by

Clearing a form’s data was easy and convenient in Zend Framework 1. Apparently it is not as easy in Zend Framework 2, so this article gives a few suggestions on how it can be accomplished.

Validate Single Form Elements in ZF2

February 6, 2013 by

Validating a single form element rather than an entire form can be useful in many situations. This task used to be very trivial in Zend Framework 1, but is slightly more complicated in Zend Framework 2. This article explains how to accomplish this in a fairly simple way.

Custom Zend Framework 2 View Helper

January 17, 2013 by

This article walks through how to create a view helper in Zend Framework 2. It is a step by step guide which will create a view helper used for building links to static resources that reside on a subdomain. This is particularly useful when using a Content Delivery Network (CDN).

Zend Framework 2 Event Manager

January 16, 2013 by

This article is meant as an introduction to Zend Framework 2’s event system. It begins by giving an introduction to the concepts of the event system and further discusses the event manager. Examples of how to attach event listeners and how to trigger events are also provided.

Using Transactions in concrete5

November 21, 2012 by

If you have been trying to use transactions in concrete5, then you might have been left wondering why on Earth it is not working. As it turns out, this functionality is not enabled by default. See why and how to enable it here, along with an example of how to use transactions in concrete5.