Hi, Xavier Lacot

Thanks for your wonderful job.

I hope you can add the AJAX feature as optional at the plugin at
branch of  1.2.0


Thanks again.

Oliver


On Jul 18, 11:01 pm, happy oliver <happyoli...@gmail.com> wrote:
> 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