[symfony-users] Re: problem with CRUD pages using propel

2008-12-16 Thread Ant Cunningham
Did you clear the cache after you generated the model? Did you run propel:build-forms? harinath wrote: > Just to add those classes are actually available in project lib folder > (under forms or model). > > On Wed, Dec 17, 2008 at 1:12 PM, harinath > wrote: > >

[symfony-users] Re: problem with CRUD pages using propel

2008-12-16 Thread harinath
Just to add those classes are actually available in project lib folder (under forms or model). On Wed, Dec 17, 2008 at 1:12 PM, harinath wrote: > *Hi, I am getting errors while trying to access CRUD generated (used > propel) web pages in my application that is using symfony. > > > Fatal error*:

[symfony-users] problem with CRUD pages using propel

2008-12-16 Thread harinath
*Hi, I am getting errors while trying to access CRUD generated (used propel) web pages in my application that is using symfony. Fatal error*: Class 'CaseActivitiesPeer' not found in * D:\personal\ocms\apps\frontend\modules\caseactivities\actions\actions.class.php * on line *15 in another machine

[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-16 Thread notjosh
I've been with Slicehost more than two years now (oldschool, represent!) Can't recommend them enough. Slicehost++ On Dec 16, 7:42 am, "Kiril Angov" wrote: > Two hands, slicehost! > > On Mon, Dec 15, 2008 at 10:24 PM, Eno wrote: > > > On Dec 15, 11:53 am, "Brandon Olivares" wrote: > > >> That

[symfony-users] Re: symfony 1.2: How do I change the order of a form's fields?

2008-12-16 Thread Jonathan Wage
You can use the sfWidgetFormSchema::moveField() function to adjust the order of widgets. - Jon On Tue, Dec 16, 2008 at 7:23 PM, olivierb wrote: > > I'm using propel to generate my form fields and I have added some > fields to the form. I'd like to control the order in which they are > displayed.

[symfony-users] symfony 1.2: How do I change the order of a form's fields?

2008-12-16 Thread olivierb
I'm using propel to generate my form fields and I have added some fields to the form. I'd like to control the order in which they are displayed. Any tips? Thanks. Olivier --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[symfony-users] Re: How to add ie6 hack css?

2008-12-16 Thread Ant Cunningham
Also if yousing jQuery be sure that all external CSS loads before JS. If not loaded in this order jQuery can sometimes behave in unexpected ways in Safari (possibly all WebKit based browsers) and FF3. Just and FYI. :-) Bernhard Schussek wrote: > Hi Sid, > > Before your ending head tag, includ

[symfony-users] How would I define other mime categories other than 'web_images' for file upload?

2008-12-16 Thread olivierb
I'm following the jobeet tutorial for symfony 1.2 and I'm also developing an application on the side. I need to have file upload that allows web images, audio files, pdfs. I know that by default, the only mime_categories defined is 'web_images'. How would I define another one to include all my r

[symfony-users] Re: How to add ie6 hack css?

2008-12-16 Thread Yevgeniy A. Viktorov
Hello, Please, take a look: http://groups.google.com/group/symfony-users/browse_thread/thread/66f60abd7bbdcb91/a5fd6b6f4d9f5a82?show_docid=a5fd6b6f4d9f5a82 Thanks. p.s. I prefer filter. On Wed, 2008-12-17 at 11:54 +1300, Sid Bachtiar wrote: > Hi, > > I'm working on a Symfony 1.0 project and

[symfony-users] Re: Extending DbFinder

2008-12-16 Thread Bernhard Schussek
Hello Alexander, Unfortunately Francois Zaninotto, the developer of this plugin, has left the symfony community. I think he's still around from time to time, but I don't know whether he's regularly reading in this mailing list. In any case, you can try sending him a mail. You should be able to f

[symfony-users] Re: How to add ie6 hack css?

2008-12-16 Thread Bernhard Schussek
Hi Sid, Before your ending head tag, include the following code in layout.php: ... conditional comments ... Javascripts and stylesheets are only appended at the end of the head section if they have not been included manually (which is the recommended way of doing, I think). Bernhard On

[symfony-users] Re: Doctrine schema help - can't define relations correctly (SQL ERRORS)

2008-12-16 Thread Bernhard Schussek
Hi Frédéric, On Tue, Dec 16, 2008 at 11:10 PM, fredlab wrote: > Strangely, I kept on having the same problem until I switch from > Innodb to Myisam for the type of database. That makes sense, since in InnoDB foreign keys are strictly validated while in MyISAM foreign key constraints do not exist

[symfony-users] How to add ie6 hack css?

2008-12-16 Thread Sid Bachtiar
Hi, I'm working on a Symfony 1.0 project and needing to add an IE6 hack CSS as the last CSS but need to add code to only include the CSS if the browser is IE6. How can I do that? I added the code just above in layout.php but it still would not show up after other CSS files. Other CSS files alwa

[symfony-users] Re: Doctrine schema help - can't define relations correctly (SQL ERRORS)

2008-12-16 Thread fredlab
Bernard, thanks for the input. Strangely, I kept on having the same problem until I switch from Innodb to Myisam for the type of database. Since then everything is working correctly. I have putted integer(4) instead of (11) because that what I saw in the Doctrine cookbook for symfony. When sym

[symfony-users] Re: Use sfUser attribute in view.yml

2008-12-16 Thread Richtermeister
Hey Francois, you can also use a filter do set this globally. Daniel On Dec 16, 5:11 am, François CONSTANT wrote: > Hi, > > well because all the titles in this application are set up in the > view.yml files. Furthermore I think that the title is part of the > view, not of the control; I just

[symfony-users]

2008-12-16 Thread Sean Dundon
--~--~-~--~~~---~--~~ 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...@goog

[symfony-users] Re: Doctrine migrations and Version

2008-12-16 Thread Jonathan Wage
Because the migrations are meant to be ran back to back. So if you specify the version, that is the version it migrates to. So it must execute all the migration classes. - Jon On Tue, Dec 16, 2008 at 1:57 PM, Kai Brändle wrote: > Hello Jon, > > thanks for your answer. > I've never created a Tic

[symfony-users] Re: Doctrine migrations and Version

2008-12-16 Thread Kai Brändle
Hello Jon, thanks for your answer. I've never created a Ticket but I will try to do so. But I dont understand what the Version-Option in the Task is good for at the moment?? Greetings, Kai 2008/12/16 Jonathan Wage > Hmm. This is currently not possible. Maybe we can implement this ability. > C

[symfony-users] Re: Symfony 1.2 with postgresql

2008-12-16 Thread Marcos Castro
Is not Databases.yml for runtime only? I thought propel.ini was the database file for command line interface. On Tue, Dec 16, 2008 at 2:36 PM, sh1ny wrote: > > databases.yml is what you are looking for. It's in the app/config > directory. > > On Dec 16, 6:50 pm, "Marcos Castro" wrote: > > Recen

[symfony-users] Re: Doctrine migrations and Version

2008-12-16 Thread Jonathan Wage
Hmm. This is currently not possible. Maybe we can implement this ability. Can you create a ticket? Thanks, Jon On Tue, Dec 16, 2008 at 8:10 AM, Kai Brändle wrote: > Hallo > i try do do a lot of migrations to my old database. > Now there is the doctrine:migrate tasks which specifies > > doctrine

[symfony-users] Re: Jobeet tutorial for Doctrine

2008-12-16 Thread Jonathan Wage
The tutorials are up to date now. - Jon On Tue, Dec 16, 2008 at 4:13 AM, zero0x wrote: > > John thank you for your work :) > > I'm not reading Jobeet for Propel, only for Doctrine, so it is really > helpful. > > Thank you again :) > > On Dec 16, 12:45 am, "Jonathan Wage" wrote: > > I am workin

[symfony-users] Re: Symfony 1.2 with postgresql

2008-12-16 Thread sh1ny
databases.yml is what you are looking for. It's in the app/config directory. On Dec 16, 6:50 pm, "Marcos Castro" wrote: > Recently I had a little problem dealing with postgresql. I was following day > 3 of Jobeet, and I was not achieving to execute command symfony > propel:insert-sql. > > It see

[symfony-users] Symfony 1.2 with postgresql

2008-12-16 Thread Marcos Castro
Recently I had a little problem dealing with postgresql. I was following day 3 of Jobeet, and I was not achieving to execute command symfony propel:insert-sql. It seemed that symfony was not using the information in config/propel.ini. Only after changed configuration directly in lib/symfony/plugin

[symfony-users] Re: Symfony generated admin page issue, Symfony 1.1.4

2008-12-16 Thread James Andrews
*sigh* scratch that it is my plugin I didn't save one of the files I modified to turn it off, now it's working normally, now need to figure out what the problem is... James On Tue, Dec 16, 2008 at 11:06 AM, James Andrews wrote: > Hi All, > > I just created an admin module for a plugin I'm

[symfony-users] Symfony generated admin page issue, Symfony 1.1.4

2008-12-16 Thread James Andrews
Hi All, I just created an admin module for a plugin I'm working on. I tried symfony propel:init-admin moduleName modelName It generated the module. If I got to http://domain.foo/moduleName/index I get nothing if I go to http://domain.foo/moduleName/list I get exactly what I expect I click

[symfony-users] Re: Extending DbFinder

2008-12-16 Thread Alexander Deruwe
Should I open a ticket for this, or? I just noticed this is still present in latest svn trunk. Alexander On 11 Dec 2008, at 10:09, Alexander Deruwe wrote: > Some hunting lead me to a likely typo. > Please see attached patch. > > > Alexander > > On 10 Dec 2008, at 12:01, Alexander Deruwe wrot

[symfony-users] Doctrine migrations and Version

2008-12-16 Thread Kai Brändle
Hallo i try do do a lot of migrations to my old database. Now there is the doctrine:migrate tasks which specifies doctrine:migrate [--application[="..."]] [--env="..."] [version] I like to perform only the migrationclass 001_whateverName.php But when I run doctrine:migrate #1 it trys to migrat

[symfony-users] Re: Use sfUser attribute in view.yml

2008-12-16 Thread François CONSTANT
Hi, well because all the titles in this application are set up in the view.yml files. Furthermore I think that the title is part of the view, not of the control; I just access a user's attribute to add it in the title... If I needed some tests, I would move that to the action. On 16 déc, 11:49,

[symfony-users] Re: Jobeet: Doctrine: Day 3

2008-12-16 Thread t...@soe
Hi Fabian, Yes, I do have a schema.yml under config/doctrine. It is created per the tutorial. Rgds! Taylor On 12月16日, 下午6时22分, "Fabian Lange" wrote: > Hello > you have a schema.yml for doctrine in config/doctrine? > It looks liek you are building from an empty schema > Fabian > > On Tue, Dec

[symfony-users] Re: Forms questions

2008-12-16 Thread Peter Bowyer
Hi Bernhard, At 12:03 16/12/2008, Bernhard Schussek wrote: >First of all you need to understand that > > > >was never meant to replace custom styling. If you want to customize >the structure, CSS classes or other attributes of the generated HTML, >you need to do it manually in the template.

[symfony-users] Re: Forms questions

2008-12-16 Thread Bernhard Schussek
Hi Peter, First of all you need to understand that was never meant to replace custom styling. If you want to customize the structure, CSS classes or other attributes of the generated HTML, you need to do it manually in the template. After all, this is template logic, and as such belongs th

[symfony-users] Forms questions

2008-12-16 Thread Peter Bowyer
Hi, 1. Is it possible to display all inline messages at the top of the form (as well as, or instead of inline)? renderGlobalErrors() doesn't collect up the inline error messages. 2. Can I apply a class to form fields which have errors (so I can - for example - change the background colour of

[symfony-users] Re: Use sfUser attribute in view.yml

2008-12-16 Thread Brandon Olivares
Hi, Why not just set the title in the action? Seems a bit cleaner if you want a dynamic title. I try to keep PHP out of the YAML files as much as possible. Brandon -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of François CONST

[symfony-users] Re: Use sfUser attribute in view.yml

2008-12-16 Thread François CONSTANT
That sounds obvious now, it does work :) To sum it up, if someone wants to do the same just put at the begining of the yaml file : getUser(); ?> Then you can use $sf_user exactly in the same way than in a template. I just got started with Symfony so I work with 1.2. Many thanks, On 16 déc, 11

[symfony-users] Re: porting

2008-12-16 Thread halfer
Btw, if you are posting on the newsgroup because you've not received any reply on the forum, please at least let people know you are cross- posting (and include a link). It helps avoid a duplication of effort. --~--~-~--~~~---~--~~ You received this message because

[symfony-users] Re: Use sfUser attribute in view.yml

2008-12-16 Thread Alexander Deruwe
On 16 Dec 2008, at 11:34, François CONSTANT wrote: > I would like to get a user attribute in view.yml (in order to modify > the title). > > I know that I can use some php in this file but what I don't know is > how to access the sf_user object. Within an action I could use $this- >> getUser() and

[symfony-users] Use sfUser attribute in view.yml

2008-12-16 Thread François CONSTANT
Hello, I would like to get a user attribute in view.yml (in order to modify the title). I know that I can use some php in this file but what I don't know is how to access the sf_user object. Within an action I could use $this- >getUser() and set up a new config variable but I'm sure there is a

[symfony-users] Re: Jobeet: Doctrine: Day 3

2008-12-16 Thread Fabian Lange
Hello you have a schema.yml for doctrine in config/doctrine? It looks liek you are building from an empty schema Fabian On Tue, Dec 16, 2008 at 8:48 AM, t...@soe wrote: > > I am following the tutorial for Jobeet/Doctrine on Day 3. > > After I created the schema.yml and run build-sql, the prompt

[symfony-users] Re: Logging in production

2008-12-16 Thread Alexander Deruwe
On 15 Dec 2008, at 08:25, kusum wrote: > Hi, > I tried this filter ,but after sfException occur this email code > is not working.Even it is not logging any constant mess in log file. I think that's to do with using the environment variable SF_ENVIRONMENT - I've defined this in my apache co

[symfony-users] Re: Logging in production

2008-12-16 Thread Alexander Deruwe
On 13 Dec 2008, at 07:02, Sumedh wrote: > Thanks Alexander...I think it looks like a great solution... > > How much performance overheard it will be you think, for normal > reqest- > response flow when there is no exception...? On the whole, should we > put something like this in production? I

[symfony-users] Re: Jobeet tutorial for Doctrine

2008-12-16 Thread zero0x
John thank you for your work :) I'm not reading Jobeet for Propel, only for Doctrine, so it is really helpful. Thank you again :) On Dec 16, 12:45 am, "Jonathan Wage" wrote: > I am working to keep it up to date with Propel. I just was out of town for a > symfony training last week and I was go

[symfony-users] Re: Using Propel on shared hosting

2008-12-16 Thread Ward Loockx
Isn't there any way to do this ? Ward Loockx schreef: > Lee Bolding schreef: > >> Why are you building your models on your server? >> >> Build them locally, then upload the completed project via scp, svn >> checkout, rsync or if you absolutely must, ftp. >> >> On 14 Dec 2008, at 18:24, Ward

[symfony-users] Re: porting

2008-12-16 Thread alvaro
For your first problem, check that the rewrite rules are working. For the second one, no idea :) Alvaro On Dec 16, 2008, at 3:41 PM, nicola defilippo wrote: > Hi, > i want port my symfony 1.0 apllication from ubuntu 7.04 to opensuse > 11, but i have 2 problems: > 1) with http://192.168.0.2/fir

[symfony-users] porting

2008-12-16 Thread nicola defilippo
Hi, i want port my symfony 1.0 apllication from ubuntu 7.04 to opensuse 11, but i have 2 problems: 1) with http://192.168.0.2/firstapp_dev.php/login all right but with http://192.168.0.2/login i have 404 error. 2) sfExeclPlugin return corrupted file. I have cleared cache and fix-perms. I haven't

[symfony-users] Jobeet: Doctrine: Day 3

2008-12-16 Thread t...@soe
I am following the tutorial for Jobeet/Doctrine on Day 3. After I created the schema.yml and run build-sql, the prompt is >> doctrine generating sql for models >> doctrine Generated SQL successfully for models But I cannot find mentioned sql file under data/sql. There is only one emply schema

[symfony-users] symfony 1.2 | admin generator | problem sfWidgetFormChoice

2008-12-16 Thread jforet
Hi, I have a problem with sfWidgetFormChoice : when i try to filter with a sfWidgetFormChoice, it does not work in log, sql request does not have clause on the categorie. any idea ? here is my code : totoPeer: class totoPeer extends BaseTotoPeer { static protected $categories = array( 'b

[symfony-users] Re: sfForm - add more option

2008-12-16 Thread Cinxgler Mariaca Minda
2008/12/15 Bernhard Schussek : > > I hope this could help you a little. I'll try it, thanks a lot. -CMM --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to sy