[symfony-users] Migrations

2007-09-04 Thread Alexander Deruwe
Hello, I've used the code from http://trac.symfony-project.com/trac/wiki/ Migrations to implement a basic migration system for my project. Even though (as mentioned in the page) it currently relies on a lot of handcoded SQL, it's working marvelously. I'd now like to release this as a plugi

[symfony-users] Re: Migrations

2007-09-04 Thread Alexander Deruwe
On 04 Sep 2007, at 15:17, Alexander Deruwe wrote: > I'd now like to release this as a plugin... But I don't know who > wrote the original code and would like (or even need) permission > before releasing. Oops, I'm blind... Please ignore... Alexander --~--~-~--~~~-

[symfony-users] sfHamlViewPlugin

2007-09-04 Thread Kiril Angov
Guys, This is a new plugin I just put on the symfony plugins page: http://trac.symfony-project.com/trac/wiki/sfHamlViewPlugin Please, take a look at the wiki page and I will be happy if somebody else finds it as good as I think it is (The Haml itself, I mean :)) What I forgot (seems now very im

[symfony-users] How to use sfPropelActAsSortableBehaviorPlugin in a range data?

2007-09-04 Thread Cipher Chien
Hi, I just found and install sfPropelActAsSortableBehaviorPlugin . it is really useful to handle documents data or single layer category. After install and implement to my apps, I have few questions... For example: If I have a table,abc, has 3 columns. id,rank, topic_id. and I input 5 records. i

[symfony-users] Re: How to use sfPropelActAsSortableBehaviorPlugin in a range data?

2007-09-04 Thread Cipher Chien
I tried the other way. $node3 = abcPeer::retrieveByPK(3); $node5->moveToTop($node3); and I got the error message: Call to undefined method Baseabc::rollback On 9月5日, 上午2時09分, Cipher Chien <[EMAIL PROTECTED]> wrote: > Hi, > > I just found and install sfPropelActAsSortableBehaviorPlugin . it is >

[symfony-users] Re: How to use sfPropelActAsSortableBehaviorPlugin in a range data?

2007-09-04 Thread Frank Stelzer
Does this work? > $node5 = abcPeer::retrieveByPK(5); > $node5->moveToTop($node5); moveToTop takes a sortable object, so $node5 itself. Am 04.09.2007 um 20:09 schrieb Cipher Chien: > $node5 = abcPeer::retrieveByPK(5); > $node5->moveToTop($records); > //hum... this is not work. --~--~-

[symfony-users] Re: server and client side caching

2007-09-04 Thread Thierry
After having done some reading regarding this topic it is a bit more clear to me. There are two situations it is either - reused without checking the server - used and checking the server to make sure (just not transfering) having the info like this Expires: Tue, 04 Sep 2007 20:48:16 GMT, (the d

[symfony-users] Re: How to use sfPropelActAsSortableBehaviorPlugin in a range data?

2007-09-04 Thread Cipher Chien
Frank, Thank your reply and provide the solution. You're right, $object is stand for the record itself and correct code should be $node5- >moveToTop(); After a 4 hours sleeping, I decide to study source code. The part of source code public function moveToTop($object, $con = null) {