Re: [symfony-users] Customizable processes

2010-06-30 Thread Georg
I too would be very interested in a workflow engine/builder of some kind. Has anybody realised any part of this in a project? @Sebastien: Do you want to run all sub company custom processes in one symfony installation, or does each sub company receive their own installation? BR Georg Am

[symfony-users] $form->bind() should return the form object...

2010-07-01 Thread Georg
Hello, I think that the bind() method of the Form object should return the object to make it possible to chain methods, for my personal use of forms, this would make sense: if ($request->isMethod('POST') && $form->bind($request->getParameter('formvars'))->isValid()){ ... } else { ... } Because n

Re: [symfony-users] Need help with Doctrine migration

2010-07-13 Thread Georg
Hi Joe, for me this works really well: add the column to the table in schema.yml DO NOT ./symfony doctrine:build --all-classes BUT ./symfony doctrine:generate-migrations-diff AND NOW ./symfony doctrine:build --all-classes Now you should be able to run ./symfony doctrine:migrate BTW: Delete all o

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Georg
ng another test? I know, simple things, just to be sure... HTH Georg Am 26.07.2010 10:28, schrieb Lea Haensenberger: > Hi, > > I just tried that, it didn't change anything. > > On Jul 23, 1:16 am, Gustavo Adrian > wrote: >> Hi, >> >> Did you try to disable

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Georg
Do you have with_layout: true in your cache.yml? Am 26.07.2010 11:17, schrieb Lea Hänsenberger: > Hi Georg, > > Ok, I tried with disabling all the firefox addons, clearing the cache and > sending the cache headers in both the homepage action and the login action. I > encou

Re: [symfony-users] Re: caching problem in firefox

2010-07-26 Thread Georg
ou should should set clientLifeTime to 1 (nobody can login in less then one second ;-), check for yourself) This means the the client will always request the page again, and symfony serves if from it's cache as long as the user is not logged in (which I guess whas the intended behaviour by you)

Re: [symfony-users] Re: We are facing some issues with symfony backend.

2010-07-26 Thread Georg
#x27;'){ $this->nullablefield = null; } } HTH Georg Am 26.07.2010 12:54, schrieb brajesh: > Hi friends, > > I have generated backend by symfony. > Suppose i have a table in schema.yml > listing: > id: > type: char > name: > > Then i hav

Re: [symfony-users] Array Problems

2010-07-28 Thread Georg
??? foreach ($var as $val){ echo $val['email']; } Am 28.07.2010 17:08, schrieb Andro Fumero: > hello, > > can someone help me how to display the array below like > > ex. "so...@yahoo.com and some2.yahoo.com" > > Array ( [0] => Array ( [id] => 1 [email] => so...@yahoo.com ) >[1] =

Re: [symfony-users] Inconsistent syntax errors in cache files

2010-07-30 Thread Georg
cache files were written. Try to comment out the lines 365 and 366 (chmod, umask) in lib/vendor/symfony/lib/config/sfConfigCache.class.php, this helped in my case. HTH Georg Am 29.07.2010 18:07, schrieb Jonotron: > I've just started playing with Symfony 1.4.6 (after having worked with > 1.

[symfony-users] Unhappy: sending mails with layout

2010-08-18 Thread Georg
o put the email views in a plugin, and make them accessible from everywhere? I would have expected a plugin that makes this possible, but no. How are you doing it, where do you put the presentation layers of your emails? Georg -- If you want to report a vulnerability issue on symfony, pl

Re: [symfony-users] Unhappy: sending mails with layout

2010-08-19 Thread Georg
Please? Am 18.08.2010 15:22, schrieb Georg: > Hello, > > I am confused. I would like to send emails with layout and template from > any place in my project, application or task. > Reading the docs > (http://www.symfony-project.org/more-with-symfony/1_4/en/04-Emails), it >

Re: [symfony-users] How to set a field with the id of the doctrine object in the saving process

2010-08-19 Thread Georg
Why don't you give it just a random name? Am 19.08.2010 21:55, schrieb Alexis Sanchez: > Hi! > > I have a doctrine model like this: > > Asset: > columns: > filename: { type: string(255), notnull: false, unique: true } > filesize: { type: integer, notnull: true } > > In the saving proc

Re: [symfony-users] Re: Unhappy: sending mails with layout

2010-08-23 Thread Georg
Hello, I created a plugin with this functionality (http://www.symfony-project.org/plugins/ggEmailPlugin). I am using it in a live project, and it works well in my settings. If you have time please give it a try and report any issues you may find. Georg Am 19.08.2010 23:18, schrieb Antoine S

Re: [symfony-users] setCookie with a different domain

2010-08-26 Thread Georg
AFAIK for security reasons, you cannot set cookies for another domain. Sub domains of your own domain are possible. Am 26.08.2010 03:53, schrieb Mariano Sola: > Hi all, how is it going? > > I'd like to ask you how can I set a domain that is not the same the > setCookie method is invoked in order

Re: [symfony-users] Using 'IN' in a subquery with doctrine

2010-08-26 Thread Georg
try whereIn('f.id', array(1,7,8,9)) Am 26.08.2010 11:12, schrieb Sebastien Armand [Pink]: > 'IN' being one of the worst possible keyword to search online ever, I > found nothing interesting to solve my problem, so here it goes: > > My query should look something like this: > > Doctrine_Query::cr

Re: [symfony-users] Using 'IN' in a subquery with doctrine

2010-08-26 Thread Georg
t; So the only solution I found from there was to go through that whole > array and build an array where I only have the furniture ids for my > second request. > > Still I don't like that solution in that: > - I have to query the DB 2 times instead of using a subquery > - I ha

Re: [symfony-users] Using 'IN' in a subquery with doctrine

2010-08-26 Thread Georg
t; > The solution you just described here works, but as you said it's an ugly > cheat (still looking better than the one I'm currently using though!) > > 2010/8/27 Georg mailto:geor...@have2.com>> > > Actually I do not understant what you want to

[symfony-users] Need ideas: weird doctrine problem

2010-10-06 Thread Georg
se let me now, this is driving me crazy. Or maybe this is a side effect of something else, but what??? Georg -- 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 to the Google Groups "

Re: [symfony-users] Need ideas: weird doctrine problem

2010-10-06 Thread Georg
: false, default: null, name: "d1_binary_reading_id as d1" } relations: BinaryReadingD1: { class: LocalBinaryReading, local: d1_binary_reading_id, foreign: id, onDelete: RESTRICT } _ is correct. Am 06.10.2010 10:49, schrieb Georg: > Hi, > > I have a wei

Re: [symfony-users] distinguishing between task and web request

2010-10-13 Thread Georg
execute sfContext::createInstance($this->configuration); in the task as the first line in execute(). I have always wondered why this is not done by default in tasks... Am 13.10.2010 11:08, schrieb axel at: > hello, > > I need to distinguish if a model function was called within a web > request

Re: [symfony-users] HTTPS/SSL standard in 1.4

2010-10-15 Thread Georg
Actually it is in the 1.4 docs, see http://www.symfony-project.org/gentle-introduction/1_4/en/06-Inside-the-Controller-Layer Listing 6-33 I admit it's hard to find, it seems google does not index 1.4 docs :-( Am 15.10.2010 02:07, schrieb JamesD: > Hello, > > First off I'd like to commend everyon

Re: [symfony-users] Remove column through schema.yml (Doctrine)

2010-10-21 Thread Georg
Obviously, if you want to remove a column, you have to *remove* it from the scheam.yml file (just delete it) ;-) Am 21.10.2010 15:39, schrieb Thomas Ohms: > Hi all, > > after searching for over an hour I just ask, what seems not to be > asked before: > I I like to remove a column from a schema (p

Re: [symfony-users] [Symfony 2] Binding object and data without a form?

2010-11-23 Thread Georg
Hi, I use the form component for js forms also for data validation, but not (obviously) for form display. Why don't you just set up a form (or even better, let doctrine generate it for you) and just use it for validating the request only? Georg Am 21.11.2010 17:37, schrieb Gustavo Adrian:

Re: [symfony-users] How do I explicitly specify Doctrine connection name when connecting to multiple DBs using Symfony 1.4.8 / Doctrine 1.2?

2010-12-16 Thread Georg
This works for me. I can use tables from all databases in one action. Are you sure that the class is bound to the correct database? Am 16.12.2010 21:43, schrieb dmitrypol: > I am using Symfony 1.4.8 / Doctrine 1.2 to connect to multiple DBs. > In my_project_name/config/databases.yml I created conn

Re: [symfony-users] How to populate a non-view template and return as text?

2011-01-09 Thread Georg
http://www.symfony-project.org/plugins/ggEmailPlugin Am 09.01.2011 22:23, schrieb Eric B: > Hi, > > Given that Symfony is built around templates, I am trying to figure out > how I can leverage the power of the templates for other things, such as > emails. For example, I would like to write up my

Re: [symfony-users] Relationships and i18n

2011-02-19 Thread Georg
Do you use multiple database connections? I had this problem once in this configuration, and I only found an ugly solution. Am 17.02.2011 18:43, schrieb Paolo Niccolò Giubelli: > Hi! > > I have the following schema: > > > > Category: > > actAs: > > Timestampable: ~ > > I18n: >

Re: [symfony-users] Re: Doctrine version classes

2011-02-22 Thread Georg
Be careful with the generateFiles option. This regenerates the files on *each* usage of the model class (see the change time of the generated file after a usage). And this creates serious troubles with APC, because APC always re-caches the file, and this leads to have cache fragmentation, and possi

[symfony-users] cannot load i18n helper in layout when redirected to login by sfDoctrineGuradPlugin

2011-03-18 Thread Georg
the login page. But in this context the autoloader does not find the i18n helper, and an exception is raised. No chance to login :-( How to proceed in this case? Georg -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

Re: [symfony-users] cannot load i18n helper in layout when redirected to login by sfDoctrineGuradPlugin

2011-03-19 Thread Georg
Am 18.03.2011 23:13, schrieb Francesco Levorato: > On Fri, Mar 18, 2011 at 11:06 PM, Georg wrote: >> How to proceed in this case? > > Hi Georg, > if you use the __() everywhere you may as well always include it in > the configuration. > See > http://www.symfony-proj

Re: [symfony-users][Symfony2]Multiple routes in annotations

2011-03-26 Thread georg
Hi, has this been solved or has a solution been found? I'm also very interested in achieving the same thing as Mark. thanks georg -- 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 subsc

[symfony-users] [Symfony2] PR8: Custom roles for access control

2011-03-28 Thread georg
every request. If I change use the prefix in my custom roles then everything works as expected. So, is this a bug or are the docs not up to date? Or is there even an option to configure the behavior? regards georg -- If you want to report a vulnerability issue on symfony, please send it to sec

Re: [symfony-users] [Symfony2] FrameworkExtraBundle

2011-03-29 Thread georg
This functionality is already bulit-in: _acmedemo_annotated_routes: resource: @AcmeDemo/Controller type: annotation -- 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 to the G

[symfony-users] Re: [symfony2]authentication with email

2011-04-01 Thread georg
You just change the return value of getUsername(). Instead of returning the user's name you return its email address public function getUsername() { return $this->email; } -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

Re: [symfony-users] doctrine:build-sql looking at stale (?) version of schema.yml

2011-04-12 Thread Georg
AFAIK it mixes the model class files and schema.yml when building SQL. Try running doctrine:build --all-classes before doctrine:build-sql Am 13.04.2011 01:40, schrieb OnDistantShores: > I've been making some changes to my DB schema, so I updated my > schema.yml file. However, when I go to run "./s

Re: [symfony-users] How to conditionally enable plugins in Symfony 1.4

2011-04-21 Thread Georg
I do it in the setup() method of ProjectConfiguration: if (isset($this->environment) && $this->environment == 'dev') { $plugins[] = 'sfFirePHPPlugin'; } Am 21.04.2011 16:59, schrieb codecowboy: > Hi, > > I would like to programatically enable plugins for a Symfony 1.4 app > based on the cur

Re: [symfony-users] Any chance of creating a new Google group for Symfony2 only?

2011-05-17 Thread Georg
+1 Am 16.05.2011 19:15, schrieb keymaster: > Having all the symfony 1.x releases mixed in with Symfony 2 posts can > sometimes make it difficult to discern which Symfony people are talking > about in their posts. > > Not everyone is explicit on whether they are referring to Symfony1 or > Symfony2

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-10 Thread Georg
above, I don't feel they have a lot together. Regards Georg Am 10.06.2011 07:24, schrieb Fabien Potencier: > On 6/9/11 10:17 PM, Chris Sedlmayr wrote: >> Hi all, >> >> I don't think we are against the idea of creating a Symfony2 specific >> group, but we

Re: [symfony-users] Re: how to prevent save in preInsert?

2010-05-29 Thread Georg Gell
add this to each form's configure() method, that you want to have flood protected (I expect that you want to protect this way (form) of entering data from flooding, and not the model itself): $this->validatorSchema->setPostValidator(new CombValidator(null, array(), array('invalid' => 'Flooding is

[symfony-users] Can't get Doctrine Nested Set on an aliased multi root column to work

2009-08-31 Thread Georg Gell
#x27; in 'field list' Doctrine_Connection->exec('INSERT INTO album (path, clientid, image_size, thumbnail_size, priceset_id, lft, rgt, level) VALUES (?, ?, ?, ?, ?, ?, ?, ?)', array('/', 1, 600, 150, 1, '1', '2', 0)) Her

[symfony-users] How can I set a different base class for each Doctrine record?

2009-09-04 Thread Georg Gell
client in a multi client system. Is there a way to define a different base class for the base table class for each table? Thanks in advance for your help Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sy

[symfony-users] Insert custom styles in template

2009-09-18 Thread Georg Gell
. I could create a helper for that, and use it in layout.php, but what information is available to this helper during the time it is used? Probably nothing from the action? Any ideas? Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: Insert custom styles in template

2009-09-18 Thread Georg Gell
ically for each request, so this css would have to be it's own action. I would like to avoid the overhead to create the action and add another request from the browser that slows down the page load. at 2 c) same reason like 1, I can't put anything in <head> from the template. Geo

[symfony-users] Re: Insert custom styles in template

2009-09-18 Thread Georg Gell
e') ?> in layout.php 2.) I can use a slot 3.) I can define another layout file in view.yml for the module (at least I think). Which of these options is best performance wise, how do they affect caching? Georg Casey schrieb: > Maybe you could use a filter or the preExecute method

[symfony-users] Re: Insert custom styles in template

2009-09-21 Thread Georg Gell
Right, thank you Davide Borsatto schrieb: > Slots are the solution to your problem, read about them in the docs > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-25 Thread Georg Gell
to the index in the middle, and add the whole navigation on top also (last chapter, index, next chapter). Also maybe there would be an option to automatically create a link for chapter ## in the docs? I think most of the suggestions are implemented quite quickly and would help me a lot. Anyone el

[symfony-users] Re: if (condition): endif: not working

2009-10-06 Thread Georg Gell
Guessing: you have short_open_tag=1 in php.ini on your pc, but short_open_tag=0 on your laptop. Avani schrieb: > Below is my code > > > > 345: > 346:347: > if($show_left_sliding_men

[symfony-users] culture aware sfValidatorNumber, what are you using?

2009-10-07 Thread Georg Gell
://trac.symfony-project.org/ticket/4071), but obviously nothing happened. What are you doing in this case? Has anybody a culture aware sfValidatorNumber class? Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony

[symfony-users] use renderPartial in a filer

2009-10-23 Thread Georg Gell
Hi, afaik renderPartial is a method of the action. How can I call it in a filter? Probably through the action stack, but I am too tired to search through the docs again. Is it it fifo or filo? TIA Georg --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Doctrine:data-load error: which table, which field, which value???

2009-11-02 Thread Georg Gell
1062 Duplicate entry '1' for key 1" This does not help me, because I have no idea what the problem could be. I tried to run symfony with -t option, but this does not help. How can I find out in which table, in which field and which value should be inserted, when the error occured? Tha

[symfony-users] Re: Doctrine:data-load error: which table, which field, which value???

2009-11-02 Thread Georg Gell
Sorry, forgot to mention that I am using Doctrine. I am going to upgrade to symfony 1.3 today, if you can send me your patch I would be grateful. Thanks Georg David Ashwood schrieb: > Assuming you're using Doctrine - which version of symfony are you using? > I have a small patch f

[symfony-users] Re: non ascii chars in Fixtures files

2009-11-06 Thread Georg Gell
Did you save the fixtures file in UTF8? cosmy schrieb: > Hi all, > do you know a method to load fixtures data without losing chars like > àèìòù and others? > It exchanges them with a question mark during the data-load. > > thank you in advance > > > --~--~-~--~~~-

[symfony-users] Doctrine nestedSet delete with application level cascade

2009-11-09 Thread Georg Gell
Is there a way to have a table with the nestedSet behaviour cascade it's delete on the application level (like cascade: [delete]? I have a file for each record in the file system that I would like to delete also. Georg --~--~-~--~~~---~--~~ You received

[symfony-users] Doctrine behaviour adds field, how to get rid of it's validator in auto generated forms in sf 1.3?

2009-11-11 Thread Georg Gell
idea how What is the best approach for this in Symfony 1.3 aka Doctrine 1.2? TIA Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-

[symfony-users] difficulties with doctrine:data-dump in sf1.4

2009-11-23 Thread Georg Gell
in a task? Then it could deactivate itself? Thanks Georg -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to sy

[symfony-users] Where to put the logic?

2009-11-30 Thread Georg Gell
this? Is there a way in doctrine to switch of all pre/post save code for data-load? Georg -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this g

[symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-03 Thread Georg Gell
Hi, the following tokens can be found in the autogenerated base model classes in sf 1.4. * @package##PACKAGE## * @subpackage ##SUBPACKAGE## * @author ##NAME## <##EMAIL##> Is there a way to replace them by real values? Or are they placeholders for future use? TIA Georg -

Re: [symfony-users] Where to put the logic?

2009-12-03 Thread Georg Gell
ldump, just dump and load sql data, which I expected by the name (data-dump and data-load)? I am forced to go along the controller/form solution, because for the test cases I need fresh data in the db, and mysqldump is not an option is this case. But this feels wrong. Georg Bernhard Schussek sc

Re: [symfony-users] Where to put the logic?

2009-12-03 Thread Georg Gell
to be registered in the project config. And there it would be triggered by the doctrine:data-load task again (resulting in double users, see my other post) Georg Stéphane schrieb: > The controller isn't responsible for application logic. > It must be in your model (if you can...). &g

Re: [symfony-users] Where to put the logic?

2009-12-04 Thread Georg Gell
the business logic. IMO this would add controller logic in the model, but if I could identify the doctrine:data-load task, this would be my preferred approach. * To have an argument for the doctrine:data-load task, not to trigger the doctrine events. * Did I miss something obvious? Thanks for reading u

[symfony-users] check in model class if it is used from doctrine:data-load task

2009-12-04 Thread Georg Gell
/do some wild things that don't need to be done for each reload } } } Thanks a lot Georg -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this

Re: [symfony-users] check in model class if it is used from doctrine:data-load task

2009-12-07 Thread Georg Gell
Hi, interesting approach, thanks, I would never have thought of this :-/ Is there a way to implement the creation of the fictive is_import column automatically in the dump when doing the task doctrine:data-dump? Georg Alexandre Salomé schrieb: > You shouldn't handle the question l

Re: [symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-07 Thread Georg Gell
Yes, svn update, symfony doctrine:build --all-classes and it is working out of the box. Thanks a lot for your work. Just out of curiosity, what is the reason why ##EMAIL## is not parsed out of properties.ini, or rather not at all ATM? Georg Jonathan Wage schrieb: > This is fixed now in SVN

Re: [symfony-users] token ##PACKAGE## in sf1.4 base model classes should be replaced by?

2009-12-07 Thread Georg Gell
Oh, I thought that I could just edit properties.ini and append a line with email:john@example.com, I didn't know that the possible settings are predefined. Thanks for the explanation Georg Jonathan Wage schrieb: > I don't think properties.ini has an e-mail property? I am n

[symfony-users] problem with functional test for upload

2009-12-11 Thread Georg Gell
s the absolute path to the file to upload." which either I don't understand or doesn't work. Has anyone done file uploads in a functional test, and how? Thanks Georg my functional test: __ $in2 = array('path' => '/path', 'm

Re: [symfony-users] problem with functional test for upload

2009-12-11 Thread Georg Gell
is not a file, but a path. The real problem is the second test, where the sfFileValidator complains about the missing file. Georg Am 11.12.2009 13:36, schrieb Alexandru-Emil Lupu: > Check your > IsParameter('file','') > The test expects no file but you send one... so

[symfony-users] OT: Create PHPCod comments automatically

2009-12-17 Thread Georg Gell
Me * @param $var * @return * */ Even better if the content of the created PHPDocs could be configured. I was using PHPEdit once, and this IDE had that kind of functionality, but I am missing it in Netbeans. How do you add those PHPDocs? Thanks Georg -- You received this message because you are

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

2009-12-17 Thread Georg Gell
Cool! Thanks Georg Am 17.12.2009 09:45, schrieb 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,

[symfony-users] admin generator, change redirect target after create/update

2009-12-19 Thread Georg Gell
(40 lines DoRY). Thanks Georg -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroup

Re: [symfony-users] admin generator, change redirect target after create/update

2009-12-20 Thread Georg Gell
Hi, no, this will not work, because I want to change the redirect after the form has been successfully processed, which means no exception to catch. Georg Am 19.12.2009 22:54, schrieb Alexandre Salomé: > Hi, > > You can wrap the function in a try...catch block and do y

Re: [symfony-users] Development infrastructure

2009-12-20 Thread Georg Gell
rk, i have attached patches. The first removes a warning by php, that it cannot chmod on remote filesystems. The other doesn't create symlinks, but copies the directories, which is the normal behaviour for windows. Now symfony tasks behave the same way in windows and ubuntu environment, afaik.

Re: [symfony-users] admin generator, change redirect target after create/update

2009-12-21 Thread Georg Gell
question is "can we over-redirect" ? > > > 2009/12/20 Georg Gell mailto:geor...@have2.com>> > > Hi, > > no, this will not work, because I want to change the redirect after the > form has been successfully processed, which means no exception to

Re: [symfony-users] Offbeat: open source vs closed source technologies

2010-01-08 Thread Georg Gell
Hi, Am 08.01.2010 09:46, schrieb Parijat Kalia: > Hey guys, > > Just lighting up everyone's day, would like to get as many as possible > arguments on this. Me and a friend of mine, had a debate last evening, > about open source(PHP) vs closed source technologies(DOT NET).He raised > the following

Re: [symfony-users] Offbeat: open source vs closed source technologies

2010-01-08 Thread Georg Gell
Am 08.01.2010 15:20, schrieb Lee Bolding: > > On 8 Jan 2010, at 13:43, Eno wrote: > >> On Fri, 8 Jan 2010, Lee Bolding wrote: >> >>> The whole IIS/windows server licensing issue is also beginning to >>> disappear - if you want a well supported, enterprise grade, stable and >>> scalable PHP

Re: [symfony-users] sfDoctrineGuard is killing me

2010-01-11 Thread Georg Gell
probably the key name is too long. Try if this works: ALTER TABLE sf_guard_group_permission ADD CONSTRAINT g FOREIGN KEY (permission_id) REFERENCES sf_guard_permission(id) Am 11.01.2010 07:54, schrieb Mike Church: > Hi Folks: > > I have been trying to deploy, I have everything working right l

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Georg Gell
, schrieb Mike Church: > > > On Jan 11, 12:30 pm, Georg Gell wrote: >> probably the key name is too long. Try if this works: >> ALTER TABLE sf_guard_group_permission ADD CONSTRAINT >> g FOREIGN KEY (permission_id) REFERENCES sf_guard_permission(id) >> >> A

Re: [symfony-users] URGENT: default_messages translation

2010-01-20 Thread Georg Gell
Am 19.01.2010 14:40, schrieb diogobaeder: > Hi, guys, > > I've posted this one: > http://groups.google.com/group/symfony-users/browse_thread/thread/5432958e71a54747/76035d6987e00ad8?lnk=gst&q=diogobaeder#76035d6987e00ad8 > > But I haven't found a solution, yet. The problem is, I have to deliver >

Re: [symfony-users] No content

2010-01-21 Thread Georg Gell
This happens sometimes when you have a fatal php error in the template (or a method called from the template) Am 21.01.2010 17:24, schrieb Pax95: > I've installed a project in my local server - WampServer and it works > successfully. I added test content and uploaded it into server > (www.linuxpl.

Re: [symfony-users] Slow template rendering

2010-01-28 Thread Georg Gell
e::HYDRATE_SCALAR); } and in the template: getUserListAsArray() as $user){ echo << {$user['firstname']} {$user['lastname']} EOT; } ?> Does this solve your speed problem? Georg Am 27.01.2010 19:58, schrieb axel at: > hello list, > > symfony seems

Re: [symfony-users] Symfony License issue

2010-03-15 Thread Georg Gell
Hi, checkout symfony and execute >find . -name 'LICENSE*' in it's folder. Am 13.03.2010 10:29, schrieb Avinash: > Hi There, > > I am not sure if this is right place, but I need to clear my doubt > that if i can create a symfony based product for selling instances to > clients without paying to a

Re: [symfony-users] a question about routing framework :P

2010-04-01 Thread Georg Gell
try to put something like this in routing.yml auckland: options: { segment_separators: [/, ., -] } Am 01.04.2010 08:39, schrieb Lee Joseph: > as I know routing framework in symfony which separates url information > with slash '/' or dot '.' like > > some_route: > url: /:module/:actions/:i

Re: [symfony-users] Templates in a single directory

2010-05-17 Thread Georg Gell
It might be worth looking into using your own view class: something along class myView extends sfPHPView { public function setDirectory($directory){ $this->directory = $directory . '/theme'; //whatever, must be full path } } and in filters.yml rendering: class: myView But then caching

[symfony-users] Re: Symfony coders needed / symfony e-commerse module...

2007-09-25 Thread Georg Gell
Yes, I am interested. Please release them! Georg Jon Busby schrieb: > On the same subject, I've written a standard Paypal module (standard > webpayments), and a Google Checkout module. If anyones interested in > using these I'll release them under the MIT lisence in true

[symfony-users] Conditions object_actions in admin generator

2007-12-06 Thread Georg Sorst
er it was never answered. So, is this possible with the current admin generator or will I have to extend it? The change is probably rather small but I'd feel much safer sticking with the vanilla admin generator :) Cheers and thanks, Georg --~--~-~--~~~---~--~-

[symfony-users] Re: Conditions object_actions in admin generator

2007-12-07 Thread Georg Sorst
Thanks Haris, you got me started. I ended up modifying _list_td_actions.php. For anyone interested I have posted a snippet: http://www.symfony-project.org/snippets/snippet/254 Cheers, Georg Haris Zukanovic' schrieb: > I think you will have to modify the admin generat

[symfony-users] Keeping propel.ini passwords in a separate file

2008-01-25 Thread Georg Sorst
l.ini. So, is there a similar mechanism for propel.ini that I am missing? Thanks, Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email t

[symfony-users] Re: admin generator (and general) error handling & flash message

2008-01-31 Thread Georg Sorst
template. If you want to show the flash message in the list view as well you should be able to just copy over the relevant parts form _edit_message.php. Cheers, Georg pihentagy schrieb: > Hi all! > > Can I customise the error handling of the admin generator's edit page? > Is it p

[symfony-users] Re: datetime and now

2008-02-05 Thread Georg Sorst
Hi pihentagy, what's wrong with created_at and updated_at? Besides that, just take a look in your generated model (BaseSomething class, function save() ) how these two "magic" columns are handled there, and you will see that it's pretty simple actually. Cheers, Georg pih

[symfony-users] Versioning many-to-many relations

2008-02-12 Thread Georg Sorst
all the unchanged relations in each version. Another way would probably be to use a global version or revision number like Subversion does. I haven't given this too much thought since this is a completely different approach. Anyway, if anyone has any ideas on this I&

[symfony-users] Re: [sfGuardPlugin] design problems

2008-02-12 Thread Georg Sorst
project admin for ( executeList() ) and when saved check if the user is a project admin for the modified project ( updateUserProjectFromRequest() or so ). This should hopefully get your started. > > How would you design the backend with sfGuardPlugin? > > Cheers, > Ingmar Bye, G

[symfony-users] Re: updateFromReuqest - security issue

2008-02-12 Thread Georg Sorst
Is this true for all "plain" fields or just "updated/created_at"? Anyway, shouldn't this bug be filed? Cheers Georg Nathanael D. Noblet schrieb: > pihentagy wrote: >> Hi all! >> >> I've peeked into the generated auto___Actions class

[symfony-users] Re: Versioning many-to-many relations

2008-02-13 Thread Georg Sorst
Hey Francois, Francois Zaninotto schrieb: > Hi Georg, > > You could do: > > $article->setUpdatedAt($time); > $article->setVersionCreatedBy($authorname); > $article->save(); > > That vould create a new version of the article with just a difference in >

[symfony-users] Re: Extending a plugin -- this or parent?

2008-02-15 Thread Georg Sorst
e and as a callable via __call() (not sure about that) from sfDate. I assume parent::firstDayOfWeek() doesn't honor __call(), but this is just a guess. However sfTime::firstDayOfWeek()->... should work if you pass it the timestamp of the date. Cheers, Georg Sid Bachtiar schrieb: > Hi Dav

[symfony-users] Re: adding extra to sf_gurad_group

2008-02-15 Thread Georg Sorst
I've run into this problem before on some occasions (not related to sfGuard) so I guess your solution should help. However, shouldn't symfony be able to resolve sf_guard_group_id to sf_guard_group:id? Any idea what's the issue? Cu, Georg Kiril Mitev schrieb: > By r

[symfony-users] Re: Versioning many-to-many relations

2008-02-15 Thread Georg Sorst
ema a connection between them can be made. However, only the actual properties of the object will be saved in the version. Best regards, Georg Francois Zaninotto schrieb: > Well, the the ->toVersion() method does the trick, doesn't it ? > > $article = new Article(); > > $auth

[symfony-users] Re: Efficiently retrieving data from 1:n and n:m relations

2008-02-25 Thread Georg Sorst
userC > > Again I'm looking for a better solution than getting two array and > going through them in several loops ;-) > Sorry for posting very basic questions more related to db queries than > symfony but I will have to find a solution to use within symfony right > away. Shou

[symfony-users] Re: how to discover types in propel model?

2008-03-03 Thread Georg Sorst
columns (type, primary / foreign key etc.) from the table map. To get the table map for a certain model class use the peer method BasePeer::getTableMap() and then have a look at the TableMap class to see what can be done with it. Best regards, Georg Mohammad Ali Safari schrieb: > Hi > I am

[symfony-users] Re: sfAdmin generator auto components

2008-03-03 Thread Georg Sorst
s.php . Cheers, Georg florynth schrieb: > This is a question that I've post on the forum, listening from Fabien > advice I'll try the newsletter from now on... > > Hi, > > I have modify the default theme for the propel-init-admin by admin a > auto components. Every

[symfony-users] Re: Putting forms in session

2008-03-05 Thread Georg Sorst
Is that really an issue? I mean, in a production environment you would probably shut down your site and clear all sessions anyway before you move to the new code. Cheers, Georg Thomas Rabaix schrieb: > CO2, let's imagine the situation : > - you store an object in the session &g

[symfony-users] Re: Askeet Day3 : php load_data.php

2008-03-05 Thread Georg Sorst
xist I'll have to think harder :) Cheers, Georg David BOUCHÉ schrieb: > Hello, > > I have a problem when I try to populate the database with the batch : > > [EMAIL PROTECTED] batch]$ php load_data.php > PHP Fatal error: Uncaught exception 'sfException' with mess

[symfony-users] Re: Maintaining DB scripts using Propel

2008-03-06 Thread Georg Sorst
your prod. DB. This is certainly not industrial-grade but so far it has successfully kept me from implementing a real solution :) Cheers, Georg Piers Warmers schrieb: > > Yep, migrations is the way to go. > > There is a propel plugin for this also: > > http://trac.s

  1   2   >