[symfony-users] Re: SfDT - Symfony Eclipse Plugin

2008-12-20 Thread Dmitry Nesteruk
Great work, thanks 2008/12/20 cokker cokker...@googlemail.com Hi list Some of you might already know that I'm working on a symfony eclipse plugin. See here: http://www.symfony-project.org/forum/index.php/t/16664/ Today I released the last new version for this year. I added a launch

[symfony-users] Catalog of opensource projects

2008-12-18 Thread Dmitry Nesteruk
Who want to uphold symfony, you can to confirm using symfony and rate it. https://www.ohloh.net/p/symfony --~--~-~--~~~---~--~~ 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] Re: enable a module in config.php for a specific application

2008-11-26 Thread Dmitry Nesteruk
Something like this if (sfConfig::get('sf_app') == 'frontend') { sfConfig::set('sf_enabled_modules', array_merge(sfConfig::get('sf_enabled_modules'), array('jouegagne'))); } I think it is will help you 2008/11/26 Lee Bolding [EMAIL PROTECTED] move that line into

[symfony-users] sfSearchPlugin and I18n

2008-11-12 Thread Dmitry Nesteruk
Is sfSearchPlugin supported I18n? How to populate a data on a different languages? I am using this $propelIdentifier = new xfPropelIdentifier('Product'); sfPropel::setDefaultCulture('ru'); $c = new Criteria();

[symfony-users] Re: Autoloading problem

2008-11-12 Thread Dmitry Nesteruk
Is it full path to this class? 2008/11/12 [EMAIL PROTECTED] [EMAIL PROTECTED] Hi folks, I have noticed the following autoload problem. I specified a class called MyTools in \lib\myTools.class.php - so it should be autoloaded anywhere in my application. But it's autoloaded only in actions

[symfony-users] Re: Using components

2008-11-12 Thread Dmitry Nesteruk
Each component related with some module, you can not create global component. 2008/11/12 [EMAIL PROTECTED] [EMAIL PROTECTED] Hi guys, I wonder if I can use component for a partial stored in apps\frontend \templates? If I can - where should the component be located?

[symfony-users] I18n and database (symfony 1.1.4)

2008-11-03 Thread Dmitry Nesteruk
I have problem with extracting strings from php files. I have added to factories.yml following configuration i18n: class: sfI18N param: source: MySQL database: mysql://[EMAIL PROTECTED]/sfshop debug:off untranslated_prefix: [T]

[symfony-users] Re: Problem with strange number showing after body

2008-10-03 Thread Dmitry Nesteruk
yes, I have same problem, But I did not solved this. I changed hosting and the problem was disappeared. 2008/10/3 Sid Bachtiar [EMAIL PROTECTED] Hi, I have this weird problem with a symfony website that I developed. It is symfony1.1. What's weird is that this problem only comes from

[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Dmitry Nesteruk
I have same problem, but I dont know how fix it 2008/9/11 Sid Bachtiar [EMAIL PROTECTED] Hi, I need to pass email in symfony url as parameter, for example: http://mysite.com/module/action/email/[EMAIL PROTECTED] But the dot before 'com' seems to be causing problem. How do I escape dot

[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Dmitry Nesteruk
yes, I get a 404 error. What should I change? Can you write some example? 2008/9/11 Eno [EMAIL PROTECTED] On Thu, 11 Sep 2008, Sid Bachtiar wrote: I need to pass email in symfony url as parameter, for example: http://mysite.com/module/action/email/[EMAIL PROTECTED] But the dot

[symfony-users] Re: Which IDE do you use?

2008-09-09 Thread Dmitry Nesteruk
Eclipse 2008/9/9 danielwinter [EMAIL PROTECTED] I love my PhpEd - SFTP sync, SSH terminals, code folding, (symfony) code insight, code templates (with hot-keys), debugging, profiling, code navigation and completion (even for HTML tags), integrated custom CHM help files Not the

[symfony-users] Re: Debugging site on the prod server

2008-09-09 Thread Dmitry Nesteruk
apache log and symfony log it is enough 2008/9/9 jukea [EMAIL PROTECTED] A bad thing indeed, but... In a perfect world, you would test on the development server, and deploy on the prod server when your code is bug free. However, for various reasons (ie: error while manually syncing the

[symfony-users] Re: Symfony 1.1 radiobutton

2008-08-30 Thread Dmitry Nesteruk
]['label']? Hope this helps Snake On 8月11日, 下午3時39分, Dmitry Nesteruk [EMAIL PROTECTED] wrote: How can I to separate choices in the radio button of form? I need form with next structure: [radio field] title some desciption [radio field2] title some desciption [radio

[symfony-users] Re: sfShop - open source platform for building e-commerce solution, based on symfony

2008-08-25 Thread Dmitry Nesteruk
82 Dmitry Nesteruk a écrit : I wrote the message about my effort some time ago http://www.symfony-project.org/forum/index.php/t/11968/ After some time I achieved some results. The result of my effort you can see there http://sfshop.dev-zp.com. Also if you want to see opened tickets

[symfony-users] Re: sfShop - open source platform for building e-commerce solution, based on symfony

2008-08-25 Thread Dmitry Nesteruk
Haskins-Vaughan [EMAIL PROTECTED] Hi Dmitry, Are you planning to or have you already released the code? I couldn't find it on the symfony plugins repository. I'm interested in taking a look. Cheers, Tom Dmitry Nesteruk wrote: I am working on supports different delivery and payment services

[symfony-users] Re: sfShop - open source platform for building e-commerce solution, based on symfony

2008-08-20 Thread Dmitry Nesteruk
Leonardo, in the feature I intend to create some plugins which might use without platform, I mean some code which can be use in other projects, like emailTemplate module. Eno, I will try to do that :) 2008/8/21 Eno [EMAIL PROTECTED] On Wed, 20 Aug 2008, Leonardo Diaz wrote: Congrats, for

[symfony-users] Admin generator in Symfony 1.1

2008-06-19 Thread Dmitry Nesteruk
Why symfony 1.1 is using old implementation which used symfony 1.0? Is exist new implementation for symfony 1.1? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Symfony 1.1DEV - Widget , default selected value

2008-06-17 Thread Dmitry Nesteruk
I am trying to found the solution set selected value for sfWidgetFormSelect. :) I did not found the solution yet. 2008/6/17 Joao [EMAIL PROTECTED]: For example $this-form = new FormXPTZ(); $this-form-setDefault('country','PT'); On Jun 17, 10:17 am, Joao [EMAIL PROTECTED]

[symfony-users] Re: sfWidgetFormSelect (selected value)

2008-06-14 Thread Dmitry Nesteruk
) * sfForm::setDefault(string $name, mixed $default) Kris On Jun 13, 6:55 am, Dmitry Nesteruk [EMAIL PROTECTED] wrote: How can I set selected value for sfWidgetFormSelect? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] sfWidgetFormSelect (selected value)

2008-06-13 Thread Dmitry Nesteruk
How can I set selected value for sfWidgetFormSelect? --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Symfony 1.1 embedForm

2008-06-04 Thread Dmitry Nesteruk
The correct binding is: $this-form-bind(array( 'journal[batch_id]' = $request-getParameter('journal[batch_id]'), 'journal[journaltype_id]' = $request-getParameter('journal[journaltype_id]'), 'journal[journalsubtype_id]' = $request- getParameter('journal[journalsubtype_id]'),

[symfony-users] Re: How to change the default upload directory ?

2008-05-29 Thread Dmitry Nesteruk
Try to set upload directory in the config/config.php Example: sfConfig::set('sf_upload_dir', '/home/sylver/workspace/sta/www/uploads'); You should create this directory before you will try to upload some file. 2008/5/29 Sylver [EMAIL PROTECTED]: Hello, i have installed my symfony project on

[symfony-users] Re: Impossible to us a class sf****

2008-05-21 Thread Dmitry Nesteruk
Replace sfMailValidator() on sfEmailValidator() 2008/5/21 Sylver [EMAIL PROTECTED]: Hello, i try to use a sfMailValidator, but : [code]Fatal error: Class 'sfMailValidator' not found in /home/simon/ workspace/sta/apps/frontend/modules/contact/actions/actions.class.php on line 18[/code]

[symfony-users] Bug in the sfValidatorChoice

2008-05-19 Thread Dmitry Nesteruk
I think you have some bug in the sfValidatorChoice. The validation don't passes, when the values and text of options are different. The function doClean of sfValidatorChoice should be: protected function doClean($value) { $choices = $this-getOption('choices'); if ($choices instanceof

[symfony-users] Re: Uploading files in symfony 1.1

2008-05-07 Thread Dmitry Nesteruk
yes, you can Example: - actions.class.php -- if ($this-form-isValid()) { $file = $this-form-getValue('photo'); $path = /tmp/file.; $extension = strtolower($file-getExtension($file- getOriginalExtension())); $file-save($path.$extension); }

[symfony-users] Re: Uploading files in symfony 1.1

2008-05-07 Thread Dmitry Nesteruk
Did you chose a file for upload? This field is required. 2008/5/7 Yohan 'rouKs' G. [EMAIL PROTECTED]: Don't work :( I've got this message : * Click browse and choose one of your photos to apear on your profile Dmitry Nesteruk wrote: yes, you can Example

[symfony-users] Independent plugins

2008-04-17 Thread Dmitry Nesteruk
I want have independent plugins in the my project. The project have many relations between different plugins now, and I want create possibility to turn them on/off . The project should still work fine when some plugin ise off and functionality related with this plugin is off too in the other

[symfony-users] Config-handler in the symfony 1.1

2008-04-16 Thread Dmitry Nesteruk
I created the file config_handlers.yml with following contents: config/assets.yml: class: AssetsConfigHandler The class AssetsConfigHandler: class AssetsConfigHandler extends sfYamlConfigHandler { public function execute($configFile) { $this-initialize(); $config =

[symfony-users] Symfony 1.1 embedForm

2008-04-11 Thread Dmitry Nesteruk
I have to form. The registration form and the address form. I am trying to embed this forms. $this-form = new sfsRegistrationForm(); $this-form-embedForm('address', new sfsAddressForm()); Both forms have own validation. I added bind $this-form-bind( array(

[symfony-users] Re: sfValidatorAnd

2008-04-10 Thread Dmitry Nesteruk
Thanks! it is works. 2008/4/10, Ian P. Christian [EMAIL PROTECTED]: Dmitry Nesteruk wrote: I have following code $validatorMobilePhone = new sfValidatorAnd( Dunno if this helps, but... sfValidatorAnd has a 2nd param that is the optoins, which most use as the 1st param

[symfony-users] Re: messages on the login and security modules...

2008-04-03 Thread Dmitry Nesteruk
use secure_module: secure // your secure module with message secure_action: index 2008/4/3, Bruno Reis [EMAIL PROTECTED]: Hi, when a user does not have acess he is redirected as configured in settings.yml: all: login_module: login login_action:

[symfony-users] Re: putting parameters in project/config/app.yml does not work

2008-01-10 Thread Dmitry Nesteruk
Can you show your app.yml and code when do you try get parameters from app.yml? 2008/1/10, Matthias N. [EMAIL PROTECTED]: Hi, I put an app.yml in my project/config dir. Getting parameters from that file works fine. But since I have this file there the parameters of myapp/config/app.yml are

[symfony-users] Re: Symfony talk in London - Feb 29th

2008-01-10 Thread Dmitry Nesteruk
We have ten developers in our company who use symfony in their everydays work. Our company is registered in Ukraine. We cooperate with one of the biggest companies in USA which operates on High Tech market of social networks. It would be great for leading developers of our company to attend the

[symfony-users] Re: Criteria Join with Composite PKs

2008-01-09 Thread Dmitry Nesteruk
1) Create schema with foreign key to table bar and you can get access to fields of table bar using following code: $foo-getBar()-getSomeFiled() 2) Try to use: $c-addJoin(foo::barA, bar::fooA, Criteria::LeftJoin); $c-addJoin(foo::barB, bar::fooB, Criteria::LeftJoin); and you get: SELECT * FROM

[symfony-users] Re: sfSimpleForumplugin - problem with topic adding

2008-01-08 Thread Dmitry Nesteruk
is working, but still I can't to get into the sfSimpleForumForumAdmin and sfSimpleForumCategoryAdmin sites. Should I generate it manually ? Sorry if it is a silly question, but I'm a newbie in the Symfony. MiloszeS On 4 Sty, 09:29, Dmitry Nesteruk [EMAIL PROTECTED] wrote: ok, try

[symfony-users] Re: sfSimpleForumplugin - problem with topic adding

2008-01-04 Thread Dmitry Nesteruk
command doesn't fill database with any data - database is empty after this step. My symfony version is 1.0.10 On 3 Sty, 23:13, Dmitry Nesteruk [EMAIL PROTECTED] wrote: 1. You should install sfGuardPlugin for your project. Please, read page 2. You should checkout sfSimpleForumPlugin

[symfony-users] Re: Newbie With Seg Faults

2008-01-03 Thread Dmitry Nesteruk
Please, try to execute symfony cc from command line 2008/1/3, AK [EMAIL PROTECTED]: Hello, I am new to symfony, but I am not new to Propel. I have an application that uses Propel already, and I am trying to port it to symfony. I copied my Propel files into lib/model. I set up a small

[symfony-users] Re: sfSimpleForumplugin - problem with topic adding

2008-01-03 Thread Dmitry Nesteruk
1. You should install sfGuardPlugin for your project. Please, read page 2. You should checkout sfSimpleForumPlugin from http://svn.symfony-project.com/plugins/sfSimpleForumPlugin/tags/0.6.5 2008/1/3, MiloszeS [EMAIL PROTECTED]: Hi all, few days ago, I've installed the sfSimpleForum plug in,