views:

362

answers:

1

Hey All,

I have been using symfony for a few weeks now and I am using the online help a lot but the "Definite Guide To Symfony" seems to be very outdated. For example, I want to use the form helper function like the select_tag() function or the ajax form_remote_tag() function. However, these dont seem to exist anymore and I can only find their names in the deprecatedhelpers file. Does anyone know how I can use these functions? or are there updated names for these that I can use in the newest version of symfony?

Thanks!

+1  A: 

There's no "Definitive Guide to symfony" in "documentation" section since 1.3/1.4 release. Because it really is outdated. If you are newcomer, you should use Practical symfony, The symfony Reference Book and More with symfony as a guide.

Next. You shouldn't use select_tag() — use symfony forms instead.

And finally, form_remote_tag() resides in sfProtoculous plugin. Just enable him in config/ProjectConfiguration.class.php (method setup()):

<?php
// ...skipped...
class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    // ...skip...
    $this->enablePlugins(array('sfProtoculousPlugin'));
    // ...skip...
  }

et voilà!

develop7
Thanks!Yes I am new to symfony. Could you give me a little more detail on how to active the sfProtoculous plugin? Do I need to download it first?
Daniel Hertz
I've just updated an answer
develop7
Thanks! You're awesome!
Daniel Hertz