Tag Archives: php

How to use a symfony 1 layout from a different directory

In symfony 1 it is possible to have different layouts for an application. But they all have to be put into the directory ‘myproject/apps/frontend/templates/’. But what if you want to use a layout from another location? Assume you make a … Continue reading

Posted in General, Layout, php, Tips and Tricks | Tagged , , , | Leave a comment

How to force symfony colors on windows with PuttyCyg?

Those of you who’re developing with symfony under windows will have noticed that, when running tasks in the command prompt, no colors are used. This is because the windows command prompt isn’t compatible with the color notation. Most of you … Continue reading

Posted in Framework, General, php, Symfony | Tagged , , , | 13 Comments

Interview: Stefan Koopmanschap

A few weeks ago I thought it might be cool to get some interesting guys, which are occupied with projects in PHP, interviewed. And guess what, we got on contact with Mr. Stefan Koopmanschap and he was kind enough to … Continue reading

Posted in General, Interview | Tagged , , , , | 1 Comment

new PHP meeting

PHPBelgium is pleased to announce our first meeting in Mons! Date:  24/06/2009 19:30 – 23:00 Location: ISIMs, Mons, Belgium The event will be recorded and available in live streaming on this url: www.isims.be/phpbelgium.html If this link wouldn’t work, more information … Continue reading

Posted in Events, General | Tagged , , , , | Leave a comment

Mantis in Eclipse with Mylyn

This is a post especially for those who use Mantis as a bug tracker software and Eclipse as development software. For our PHP and JAVA development we do all the programming in Eclipse and wouldn’t it be easy if Eclipse … Continue reading

Posted in General, Languages, php | Tagged , , , , | 6 Comments

TestFest 2009

Tomorrow on the 9th of may an event called ‘PHP TestFest 2009′ will take place in the offices of Combell. (visit the website) What is TestFest you ask? The TestFest is an event that aims at improving the code coverage … Continue reading

Posted in Events, General, php | Tagged , , , , , , | 1 Comment

Symfony Form: unsetAllFieldsExcept()

When creating forms in symfony which extends from a Base (ORM) class, you sometimes do not need all fields that Propel/Doctrine generates for you. If you want to remove them you have several ways to do so. 1. Unset the … Continue reading

Posted in General, php, Symfony | Tagged , , | 5 Comments

sfWidgetFormInputCheckbox unchecked bug

Ever tried to create a Symfony form with a check box input field, which by default should be unchecked ? No ? Well read on because it’s not that easy . This would be the code to print a check … Continue reading

Posted in General, php, Symfony | Tagged , , , | 13 Comments

A few helpful PHP date methods

For a lot of people dates in PHP are an issue, and the PHP functions aren’t sufficient enough to do all converts you need. Therefore you find a few easy PHP date conversion methods. Feel free to add your own … Continue reading

Posted in General, php, Symfony | Tagged , , , , | 8 Comments

PHP DOMDocument: Convert Array to Xml

Recently I start working on an export module to invoice applications. One of them uses a very simple xml structure (simple nodes without attributes etc.) and therefore I wanted to create this xml also in a very simple way: from … Continue reading

Posted in General, php | Tagged , , | 16 Comments