AW: [symfony-users] Re: best way to hide form fields in front_end based on credentials?

2010-12-22 Thread Christopher Schnell
Yes, that's what i do, too when the differences are more than 1 or 2 properties. Otherwise, redirects to different actions would be possible if differences are really big. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-

AW: [symfony-users] Starting with propel schemas

2010-10-22 Thread Christopher Schnell
Not sure if I understand you correct, but that is what the task does. It builds all classes. Doesn't matter if you change anything in your Schema at all, if the task is run, the classes are rebuilt. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com

AW: [symfony-users] Starting with propel schemas

2010-10-22 Thread Christopher Schnell
ah, sorry, I missed the *not* in ... the classes (model, form, filter) are not created. Can't help you with that then. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] Im Auftrag von Javier Garcia

AW: [symfony-users] Form Submition

2010-10-12 Thread Christopher Schnell
Hi, That is what user flashes are for. http://www.symfony-project.org/gentle-introduction/1_4/en/06-Inside-the-Controller-Layer#chapter_06_sub_flash_attributes Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-

AW: [symfony-users] Choosing the best JS toolkit plugin for RIA

2010-09-10 Thread Christopher Schnell
I use jQuery and jQueryUI for the most of my fancy stuff, too, but I think in comparison to extJS it lacks a really powerful datagrid. There are a few plugins for that, but i guess to transfer the lookfeel of a desktop app into the web, extJS is more suited than jQuery. Regards, Christopher.

AW: [symfony-users] Choosing the best JS toolkit plugin for RIA

2010-09-09 Thread Christopher Schnell
Hi, I havn't used any of these libraries, but AFAIK, Windows-Users can work very well with extJS. BTW. the TYPO3 CMS will use extJS in their next release for some backend features. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-

AW: [symfony-users] Removing a field from a form in an action

2010-09-08 Thread Christopher Schnell
hi, you could do something nasty like if(!$this-getUser()-hasAttribute('user')) $tempSchema=$this-form-getWidgetSchema(); unset($tempSchema ['mine']; $this-form-setWidgetSchema($tempSchema); } but this wouldn't be testable. better solution is

AW: [symfony-users] [symfony1.4] not sure how to make parent-child category structure in doctrine schema

2010-09-06 Thread Christopher Schnell
That's right, Nested Set is the way to go. Both Propel and Doctrine support them. Regards, Christopher. Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Arnold Ispan Gesendet: Sonntag, 5. September 2010 21:31 An: symfony-users@googlegroups.com Betreff:

AW: [symfony-users] File Download too big for memory

2010-09-02 Thread Christopher Schnell
why not store the file on the servers hd (/tmp) before delivering it? Regards, Christopher. Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Gareth McCumskey Gesendet: Donnerstag, 2. September 2010 09:43 An: symfony-users@googlegroups.com Betreff:

AW: [symfony-users] How to translate a text that contains p/p ?

2010-08-27 Thread Christopher Schnell
Hi, I guess you have a reason, but why not p ?php echo __('For security reasons...');? /p Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] Im Auftrag von Javier Garcia Gesendet: Freitag, 27. August 2010

AW: [symfony-users] Re: created_at gets deleted on edit

2010-08-24 Thread Christopher Schnell
a problem in Propel 1.5. I guess, it will be better to ask in the propel list then. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] Im Auftrag von Christopher Schnell Gesendet: Dienstag, 17

AW: [symfony-users] Application Desktop

2010-08-23 Thread Christopher Schnell
... Good luck From: Jochen Daum jdau...@gmail.com Sent: vendredi 20 août 2010 12:05 To: symfony-users@googlegroups.com Subject: Re: [symfony-users] Application Desktop Hi, On Fri, Aug 20, 2010 at 7:43 PM, Christopher Schnell christopher.schn

AW: [symfony-users] Application Desktop

2010-08-20 Thread Christopher Schnell
This would be also very interesting to me. What I like to know is: Is there a way to transfer a symfony app (online running on apache with MySQL) with small efford to a small local webserver distributed on cd with sqlite or something? has someone done such a thing already? Regards,

AW: [symfony-users] Re: Application Desktop

2010-08-20 Thread Christopher Schnell
The point is, to provide a webapplication (for example a browsable database/product catalogue) to a user without internet connection. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] Im Auftrag von Thor

AW: [symfony-users] sfGuardAuth: where is the page after login defined?

2010-08-19 Thread Christopher Schnell
On Thu, Aug 19, 2010 at 9:30 AM, Christopher Schnell christopher.schn...@mda.ch wrote: Hi, ist in the docs of sfGuardPlugin, check the paragraph Customize sfGuardAuth redirect handling Regards, Christopher -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com

AW: [symfony-users] Re: IS there any manual to correct unit test system for integrating with sfGuard auth symfony?

2010-08-19 Thread Christopher Schnell
You are talking about functional tests, but the original post was about unit tests. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] Im Auftrag von Massimiliano Arione Gesendet: Donnerstag, 19. August 2010

[symfony-users] AW: created_at gets deleted on edit

2010-08-18 Thread Christopher Schnell
, it will be better to ask in the propel list then. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] Im Auftrag von Christopher Schnell Gesendet: Dienstag, 17. August 2010 09:49 An: symfony-users@googlegroups.com Betreff

[symfony-users] created_at gets deleted on edit

2010-08-17 Thread Christopher Schnell
. Christopher Schnell MdA Business Communications AG Unterer Rheinweg 86 4057 Basel Schweiz Tel: +41 61 273 44 69 Fax: +41 61 273 44 68 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed

AW: [symfony-users] how can i make a functional Test with is Redirected To ?

2010-08-12 Thread Christopher Schnell
you can do it this way: ... with('response')-begin()- isRedirected()- followRedirect()- end()- with('request')-begin()- isParameter('module', 'myModule')- isParameter('action', 'myAction')- end(); Regards, Christopher. -Ursprüngliche Nachricht- Von:

AW: [symfony-users] Re: Frameworks CSS

2010-07-12 Thread Christopher Schnell
We mostly use the yaml css framework. http://www.yaml.de/en/home.html Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Serkan Koyuncu Gesendet: Montag, 12. Juli 2010 16:25 An:

AW: [symfony-users] i18n doesn't save

2010-07-06 Thread Christopher Schnell
Did you forget to include the hidden fields for the i18n forms into your main form? Try it with ?php echo $form ?, it should work. If you need to render your form fields separately, be sure to include ?php echo $form-renderHiddenFields() ? instead of just ?php echo $form['id] ? Hope that helps.

AW: [symfony-users] [symfony users] FCKEditor/CKEditor symfony 1.4

2010-06-21 Thread Christopher Schnell
Hi, Does it have to be FCKEditor? If TinyMCE is also an option, you could try with the sfFormExtraPlugin and the documentation at http://www.symfony-project.org/blog/2008/10/18/spice-up-your-forms-with-some -nice-widgets-and-validators Regards, Christopher. -Ursprüngliche Nachricht-

[symfony-users] Functional tests for Form validators?

2010-06-14 Thread Christopher Schnell
Hi all, As I am writing lots of functional tests these days, I was wondering if one should test the standard validators of a form. Let's say, we have a change Password form. This simple form with three fields would require lots of tests, for example . Is the current password

AW: [symfony-users] Re: Managing i18n content for frontend in the backend

2010-06-11 Thread Christopher Schnell
Gesendet: Donnerstag, 10. Juni 2010 10:10 An: symfony users Betreff: [symfony-users] Re: Managing i18n content for frontend in the backend I prefer codewise, but if you can show me also how it look in action, I don't mind :) On 9 čvn, 08:08, Christopher Schnell ty...@mda.ch wrote: Hi, you like

AW: [symfony-users] Re: Managing i18n content for frontend in the backend

2010-06-11 Thread Christopher Schnell
['code'][$i]); break; } } } return $title; } -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Christopher Schnell Gesendet: Freitag, 11. Juni 2010 11:29 An: symfony-users@googlegroups.com

AW: [symfony-users] Re: Managing i18n content for frontend in the backend

2010-06-09 Thread Christopher Schnell
, Christopher Schnell ty...@mda.ch wrote: Hi, I've done something like this, but with an AJAX approach. The user can select the language he wants to edit and the form adjusts to the selected language. Then I only have to validate that at least one language does exist and adjust the __toString

[symfony-users] Attributes in m:m relations with propel

2010-06-08 Thread Christopher Schnell
Hi, I've run into a problem today, maybe it is more propel than symfony related, but maybe someone here knows something to point me into the right direction. In my database schema, I have a m:m relation (Course:Language) which has an attribute price since the course in mandarin is more

AW: [symfony-users] Translation request

2010-06-07 Thread Christopher Schnell
Hi, in German, you would not say „Programmierers“ but „Programmierer“. This word lacks he plural-„s“. German has as many exceptions as French J Regards, Christopher. Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von ? Gesendet:

AW: [symfony-users] Re: save xml php

2010-04-09 Thread Christopher Schnell
...@gmail.com wrote: thnanks this is indeed what i'm searching for but i was wondering how i can set this headers so that the user can select by himself where the file will be downloaded greetings On 7 apr, 15:31, Christopher Schnell ty...@mda.ch wrote: You have to set

AW: [symfony-users] save xml php

2010-04-07 Thread Christopher Schnell
You have to set the http headers. Unfortunately I don't have an example at hand, but this should get you started. Don't forget to turn off layout. Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von

AW: [symfony-users] embeding form by ajax

2010-03-31 Thread Christopher Schnell
Not sure, if I understood correctly but maybe you are searching for something, I have done: I have an internationalized form and do not want to embed all i18n forms at the same time. So I added a small ajax form that allows user to select the language he wants to edit. By using a dropdown list,

[symfony-users] UPDATE in I18N Tables not working after Update to Symfony 1.3

2010-03-08 Thread Christopher Schnell
Hi all, I have a strange problem. My application was started with symfony 1.2 and currently I am migrating to 1.3/1.4. After updateing, the I18N values are not saved into the database anymore. Everything should be fine, at least it was with 1.2. The logs show no errors, but the strange thing

Re: [symfony-users] Identify the module in the referer URL.

2010-01-20 Thread Christopher Schnell
Don't Know if it is best practice, but I did it like this: store the actual Module in the Users Attributes. If the current module differs from the strored module, than you know the referring module and can store the new module. Regards, Christopher. Bruno Reis schrieb: Hi, I have a

Re: [symfony-users] Free opensource Symfony-friendly PHP IDE: NetBeans 6.8

2010-01-07 Thread Christopher Schnell
There is also a video tutorial at http://netbeans.org/kb/docs/php/symfony-screencast.html Regards, Christopher. P.S. I still can't believe there are so many of you NOT working with a decent IDE like Eclipse or Netbeans. FractalizeR schrieb: NetBeans 6.8 has built-in Symfony support. I have

Re: [symfony-users] Free opensource Symfony-friendly PHP IDE: NetBeans 6.8

2010-01-07 Thread Christopher Schnell
- Original Message - From: Christopher Schnell ty...@mda.ch To: symfony-users@googlegroups.com Sent: Thursday, January 7, 2010 10:44:13 AM GMT +02:00 Harare / Pretoria Subject: Re: [symfony-users] Free opensource Symfony-friendly PHP IDE: NetBeans 6.8 There is also a video tutorial at http

Re: [symfony-users] OT: Create PHPCod comments automatically

2009-12-17 Thread Christopher Schnell
NetBeans does that. all you have to do is to add /** above the method and press enter. It can also handle type-hinting. Regards, Christopher. Georg Gell schrieb: Hello list, just a quick OT post: I am looking for a way to auto add auto prefilled PHPDoc comments on my PHP files. For

Re: [symfony-users] What software use symfony to make wireframes?

2009-12-14 Thread Christopher Schnell
Hi, it is Mockups by Balsamiq Studios. I really like it myself and use it all the time when creating concepts for applications. www.balsamiq.com Regards, Christopher. porquero schrieb: Hi, I'm readind Jobeet tutorial and I see the wireframes and are very nice! So I would like to know

[symfony-users] Validator Equivalent to sfForm::useFields

2009-12-10 Thread Christopher Schnell
Hi all, me again. The useFields method is great. However, I was tempted to forget about unsetting validators when using the method. is there any equivalent planned like sfForm::useValidators(...)? That would be really useful, would it not? Regards, Christopher. -- You received this message

[symfony-users] How to use Filter Forms without Admin Generator?

2009-12-09 Thread Christopher Schnell
Hi all, I would like to use the Filter Forms in a frontend application without the admin generator. If i just use the filter form class in my action like $this-myFilter=new SomeFormFilter(); and echo it in the actions template, I get the form, but not the button to filter or to reset. I could

Re: [symfony-users] Re: How to use Filter Forms without Admin Generator?

2009-12-09 Thread Christopher Schnell
, there's no partials for you to include.. It's not a lot of work though. Daniel On Dec 9, 1:41 am, Christopher Schnell ty...@mda.ch wrote: Hi all, I would like to use the Filter Forms in a frontend application without the admin generator. If i just use the filter form class in my

[symfony-users] escaping_strategy in partials

2009-12-07 Thread Christopher Schnell
Hi, is there any way to remove escaping from a partial? The reason for my question is the following: In one of my projects, I am creating a datagrid with the JQuery Plugin jqgrid. jqgrid wants the data as JSON meaning something like var mydata=[{id:1,name:Doe}]... Now, I need almost the same

Re: [symfony-users] escaping_strategy in partials

2009-12-07 Thread Christopher Schnell
Yeah, I am great. Finding the solution 20 seconds after posting to the mailing list. For anyone interested: try ?php echo htmlspecialchars_decode(get_partial('myPartial',array('mydata'=$mydata)),ENT_QUOTES); ? regards, Christopher. Christopher Schnell schrieb: Hi, is there any way

Re: [symfony-users] Error 255 in Lime Unit Tests

2009-12-06 Thread Christopher Schnell
me towards an error in my test. Maybe, I should stick with PHPUnit. Regards, Christopher. Thomas Rabaix schrieb: run the test from php directly : php path_to_/yourTest.php On 4 déc. 2009, at 12:21, Christopher Schnell wrote: Hi all, I have an error, when running lime unit tests

[symfony-users] Error 255 in Lime Unit Tests

2009-12-04 Thread Christopher Schnell
Hi all, I have an error, when running lime unit tests with ./symfony test:unit One of my testfiles returns status 255 and thus failes. However, if I run the test only for the file (like ./symfony test:unit MyClass), all tests are made successfully and it look like everything went fine. I

Re: [symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread Christopher Schnell
He is talking about sfDoctrineGuardPlugin. Not sfDoctrinePlugin. Alexandre Salomé schrieb: sfDoctrinePlugin is bundled with symfony. Just enable it in your project configuration ;) 2009/12/2 wueb webmaster@gmail.com Thank you Daniel, i appreciate your help. I never used symfony

Re: [symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread Christopher Schnell
No, you can either 1-download package 2-extract to plugins folder in your Symfony Project, not the Symfony lib! or Install them directly via PEAR. If you get an error when using Pear, you should first check, that PEAR is running correctly. BTW, what error did you get, you never mentioned.

Re: [symfony-users] Re: sfDoctrineGuard Plugin uses deprecated Stuff

2009-12-01 Thread Christopher Schnell
: Christopher Schnell wrote: Hi all, I just upgraded a new project to 1.4 and ran the project:validate Task. It shows an error in sfDoctrineGuard Plugin, meaning that it is not ready for 1.4. The error reads as follows: 1. 7. Checking usage of array notation with a parameter

[symfony-users] sfDoctrineGuard Plugin uses deprecated Stuff

2009-11-30 Thread Christopher Schnell
Hi all, I just upgraded a new project to 1.4 and ran the project:validate Task. It shows an error in sfDoctrineGuard Plugin, meaning that it is not ready for 1.4. The error reads as follows: 1. 7. Checking usage of array notation with a parameter holder 2.

Re: [symfony-users] Re: sfDoctrineGuardPlugin errors with 1.3/1.4

2009-11-26 Thread Christopher Schnell
Any news on this one? will the plugin be packaged for 1.3/1.4 when they are released? Thanks, Christopher. ken schrieb: you might want to check this ticket http://www.doctrine-project.org/jira/browse/DC-271 On Nov 24, 2:20 pm, Alexandre SALOME alexandre.sal...@gmail.com wrote: I use