[symfony-users] postValidator question

2009-02-25 Thread samokhinva...@gmail.com
Hi guys, I have the following question. I have a form for password changing with three fields - old_password, password and confirm_password. First I need to check if old_password matches with my current password. What is the easiest way to implement this? I guess, I should use postValidators,

[symfony-users] Cache problem

2009-02-19 Thread samokhinva...@gmail.com
I've tried template fragment caching and i am facing the strange problem: I just can't clear template fragment cache! I've tried a lot, but had no luck :( It's something like this: ?php if (!cache('post_list_' . $post-getId())): ? // doing somethig with this post ?php cache_save() ? ?php endif;

[symfony-users] Re: Cache question

2009-02-19 Thread samokhinva...@gmail.com
It was a mistake in docs. The correct way to remove template fragment is like that: remove('vacancy/myVacancies?_sf_cache_key=myvacancy'). On 18 фев, 19:28, samokhinva...@gmail.com samokhinva...@gmail.com wrote: A good use of caching this way would be to cache several versions of the same

[symfony-users] Re: Cache problem

2009-02-19 Thread samokhinva...@gmail.com
It was a mistake in docs. The correct way to remove template fragment is like that: remove('vacancy/myVacancies?_sf_cache_key=myvacancy'). On 19 фев, 14:05, samokhinva...@gmail.com samokhinva...@gmail.com wrote: I've tried template fragment caching and i am facing the strange problem: I just

[symfony-users] Re: Cache question

2009-02-18 Thread samokhinva...@gmail.com
Yeah, Eno, I've thought about it, but, say, I have about 100.000 posts cached, so I have 100.000 folders with html. Wouldn't that even be slower than plain database query?.. Eno wrote: On Tue, 17 Feb 2009, samokhinva...@gmail.com wrote: I use symfony action caching, and I wonder

[symfony-users] Re: Cache question

2009-02-18 Thread samokhinva...@gmail.com
=post_read_' . $postId); And it just doesn't work, it doesn't clear the cache at all! It's so sad when something is supposed to work but it doesn't :( Maybe you can help me? On 18 фев, 18:47, Eno symb...@gmail.com wrote: On Wed, 18 Feb 2009, samokhinva...@gmail.com wrote: Yeah, Eno, I've thought

[symfony-users] Cache question

2009-02-17 Thread samokhinva...@gmail.com
Hi everybody, I have the following question. I use symfony action caching, and I wonder if it is possible to force symfony to implement the action inspite if it is in cache? I need that because my page's appearance depends on what user watches this page - the author or anybody else. So if the

[symfony-users] Propel::getConnection()

2008-12-17 Thread samokhinva...@gmail.com
Hi again, I have the following problem: when I define $con = Propel::getConnection(my_db_name), I have the error No connection information in your runtime configuration file for datasource [my_db_name] It's written here

[symfony-users] MATCH ... AGAINST in DbFinder

2008-12-17 Thread samokhinva...@gmail.com
Hi guys, have anybody implemented MATCH ... AGAINST query using DbFinder plugin? Have no idea how to do it, but sure that it's possible. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post