After some changes I was able to run the plugin. Here is my patch: diff -Nar -U 0 sfDynamicCMSPlugin-0.1.2/config/schema.yml sfDynamicCMSPlugin/config/schema.yml --- sfDynamicCMSPlugin-0.1.2/config/schema.yml 2008-03-25 12:53:01.000000000 +0300 +++ sfDynamicCMSPlugin/config/schema.yml 2008-03-26 02:06:24.000000000 +0300 @@ -51 +50,0 @@ - required: true diff -Nar -U 0 sfDynamicCMSPlugin-0.1.2/lib/model/plugin/ PluginsfDynamicCmsNodePeer.php sfDynamicCMSPlugin/lib/model/plugin/ PluginsfDynamicCmsNodePeer.php --- sfDynamicCMSPlugin-0.1.2/lib/model/plugin/ PluginsfDynamicCmsNodePeer.php 2008-03-25 12:53:01.000000000 +0300 +++ sfDynamicCMSPlugin/lib/model/plugin/ PluginsfDynamicCmsNodePeer.php 2008-03-26 02:06:24.000000000 +0300 @@ -21 +21 @@ - $c->add(self::TREE_PARENT,0); + $c->add(self::TREE_PARENT, null, Criteria::ISNULL); @@ -45 +45 @@ - $cton0 = $c->getNewCriterion(self::TREE_PARENT,0); + $cton0 = $c->getNewCriterion(self::TREE_PARENT, null, Criteria::ISNULL); diff -Nar -U 0 sfDynamicCMSPlugin-0.1.2/modules/sfDynamicCMSAdmin/ actions/actions.class.php sfDynamicCMSPlugin/modules/sfDynamicCMSAdmin/ actions/actions.class.php --- sfDynamicCMSPlugin-0.1.2/modules/sfDynamicCMSAdmin/actions/ actions.class.php 2008-03-25 12:53:01.000000000 +0300 +++ sfDynamicCMSPlugin/modules/sfDynamicCMSAdmin/actions/ actions.class.php 2008-03-26 02:06:24.000000000 +0300 @@ -324 +324 @@ - if ($node['page']=='none') $this->current_node->setPageId(0); + if ($node['page']=='none') $this->current_node- >setPageId(null);
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
