[symfony-users] task and partial

2009-08-14 Thread ken
It seems it's impossible to use get_partial via partial helper in symfony 1.2 task system without initializing the context. Is there anyway Is there any alternative for this? Initializing context flushes out html into the console which is really ugly.

[symfony-users] Re: Swift Mail

2009-08-14 Thread Mr_chon
On 13 août, 20:24, DEEPAK BHATIA toreachdee...@gmail.com wrote: Yes, I know HTML very well but still need a good hand on it. On Thu, Aug 13, 2009 at 11:53 PM, Enosymb...@gmail.com wrote: On Thu, 13 Aug 2009, DEEPAK BHATIA wrote: I tried this and nto working $textbody = aText to

[symfony-users] Re: Encoding soap_option automatic in app.yml ?

2009-08-14 Thread AlexChalumeau
Still nobody knows ? On 6 août, 15:33, AlexChalumeau alex.chalum...@gmail.com wrote: Hi, I would like my soap request to automatically detect the encoding it has to be set to. For instance, if my input request is UTF-8, I would like my request to be encoded in UTF 8. On the other side,

[symfony-users] Re: Swift Mail

2009-08-14 Thread DEEPAK BHATIA
Ok.Thanks On Fri, Aug 14, 2009 at 1:46 PM, Mr_chonshnd...@gmail.com wrote: On 13 août, 20:24, DEEPAK BHATIA toreachdee...@gmail.com wrote: Yes, I know HTML very well but still need a good hand on it. On Thu, Aug 13, 2009 at 11:53 PM, Enosymb...@gmail.com wrote: On Thu, 13 Aug

[symfony-users] i18n and l10n with Doctrine

2009-08-14 Thread BenjaM1
Hello everyone, I need help from people keeping with i18n and l10n Doctrine. In my schema.yml all my classes are i18n. But in my case I do not know in advance the country (and therefore languages) will be added during his life and so there may be several countries sharing the same culture (US

[symfony-users] Re: Set filter in controller

2009-08-14 Thread gino pilotino
This: public function executeIndex(sfWebRequest $request) { $this-setFilters(array('name' = array('text' = 'foobar'))); } will set a default value for the name text field filter. On Aug 14, 1:04 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: In my actions.class.php, is it

[symfony-users] Re: dynamic tables/forms/models with symfony

2009-08-14 Thread cosmy
Very very interesting. Thank you very much, this is what i want. One thing I don't understand: should UllFlowDoc and UllFlowValue be the same table? why are they separated? On 9 Ago, 23:15, klemens_u klem...@ull.at wrote: Hi cosmy, Bernhard pointed out that we did something similar in

[symfony-users] Re: Expiring page when back button is pressed

2009-08-14 Thread Steve the Canuck
Hi, I understand the browser is caching the page, but there must be some way of preventing the browser from simply caching the page, no? If I go to the Symfony Plugins page and then login, I see the panel indicate that I'm logged in. If I hit back, I see a slightly different page, shown to

[symfony-users] Re: Propel Unit Testing - Reset database before running sfPropelData()?

2009-08-14 Thread J_Wesker
Hi Stephen, I had the same problem you have a few days ago. And indeed every time you run the unit test (in fact any test), you will wipe the database, but if you use the default auto-increment attribute for primary keys, they will not stay static. Ok, so how to 'fix' this? What my boss and me

[symfony-users] Re: Problem with new lines in text emails

2009-08-14 Thread Alex'
Can also be because of php tag on end of line, it removes the \n character : Example : This line ?php echo 'will '; ? continue on this one. PHP remove \n when the line finished with a PHP tag To prevent this, append a space at the end of line, or use ?php echo 'will '.\n; ? Hoping the

[symfony-users] Different model classes used in propel:data-load and sfPropelData-loadData

2009-08-14 Thread kirsis
Hello, While writing a functional test today, I hit a bit of a problem that took me some time to figure out. When I used the propel:data-load task and used my app in the browser, everything seemed to be working fine, however when I loaded the fixtures via sfPropelData-loadData in my functional

[symfony-users] Re: Expiring page when back button is pressed

2009-08-14 Thread Phennim
Hey, Don't send a response to a browser's POST request. Instead, let the server handle the post request and then; redirect to a succes page. Since the browser has nothing to cache, it flushes the post variables. This is also good practice for SEO because now you have a unique url to check

[symfony-users] Re: Expiring page when back button is pressed

2009-08-14 Thread Steve the Canuck
Hi, I see what you're saying. However, I believe I am doing what you say - redirecting to a success page. sfGuard does this for logins on its own. My main issue isn't that the form values aren't being cleared/flushed, it's that other portions of the page are being cached, including pages that

[symfony-users] about custom query with criteria (postgis)

2009-08-14 Thread Francisco Calderón
Hi everybody, im new using symfony, im working in a GIS project, with PostGIS, and i need to make a custom query like this: SELECT b.gid, b.name FROM a, b WHERE a.the_geom b.the_geom AND a.gid=2 the problem is the operator , i add it in the begining of the Criteria Class with other operator

[symfony-users] Re: Help text for nested form fields

2009-08-14 Thread Ca-Phun Ung
On Wed, Aug 12, 2009 at 4:45 PM, caphun cap...@yelotofu.com wrote: Hi, Been looking around for answers to this but couldn't find one. Does anyone know how to get the help text from generator.yml to pull through to a nested form field? If that's not possible what's the best way to manually

[symfony-users] Open source and private funding. What are the benefits to a company to sponsor an open source lib?

2009-08-14 Thread Bruno Reis
Hi all, We are working on a set of tools ( plugins ) for symfony here, most regarding to ajax interactions, json validation, a service layer and code generation. I am negotiating with the company owners about opening this plugins as open source. I´ve told them my arguments already, but I want to

[symfony-users] Re: Open source and private funding. What are the benefits to a company to sponsor an open source lib?

2009-08-14 Thread Dustin Whittle
Bruno, In my opinion, the biggest benefit is support/maintenance. The more people that use the code, the more willing to help improve it (refactoring, bug fixes, documentation, etc). There is a cost associated with open sourcing code as well, but generally collaborating with the community to

[symfony-users] Re: about session handling

2009-08-14 Thread sunny
Can any body give the right technique how to use session handling --~--~-~--~~~---~--~~ 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