Coding and more – Concrete5, Flex, JavaScript

Archive for the ‘Concrete5’ Category

concrete5.7 – Custom Toolbar Button

concrete5 had an API to add a custom button to the inline editing toolbar. Here’s the article for the older 5.6 version: http://www.codeblog.ch/2012/04/concrete5-custom-toolbar-button/ In 5.7 a few things have changed. The idea is still the same, but you’ll have to use namespaces and loading classes is a bit different too. Here’s how to get access to […]

concrete5.7 upgrade packages

As you might have heard, a major release of concrete5 has been published. If you haven’t, here’s a list of things that have changed http://www.concrete5.org/documentation/background/version_history/5-7-0/. In this post, I’m going to look at the process of upgrading an existing package which worked for version 5.6. I’m doing this step by step to show to show […]

concrete5 – searching and cloning pages

In this short tutorial I’ll show you two different things. We’ll start with a simple example that explains one function of the PageList class and then another method you can use to duplicate a page. Searching for pages by an attribute with PageList The PageList class is very powerful, especially in combination with attributes. In […]

concrete5 class loader

If if worked with concrete5 before, you’ll probably have seen lots of Loader::model or Loader::helper. A few versions ago these calls were pretty hard to avoid and you had to use them rather often. The core still doesn’t have namespaces due to the fact that the development of concrete5 has started when PHP didn’t know […]

concrete5 – programmatically creating a page alias

in concrete5 you can create an alias if you want a page to appear at two different locations. If you look at the following site structure, you can see that we have two categories and two different services we’d like to offer. For whatever reason, we’d like to make sure that our main service shows […]

concrete5 – smart attribute/picture fetching through page hierarchy

In this article I’m going to explain a nice code that works with attribute. It’s something quite a few people are using but it never crossed my mind to write something about it until my friends from 100pro asked for it. Let’s start with a quick look at the problem we’re going to solve. Our […]

Getting started with Google App Engine for PHP and concrete5

You might have read or heard that Google added PHP as a supported language to their cloud hosting platform App Engine. The official documentation is available here and gives you a lot of information to get started: https://developers.google.com/appengine/docs/php/gettingstarted/. If you’re a returning visitors to this blog, you’ll probably have noticed that I often work with […]