How to Get sfContext in Symfony 1.4 form – Inject Your Dependency!

This is very unuseful to not having access to sfContext in the Symfony 1.4 forms for many reasons, for example to check whether user logged in or not or check user credentials and show/hide form widgets/validators. Continue reading How to Get sfContext in Symfony 1.4 form – Inject Your Dependency!

Symfony 1.4 skip sf_culture in URL for main language with overridden sfPatternRouting class

If you have i18n website and want to have language in the URL _BUT_ want to skip main language to be in the URL you need some custom solution.

Continue reading Symfony 1.4 skip sf_culture in URL for main language with overridden sfPatternRouting class