Tuesday, March 30, 2010

JS Bin - Collaborative JavaScript Debugging

Great tool allows you to quickly test out and collaborate javascript development, kind of like pastebin for javascript

Saturday, May 16, 2009

Setting symfony web root dynamically

class ProjectConfiguration extends sfProjectConfiguration
{
public function setup()
{
$this->setWebDir($this->getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.basename($_SERVER['DOCUMENT_ROOT']));

//$this->enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin'));
$this->enableAllPluginsExcept(array('sfCompat10Plugin'));
}
}

Friday, October 10, 2008

Option "--theme" requires an argument

Getting this?

The execution of task "propel:generate-crud" failed.
- Option "--theme" requires an argument.
- Too many arguments ("propel:generate-crud app module class yourcustomtheme" given).

When running this?

symfony propel:generate-crud backend module class --non-atomic-actions --non-verbose-templates --theme=yourcustomtheme

Try:

symfony propel:generate-crud backend module class --non-atomic-actions --non-verbose-templates "--theme=yourcustomtheme"