[symfony-users] Doctrine Admin Generator: javascript message localization
Hi, I'm using the i18n support in some modules based on the doctrine admin generator. I'm configuring some messages, but I can't find how to have localized javascript messages. When I click on the delete link in the list, a message box ask me for confirmation. But I need to translate the message Are you sure? with the i18n support in the current user language. How can I do this? Besides, are available some complete catalogs with standard symfony messages already translated? For example a messages.xml file already configured for some languages? Has the Symfony community a common repository with resources like this? Thank you in advance. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[symfony-users] doctrine admin generator: custom label and icon in object_actions
Hi, how can I customize label and icon in the object_actions of the doctrine admin generator? I would show an empty label with a custom icon, but I can't find the correct method to set the generator.yml. I tried label: or label: or icon: /mydir/myicon.png but no one with success. Can you help me? Thank you in advance --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[symfony-users] Jobeet (Doctrine) Day 20 The plugins: fields not shown
Hi, my Jobeet project works properly. I'm trying to convert it into plugin, but I'm having some problems. When I try to open a new/edit form to create/modify a job or category, the form shows only some fields (type, company logo and token) and raises the following error both in frontend/backend: - Catchable fatal error: Argument 1 passed to sfValidatorAnd::addValidator() must be an instance of sfValidatorBase, null given, called in [...] The error is raised in this code (line: $this-validatorSchema ['email'] = ): abstract class PluginJobeetJobForm extends BaseJobeetJobForm { public function setup() { $this-removeFields(); $this-validatorSchema['email'] = new sfValidatorAnd(array( $this-validatorSchema['email'], new sfValidatorEmail(), )); [...] I think this error is raised because most of the fields are not returned from the doctrine classes, so its validators are not created. Do you can help me? I think that the tutorial is clear, but this chapter doesn't explore the topic rather: I'm the only one to think this? Thank you in advance --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[symfony-users] Re: Joomla and Symfony compatibility?
On 20 Lug, 19:13, Eno symb...@gmail.com wrote: Have you guys looked at Sympal or SteerCMS? I'm spending my time to test some CMS plugin. I'm looking for a plugin compatible with Symfony 1.2. Besides if it is possible I prefer propel engine. Maybe I'm in error, but SteerCMS is written for Symfony 1.0 and isn't updated for many months. Sympal is in my to-do list, but it uses doctrine. I'm very surprised about the available CMS plugin: many of them are not updated for 1.2 version and haven't a stable or, at last, a release candidate version. Besides many plugin aren't well documented or have a bugged installation. I'm a beginner in Symfony and I'm having great difficulty to test some CMS plugin. I don't want to criticise the working community, this is just an observation by a neophyte. I didn't find complete documentation about DynamicCMS and I was not able to make it working. I tried W3StudioCMS, but the sandbox isn't working... Could you advise me about a good CMS plugin? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[symfony-users] Re: Joomla and Symfony compatibility?
On 17 Lug, 19:15, Rino Nucara rino.nuc...@gmail.com wrote: what I mean is the best thing is to use CMS+Symfony. Sorry but I disagree: the choice of using the framework alone or together with a CMS depends on the characteristics of the project. The capabilities of content management are not always sufficient to justify the use of a CMS. Besides, I think that the CMS availables in the community should be selected with accuracy and knowing their integration capability. In my opinion, Joomla isn't a good choice for the medium/big projects with an extensive customization. The CMS functionalities in my project, eg, are a small core compared to the other features, that should also interact with the content itself. In this case, I think that the best thing for my project is to use CMS +Symfony, and the CMS should not be Joomla: so I hope to be able to use one of the available CMS plugin for Symfony. But this is only my opinion, I do not want to denigrate the different opinions. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[symfony-users] Joomla and Symfony compatibility?
Hi! I'm an absolute beginner to symfony framework. I have business reasons (currently not solvable) for developing a project in joomla and a php framework. I chose Symfony. I tested the plugin sfJoomla15BridgePlugin, but it transforms a simple request to joomla in a NEW request sent to symfony (with curl functions). In my opinion this isn't a good choice because of the obvious problems of performance (threads, memory, etc.). So i'm looking for a new solution to develop with the two systems (Joomla-Symfony). I think that the only way to avoid a new request is calling manually the symfony environment from a joomla component with a require/include. Then, i should configure the routing rules in symfony to decode a joomla formatted get or, but i don't know the method, manually call the symfony environment in a similar way to the cakePHP functions HTML_cake::requestCakePHP (you can see this at ' http://www.gigapromoters.com/blog/2007/01/28/joining-powers- of-two- great-systems-joomla-and-cakephp/'). In both cases, i tested a simple require in a joomla component to include the symfony index.php (eventually renamed). This is my hard problem: a lot of error messages! Here the details: - joomla installed in my apache web root - symfony installed in my apache web root with index renamed - when the url has option=com_symfony joomla redirects control to a component that includes the symfony index renamed Here my tests: 1) i used a simple include or require 2) i called in sequence ob_start, include, ob_get_contents, ob_end_clean 3) I also tried to call directly the index symfony from the joomla index page (without using the joomla component) Here some error messages: -- - Strict standards: Non-static method JLoader::import() should not be called statically in C:\web\web_out\sfproject\web\libraries\joomla \import.php on line 29 - Strict standards: Non-static method JLoader::register() should not be called statically in C:\web\web_out\sfproject\web\libraries \loader.php on line 71 - Fatal error: Class 'JRequest' not found in C:\web\web_out\sfproject \web\libraries\joomla\import.php on line 33 - Strict standards: Non-static method JApplicationHelper::getPath() should not be called statically, assuming $this from incompatible context in C:\web\web_out\sfproject\web\libraries\joomla\application \co mponent\helper.php on line 168 - Strict standards: Non-static method JRequest::getCmd() should not be called statically, assuming $this from incompatible context in C:\web \web_out\sfproject\web\libraries\joomla\application\he lper.php on line 112 - Strict standards: Non-static method JApplicationHelper::_checkPath() should not be called statically, assuming $this from incompatible context in C:\web\web_out\sfproject\web\libraries\joomla\application \he lper.php on line 133 - Strict standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C: \web\web_out\sfproject\web\libraries\joomla\application\ap plication.php on line 384 -- and many others... You can tell me if I can solve these problems? Are Joomla and Symfony compatibles? Sorry for my bad english and for the long post. I hope everything is clear. Thanks in advance. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---