[symfony-users] Symfony 1.1 Type INET and MACADDR - PostgreSQL

2008-12-07 Thread AlphaX
Hello, everyone... Friends, I am having trouble with the type of field inet, manually define it as numeric but when I'll save something on the table is empty and instead of going to be placed null ("") someone knows how to solve this problem? --~--~-~--~~~---~--~~

[symfony-users] Re: Error in My First Project (1.2)

2008-12-07 Thread Sid Ferreira
My problem was actually the new comment link... On Sun, Dec 7, 2008 at 15:05, Marius Rugan <[EMAIL PROTECTED]> wrote: > yes, it seems it's a bug, already known / don't know if reported which > quotes the dsn > http://www.symfony-project.org/forum/index.php/m/66290/ > > anyways Sid, > > you have t

[symfony-users] Re: Error in My First Project (1.2)

2008-12-07 Thread Marius Rugan
yes, it seems it's a bug, already known / don't know if reported which quotes the dsn http://www.symfony-project.org/forum/index.php/m/66290/ anyways Sid, you have to edit manually the configuration(s) file inside config/ i would suggest that you place a "catchy" subject in your email(s) e.g. er

[symfony-users] Re: Error in My First Project (1.2)

2008-12-07 Thread Sid Ferreira
the command line seem to be wrong, try: > php symfony configure:database "mysql:host=localhost;dbname=mydb" username > password > On Sun, Dec 7, 2008 at 14:25, Marius Rugan <[EMAIL PROTECTED]> wrote: > what would be the error at "database configuration failed" ? > > > > On Sun, Dec 7, 2008 at 4

[symfony-users] Re: Error in My First Project (1.2)

2008-12-07 Thread Marius Rugan
what would be the error at "database configuration failed" ? On Sun, Dec 7, 2008 at 4:26 PM, Sid Ferreira <[EMAIL PROTECTED]> wrote: > btw, I did this: > changed the 'executeNew' to: > >> $comment = new BlogComment(); >> > $comment->setBlogPostId($this->getRequestParameter('post_id')); >> > $th

[symfony-users] Re: adding stylesheet fomr sfPHPView class file.

2008-12-07 Thread James
Thanks, I figured it out just before going to bed last night, and that is exactly how I did it. James On Dec 7, 2008, at 8:16 AM, Lee Bolding wrote: > > Try... > > sfContext::getInstance()->getResponse()->addStyleSheet('themes/'. > $theme); > > No guarantees, but sfContext is a singleton, s

[symfony-users] Re: Error in My First Project (1.2)

2008-12-07 Thread Sid Ferreira
btw, I did this: changed the 'executeNew' to: > $comment = new BlogComment(); > $comment->setBlogPostId($this->getRequestParameter('post_id')); > $this->form = new BlogCommentForm($comment); > and used 'comment/new' in the link, and not 'comment/edit' On Sun, Dec 7, 2008 at 12:07, Sid Ferreira <

[symfony-users] Error in My First Project (1.2)

2008-12-07 Thread Sid Ferreira
http://www.symfony-project.org/tutorial/1_2/my-first-project The part that handles the database configuration failed to me and to a frend of mine. Also, que part with the link to comment a post. -- Sidney G B Ferreira Desenvolvedor Web - Tibox Innovations Steve Martin --~--~-~--~~--

[symfony-users] Re: adding stylesheet fomr sfPHPView class file.

2008-12-07 Thread Lee Bolding
Try... sfContext::getInstance()->getResponse()->addStyleSheet('themes/'. $theme); No guarantees, but sfContext is a singleton, so it should work... On 7 Dec 2008, at 06:14, James wrote: > > ok, > > In symfony 1.0 if I created a class that extended sfPHPView I could > add a stylesheet dynami

[symfony-users] Re: embed propel forms

2008-12-07 Thread [EMAIL PROTECTED]
Hi guys, I'm interested in that problem too, and I got a question: I use symfony 1.2 and propel, and actually I've never seen the 'relations' field in schema.yml. Should I write that? And where I can read about it? On Oct 30, 6:30 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > It works for me b