Hi, Everyone,

I spent some time to find this plugin namespace is not work properly.

need to fix two part.

1.  change the name for field

_commentForm.php

      <?php if (isset($namespace) && ($namespace != null)): ?>
        <?php echo input_hidden_tag('sf_comment_namespace',
$namespace) ?>
      <?php endif; ?>

to

      <?php if (isset($namespace) && ($namespace != null)): ?>
        <?php echo input_hidden_tag('sf_comment[namespace]',
$namespace) ?>
      <?php endif; ?>
2. add the following code at sfcommentingForm.class.php

    $this->validatorSchema->setOption('allow_extra_fields', true);
    $this->validatorSchema->setOption('filter_extra_fields', false);

Then, everything works well.

I hope this helpful for someone.

Cheer

Oliver
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to