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.
This article gives an introduction on how to use sessions in Zend Framework 2. As it turns out, it is actually very easy. Information on what happens behind the scenes is also provided, so if you are the kind of person who likes to know the details, then this article is also for you.
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.
If you need to check whether or not your concrete5 site is in edit mode, it is your lucky day; the code to do so is extremely simple.
If you are unsuccessfully attempting to install a block type together with a concrete5 package, then the cause may be a concrete5 flaw which is very hard to find and make sense of.
If you are getting an error like the the one in this article’s title, then you might already be very frustrated at this point. Luckily, while the problem is very hard to find, it is usually very easy to fix. In this article, we will tell you the most common reason why this error occurs.
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.
This article shows how to add foreign key constraints to concrete5 packages or blocks by using db.xml files or a package controller. Using foreign keys is important to help ensure data integrity in the database.
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.
Displaying the advanced TinyMCE editor in your concrete5 forms is very easy, but finding the documentation on how to do it is not so easy. In this short article, we will show you how to accomplish it with just a few lines of code.