[symfony-users] Re: changing the default signin form's layout in sfGuardAuth

2009-04-17 Thread naholyr
Maybe you could try a fully explicit insertion of the form (with helpers for labels, helps, errors, etc...) as described here in the chapter "forms for web designers" : http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designers On 18 avr, 05:03, ckemmler wrote: > I did that. But the

[symfony-users] Re: changing the default signin form's layout in sfGuardAuth

2009-04-17 Thread ckemmler
I did that. But the problem I have is that the forms are dynamic, i.e. they can include error messages for example. Thus, what I need is a formatter. The documentation seems to be incomplete in that regard. It speaks of setting a form formatter (I tried the "list" one, but it didn't work) and also

[symfony-users] Re: changing the default signin form's layout in sfGuardAuth

2009-04-17 Thread Nathanael D. Noblet
ckemmler wrote: > I mean: just the form, not the layout of the entire page > Create a module in your application with the same name as the module in the plugin, then create a templates folder, with a template for that action. -- Nathanael d. Noblet T: 403.875.4613 --~--~-~--~~

[symfony-users] Re: Many sites using the same application

2009-04-17 Thread Nathanael D. Noblet
Derek Almond wrote: > I run three or for different set ups where the sites share common > code, but the look and feel is different to some extent. > > each of the two examples below run about 12 differnet sites, with > varying degrees of shared content - i wont post all the ULR's or it > will loo

[symfony-users] Re: changing the default signin form's layout in sfGuardAuth

2009-04-17 Thread ckemmler
I mean: just the form, not the layout of the entire page On Apr 17, 6:27 pm, Eran wrote: > Set the layout declaration in your custom template (in Your sfGuard Module) > to whatever you want.i.e > > 2009/4/18 ckemmler > > > > > I want to change the layout of the default signin form in sfGuardAu

[symfony-users] Re: changing the default signin form's layout in sfGuardAuth

2009-04-17 Thread Eran
Set the layout declaration in your custom template (in Your sfGuard Module) to whatever you want.i.e 2009/4/18 ckemmler > > I want to change the layout of the default signin form in sfGuardAuth. > How do I do that? > > > --~--~-~--~~~---~--~~ You received this

[symfony-users] changing the default signin form's layout in sfGuardAuth

2009-04-17 Thread ckemmler
I want to change the layout of the default signin form in sfGuardAuth. How do I do that? --~--~-~--~~~---~--~~ 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@google

[symfony-users] Re: Many sites using the same application

2009-04-17 Thread Eran
There is a plugin called ysfDimension. You might want to look at that. 2009/4/17 Derek Almond > > I run three or for different set ups where the sites share common > code, but the look and feel is different to some extent. > > each of the two examples below run about 12 differnet sites, with > v

[symfony-users] Re: Many sites using the same application

2009-04-17 Thread Derek Almond
I run three or for different set ups where the sites share common code, but the look and feel is different to some extent. each of the two examples below run about 12 differnet sites, with varying degrees of shared content - i wont post all the ULR's or it will look like i'm link spamming, but a

[symfony-users] Re: my custom handler isn't autoloading

2009-04-17 Thread Nei Rauni Santos
It work now.. The problem is that in the manual ins't write to create a file called config.php here the page where I found the best explanation. http://trac.symfony-project.org/wiki/HowToHandleCrossAppsConfigurationFiles the documentation need to be updated. Nei On Apr 17, 4:42 pm, Nei Rau

[symfony-users] Re: my custom handler isn't autoloading

2009-04-17 Thread Nei Rauni Santos
the paths are wrong.. this is ok http://pastebin.com/m47f52810 all files are under frontend app directory.. Thanks On Apr 17, 4:39 pm, Nei Rauni Santos wrote: > I'm trying to write a custom handles based in this page > > Adding Your Own Handler) > onhttp://www.symfony-project.org/book/1_2/1

[symfony-users] my custom handler isn't autoloading

2009-04-17 Thread Nei Rauni Santos
I'm trying to write a custom handles based in this page Adding Your Own Handler) on http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-Configuration-Files my codes is here: http://pastebin.com/d7f7d1cfe. I wrote all passes but it isn't loading.. Is needed to do others things?? Th

[symfony-users] Re: How can i use a symfony helper in a js file

2009-04-17 Thread Jonathan Wage
I've used modules and actions to serve dynamic js files all the time. Just make sure you turn on caching if you can and make sure the right headers are sent for js files so that they are cached in the users browser. - Jon On Fri, Apr 17, 2009 at 1:13 PM, Ahmed wrote: > > Thanks for all; > After

[symfony-users] Re: How can i use a symfony helper in a js file

2009-04-17 Thread Ahmed
Thanks for all; After many search i found that the best way is doing this with helper . @Alexandru-Emil Lupu : Why it's not recomended ? On 17 avr, 08:50, Alexandru-Emil Lupu wrote: > A thing that you might do is to have a "Javascript" module in wich you could > render the needed Js functions. O

[symfony-users] Re: Many sites using the same application

2009-04-17 Thread Richtermeister
Hey Nei, this is so weird, I will be starting a project this weekend that seems to have the same goal / structure. A CMS for multiple websites.. If you like I'd be interested in emailing you directly so we can share some ideas and figure out how to best build this using symfony. Daniel On Apr

[symfony-users] Re: Fast symfony API searches using Mozilla's Ubiquity extension

2009-04-17 Thread Richtermeister
Hey Eno, that is really really cool :) Thanks for introducing that and sharing the code. Daniel On Apr 16, 12:05 pm, Eno wrote: > Here's a quick hack to add a 'symfony' command to Ubiquity which > allows you to quickly do a search of the symfony API docs. With > Ubiquity installed in Firefox,

[symfony-users] Re: Schema Problem

2009-04-17 Thread FÁSI Gábor
The cli often has a different php.ini, maybe you don't have pdo enabled there. Run a phpinfo() from the command line and it will tell you which php.ini it uses. On Fri, Apr 17, 2009 at 12:40, Waseem wrote: > > i have installed symfony 1.2.5 on windows xp. and using mysql 5 and > apache 2.0 and p

[symfony-users] Re: how to prevent symfony to add css/js automatically?

2009-04-17 Thread CharlesMartin
In view.yml, you can either remove them specifically indexSuccess: stylesheets: [-main] or all at once : indexSuccess: stylesheets: [-*] javascripts: [-*] This is for Symfony 1.0, I have no idea if things changed in 1.1 or 1.2 More on this at http://www.symfony-project.org/book/1_0/07-

[symfony-users] Re: symfony textmate bundle

2009-04-17 Thread Dennis Benkert
Sure! Can the Doctrine users maybe post some suggestions of snippets or commands? It would be exciting go get some response from 'hardcore' Doctrine users to find helpfull shortcuts. - Dennis 2009/4/17 MrMoins : > > Hi, > first congratulation for this excellent bundle. > I just want to ask you i

[symfony-users] Re: London symfony users meeting! 17th April

2009-04-17 Thread Lee Bolding
I'd have gone, but I'm not working in London at the mo, and I live north of the river... Maybe next time! On 17 Apr 2009, at 14:50, Ian P. Christian wrote: > > Last reminder! meeting in Putney night! > > 2009/4/3 Ian P. Christian : >> Everyone remember, london meeting! >> http://www.meetup.co

[symfony-users] Re: Doctrine UNION function or similar solution

2009-04-17 Thread Valkerian
Hi there, it takes a bit of doing and there's a bunch of gotchas but here's how I did it: In the appropriate doctrine class I did this: public function getByLastname($lastname) { $cnn = Doctrine_Manager::connection(); $quoted_lastname = $cnn->quote($lastname, 'string'); $people = $cnn->fetchAss

[symfony-users] Schema Problem

2009-04-17 Thread Waseem
i have installed symfony 1.2.5 on windows xp. and using mysql 5 and apache 2.0 and php 5.8 when i run this command get follwoing result. command: pear channel-discover pear.symfony-project.com result: D:\Apache2\htdocs\proj1>symfony propel:build-schema PHP Fatal error: Class 'PDO' not found i

[symfony-users] Re: symfony textmate bundle

2009-04-17 Thread MrMoins
Hi, first congratulation for this excellent bundle. I just want to ask you if it's possible to integrate Doctrine command in the future ? Thank you On 26 mar, 11:54, Dennis Benkert wrote: > I just pushed the first preview of the bundle (codename 'conductor's > baton') to github > (http://githu

[symfony-users] Re: London symfony users meeting! 17th April

2009-04-17 Thread Ian P. Christian
Last reminder! meeting in Putney night! 2009/4/3 Ian P. Christian : > Everyone remember, london meeting! > http://www.meetup.com/symfony/calendar/10055154/ Blog: http://pookey.co.uk/blog Follow me on twitter: http://twitter.com/ipchristian --~--~-~--~~~---~--~~

[symfony-users] Form doesn't save files

2009-04-17 Thread HAUSa
Hi all, I made a non-Propel form, with several file inputs in it. But, now it doesn't save the files! This is my form.class.php: public function configure(){ $aHospitals = HospitalPeer::selectList(); foreach($aHospitals as $oHospital){

[symfony-users] batch script+send email+paramater

2009-04-17 Thread kusum
Hi, how we can send email in a batch process using sendEmail method and how we can pass parameter from batch file to mail action. Thanks, Kusum --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" g

[symfony-users] Re: Multiple actions, one template?

2009-04-17 Thread Mr_chon
As you've got the same template for all your module's actions, I'd include $this->setTemplate('my'); in the preExecute method... On 16 avr, 19:54, Kevin Barsotti wrote: > Thank you, that's exactly what I was looking for! > > > > Dheeraj Kumar Aggarwal wrote: > > > hi > > you can do this by using

[symfony-users] Re: Using ajax for input text update

2009-04-17 Thread Tomasz Ignatiuk
OK :) Yes, it is done automatically while using IsXMLHTTPRequest 2009/4/17 FÁSI Gábor > > You can use a normal template to be rendered after an ajax call, just > set hasLayout to false either in view.yml, or in your action. I think > symfony can do this automatically when the IsXMLHTTPRequest ht

[symfony-users] Re: Using ajax for input text update

2009-04-17 Thread FÁSI Gábor
You can use a normal template to be rendered after an ajax call, just set hasLayout to false either in view.yml, or in your action. I think symfony can do this automatically when the IsXMLHTTPRequest http header is set (automatically done by prototype and jquery). On Thu, Apr 16, 2009 at 16:09, T

[symfony-users] Re: Multiple actions, one template?

2009-04-17 Thread FÁSI Gábor
That's different, used when your action has finished to decorate it's output. On Fri, Apr 17, 2009 at 05:47, Grus wrote: > > There is a global template named "layout.php" located in the path "../ > apps/templates". > I think it's what you want > > On Apr 17, 3:48 am, Kevin Barsotti > wrote: >>