[symfony-users] Re: Unit Test issue (Day 8) Jobeet Tutorial - PROPEL

2009-01-08 Thread Adrian Gould
Thanks Fabien took me a little while - but found the issue - was a simple one - make sure the test database has the correct access rights. it is a silly error, but at least your hint helped me to sort out the problem Hope this helps others as well! Ady On 08/01/2009, at 16:01 , Fabien

[symfony-users] Re: [sf 1.2] Using # as a separator in URL or ignore it

2009-01-08 Thread Sylvain - Com-Océan
Hi, I find a lot of answers yesterday. Most of the bigyouth.fr url with anchors like : http://www.bigyouth.fr/#/Reference/creation-interface-vod-france-televisions/ redirect to the good content. But I dont think that the server get the full url (with ajax technics), Simply flash anim

[symfony-users] Refering to components in routing...

2009-01-08 Thread Sumedh
Hi Friends, I am using Symfony 1.0... I want to execute a component in an AJAX call... How can I refer to it in the routing.yml? If I refer to it just like I do other actions, the rule doesn't get executed...it returns a 404... --~--~-~--~~~---~--~~ You received

[symfony-users] Re: [symfony-users]

2009-01-08 Thread Gareth McCumskey
I also had to create a wizard setup. I ended up using a single view with one form with javascript to simply enable/disable Next buttons for validations and hide/show for showing the next step of the wizard. While it sounds cumbersome it is actually one form and one process so made it simpler so

[symfony-users] Re: [symfony-users]

2009-01-08 Thread Lee Bolding
That's essentially what I did, but it's cumbersome and only allows for a linear flow - you can't for instance jump steps in the wizard depending on the choices chosen. It would be much better to have a configurable flow - like sfEzcWorkflowPluign or something a bit more lightweight and

[symfony-users] sfGuard, use frontend to authenticate to the backend

2009-01-08 Thread Yevgeniy A. Viktorov
Hello, I have two applications frontend and backend with different layouts and would like to use frontend/login to authenticate to both, e.g. frontend itself and backend. Would like to simply redirect to frontend/login when non authenticated user requesting backend app and share auth session

[symfony-users] Re: [symfony-users]

2009-01-08 Thread Gareth McCumskey
Agreed! It is cumbersome but at the time had little option and no time to write/rewrite plugins for the purpose due to deadline constraints. A colleague though did make a wizard in a Modalbox that loaded seperate partials which has the advantage of allowing skipping as well as cleaner decision

[symfony-users] Observe_field not producing ajax call.

2009-01-08 Thread Simon Cast
Hi, I am currently developing an application using Symfony. So far it has gone reasonable well but I hit a snag today that has me stumped. I have a form displayed on the screen and I am using the observe_field () helper to make an ajax call to a function that updates a calculation and returns

[symfony-users] Re: symfony1.2 dynamic routes tutorial

2009-01-08 Thread Цырульник Вячеслав
$categories=Doctrine::getTable('Category')-findAll(); $products=Doctrine::getTable('Product')-findAll(); What if you have 500 000 records for category and even more for products? Application will freeze computing this requests. 2009/1/8 matt marcum mgmar...@gmail.com: Hi, I spent a

[symfony-users] Unit testing an extended save method using sfContext

2009-01-08 Thread juro
Hi, I have extended the save() method of a few of my models like this public function save(Doctrine_Connection $conn = null) { $user = sfContext::getInstance()-getUser()-getGuardUser(); if($this-isNew()) { $this-setCreatedBy($user); } $this-setUpdatedBy($user);

[symfony-users] Error, bucle or not in The symfony and Doctrine book (chapter 6)

2009-01-08 Thread David Castelló
Hello! Firstly, sorry my english is no good. Url: http://www.symfony-project.org/book/doctrine/1_2/en/06-Working-With-Data Section: BlogPost hasMany Tag as Tags To ensure duplicate tags are not inserted in to the database, it suggest: [php] class TagTable extends Doctrine_Table { public

[symfony-users] Re: Observe_field not producing ajax call.

2009-01-08 Thread Simon Cast
I did some more testing. I disabled the jQueryReloadedPlugin and tried using only the Prototype/ scriptaculous plugin. None of those functions work. I turned the jQueryReloaded Plugin back on and it is working fine. There seems to be something wrong with using Prototype/scriptaculous in my

[symfony-users] Re: Validation of PNG images sf 1.2

2009-01-08 Thread Kris Wallsmith
The sfValidatorFile class requires either finfo_open() or mime_content_type() be installed. If neither are installed, the mime type validation will throw an error. Kris -- Kris Wallsmith | Community Manager kris.wallsm...@symfony-project.com Portland, Oregon USA On Jan 7, 2009, at 4:40 AM,

[symfony-users] Re: Observe_field not producing ajax call.

2009-01-08 Thread Simon Cast
Right, after more banging of my head against a brick wall I found the problem. Whether because of how installation went or some other reason, the various *.js files were not located at the place Symfony was looking for them. Solution was to create the directory and download Prototype/

[symfony-users] Re: symfony1.2 dynamic routes tutorial

2009-01-08 Thread matt marcum
I would agree. Obviously every site's requirements are different. This works fine on my site that has about 30 categories and 100 products. Half a million categories seems like a lot, I don't even think amazon.com has that many. If you're looking at that kind of volume of data you're better

[symfony-users] Re: symfony1.2 dynamic routes tutorial

2009-01-08 Thread Tsyrulnik V.
It's basically bad solution to fetch all data and do foreach. I won't go deep into it, just track memory usage. Doctrine records are heavy, same for propel objects i guess. Back to main subject. Do not separate your categories by '/'. Make something like:

[symfony-users] The Big PHP Frameworks List

2009-01-08 Thread Eno
http://devreview.com/big-list-of-php-frameworks/ --~--~-~--~~~---~--~~ 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 unsubscribe from this

[symfony-users] symfony 1.2.2 released with Doctrine 1.0.6

2009-01-08 Thread Fabian Lange
Dear symfony community, I am happy to announce the availability of symfony 1.2.2 including tons of Doctrine goodies. Check out my blog posting and the included links for more details: http://www.symfony-project.org/blog/2009/01/08/symfony-1-2-2-doctrine-service-release Enjoy! Fabian the symfony