Coding

Accessing Block Variables in concrete5

October 26, 2012 by

When developing blocks in concrete5, you will most likely store data related to each block instance, such as settings. This data can easily be retrieved from within the block’s controller or in the block’s view scripts.

Getting URL Parameters in concrete5

October 6, 2012 by

It is often useful or necessary to include parameters in URL addresses. Many people use one of PHP’s superglobals for this, but that is not a pretty approach. In this short article, you will learn a better solution while maintaining pretty URLs.

Module Based Forms Directory

September 1, 2012 by

Keeping form classes together in each module is the preferred way to store them, rather than in the library folder, for instance. Keeping the Zend Framework naming conventions in mind, this is a very easy task.

Adding Custom Variables to Zend Framework Forms

July 25, 2012 by

It is often necessary to add data to form elements from outside of the form. Examples of scenarios where this would be useful include data fetched from a data store or data saved in sessions. In this article, we will discuss two ways of doing this, one of which has several advantages over the other.