Archive for the ‘Symfony’ Category

How to remove the meta name=title element from Symfony 1.2 pages

Note: If you are using Symfony 1.0, follow these instructions instead.
A commenter from my prior post on this subject noted that those instructions only worked for Symfony 1.0 so I have updated the instructions to work for Symfony 1.2 (the current release as of this writing).

Basic Continuous Integration Server with Symfony and Hudson

This is the absolute minimal setup I was able to find to get a continuous integration server running for Symfony that would report a failed build if any of the project’s unit tests failed. I tried a couple different CI servers and Hudson seemed to be the best mix of easy to install, configure, and [...]

How to run a Symfony site without the .htaccess file

I recently wrote a tip about how to overcome issues when working with mod_rewrite, PHP_SELF, and configuration settings within the main server or virtual host context as is recommended in the Apache documentation on Per-directory Rewrites (scroll down to the notes). This post will explain the specific changes needed to do this for the Symfony [...]

How to remove the meta name=title element from Symfony pages

Note: If you are using Symfony 1.2, follow these instructions instead.
I came across a slight problem with how the Symfony framework outputs title tag data: it outputs it both to the title element as well as to the meta element with name=”title”. This duplicated data is not optimal and may be considered “spammy”.
In looking to [...]

Customizing a Symfony layout with property settings via slots

Ever wanted to have a layout in Symfony that allowed a template to pass it information about what to display in a more structured manner than slots allow? Well, here’s how to do it. You still need to use slots to avoid the caching issues described in http://trac.symfony-project.org/wiki/Symfony11LayoutUpgrade, but it is pretty easy to do [...]

Subscribe to RSS Feed Follow me on Twitter!