[symfony-users] Re: How to paginate search-results?

2010-06-05 Thread pghoratiu
I think you should be worried about users that refuse to reply with the cookie thus the session is pretty much useless in this case (crawlers usually don't hold the cookie). In this case you need to track the users by IP address. I would solve this problem on the Apache server side with

[symfony-users] How do I know if a record is new in postSave function

2010-06-05 Thread PachinSV
I would like to know if there's a way to know if a record inserted is new in the postSave function within a model? -- 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

[symfony-users] Re: How to paginate search-results?

2010-06-05 Thread comb
Thanks again for the response. Even if my question wasn't about storing sessions, it's a nice article! Saving session by ip ... what if $_SERVER['REMOTE_ADDR'] is not set ? or if it's giving you only a proxies ip? you would need something like that and even won't be sure to get an ip: function

[symfony-users] Re: How to paginate search-results?

2010-06-05 Thread pghoratiu
Saving session by ip ... what if $_SERVER['REMOTE_ADDR'] is not set ? That value should always be set. If there is a proxy between the client and the server it will be the proxy server IP address and maybe set up in the HTTP header as X-Forwarded-For. Anyway... as I mentioned my main

[symfony-users] Re: Overriding settings.yml

2010-06-05 Thread pghoratiu
I don't think that you can do this given that these are decided on the application level (not module level). What you can do is do a forward to your own 404 page depending on the request once you are in the 404 action. gabriel On Jun 4, 8:09 pm, Carlos Jorge Andrade carlos.andr...@gmail.com

Re: [symfony-users] How do I know if a record is new in postSave function

2010-06-05 Thread Tugdual SAUNIER
why not use postInsert() ? Tugdual 2010/6/5 PachinSV pachi...@gmail.com I would like to know if there's a way to know if a record inserted is new in the postSave function within a model? -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: Translation request

2010-06-05 Thread Денис Горбачев
Thank you guys, this is awesome! -- Денис Горбачев, Начальник отдела Web-разработок ЗАО ТруОфис http://www.trueoffice.ru/ +7 929 619-35-88 -- 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

Re: [symfony-users] Re: Translation request

2010-06-05 Thread Tugdual SAUNIER
French; OK, en Français: - Nous avons besoin de développeurs symfony. ;-) Tugdual -- 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 symfony users group. To

Re: [symfony-users] Re: Translation request

2010-06-05 Thread Arun Raj R
Hello Denis This is in Malayalam (India - Kerala) ഞങ്ങള്‍ക്ക് സിംഫണി പ്രോഗ്രമ്മേഴ്സിനെ ആവശ്യമുണ്ട് Thanks and Regards Arun Raj R http://techaspirant.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

Re: [symfony-users] Re: Translation request

2010-06-05 Thread Arun Raj R
Sorry i forgot to add first line This is in Malayalam (India - Kerala) ശരി , പച്ച മലയാളത്തില്‍ : --ഞങ്ങള്‍ക്ക് സിംഫണി പ്രോഗ്രമ്മേഴ്സിനെ ആവശ്യമുണ്ട്. 2010/6/5 Arun Raj R aru...@gmail.com Hello Denis This is in Malayalam (India - Kerala) ഞങ്ങള്‍ക്ക് സിംഫണി പ്രോഗ്രമ്മേഴ്സിനെ ആവശ്യമുണ്ട്

[symfony-users] Re: How to paginate search-results?

2010-06-05 Thread comb
My suggestion in this case is to use the difference between GET/POST. That sounds great to me! I would keep in session (or the URL) the filter used and not the actual results. how do you secure, that one cannot bypass the post-form, by url- manipulation? -- If you want to report a

[symfony-users] Re: How to paginate search-results?

2010-06-05 Thread pghoratiu
how do you secure, that one cannot bypass the post-form, by url- manipulation? You can not really do that, they can do whatever they want in the request. One thing that you have to do is to enforce a session upon the users that get to search form - by requesting login for instance. To

Re: [symfony-users] Re: shopping cart?

2010-06-05 Thread Lee Bolding
On 31 May 2010, at 10:27, Richard D Shank wrote: I'm getting ready to start building a store for a music site. It will only be virtual products for now (mp3 downloads), but it will have some of the elements you are needing. Save yourself a whole heap of trouble and use Magento. I used

[symfony-users] Re: How do I know if a record is new in postSave function

2010-06-05 Thread PachinSV
I'm going to try that my friend. On 5 jun, 03:16, Tugdual SAUNIER tucks...@gmail.com wrote: why not use postInsert() ? Tugdual 2010/6/5 PachinSV pachi...@gmail.com I would like to know if there's a way to know if a record inserted is new in the postSave function within a model? --

Re: [symfony-users] Re: sfDoctrineGuardPlugin fails query upon doctrine:build --all

2010-06-05 Thread James Wheaton
I tried this out; the sfGuardUserProfile part of my config/doctrine/schema.yml looks like this: sfGuardUserProfile: tableName: sf_guard_user_profile columns: user_id: type: bigint(20) notnull: true default: unsigned: false primary: false unique: false

[symfony-users] Re: sfFacebookConnectPlugin cookie issues

2010-06-05 Thread jostster
I noticed if I view the source of the webpage i do not see the FB.Init() method. Here is my layout.php ?php use_helper('sfFacebookConnect')? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd html xmlns=http://www.w3.org/1999/xhtml;

[symfony-users] Re: How to paginate search-results?

2010-06-05 Thread comb
Ok, so the best practice is Keep It Stupid Simple (KISS) with some simple session-checks (and yes, the users need to be logged in for searching) Thanks for the great responses pghoratiu/gabriel! On 5 Jun., 13:37, pghoratiu pghora...@gmail.com wrote: how do you secure, that one cannot bypass

[symfony-users] Re: sfPropel15Plugin and sfGuardPlugin problem

2010-06-05 Thread Richtermeister
Hey there, this is the standard behavior. Most plugins define the package directory similar to this: _attributes: { package: plugins.sfGuardPlugin.lib.model } This makes the model live in the plugin directory. Daniel On Jun 3, 8:06 am, AgusQuiroga agusquir...@gmail.com wrote: Hi, I

[symfony-users] Re: sfDoctrineGuardPlugin fails query upon doctrine:build --all

2010-06-05 Thread pghoratiu
Taking a look at plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml, all of the id columns use integer(4). Isn't this what the user_id type should be? = It should be type: integer(4) columns: user_id: type: integer(4) notnull: true gabriel -- If you want

Re: [symfony-users] Re: Custom directory structure

2010-06-05 Thread Eno
On Fri, 4 Jun 2010, Ragnis wrote: Why does it even have to be so complicated.. Actually its not, symfony is quite flexible but it *does* require you read and learn the framework to use it well. -- -- If you want to report a vulnerability issue on symfony, please send it to security at