[symfony-users] Re: Select multiple cells in a table

2009-05-25 Thread Ian P. Christian
2009/5/25 DEEPAK BHATIA toreachdee...@gmail.com: I am building an application where i need to selected multiple rows in a column in a table using mouse then use them for further action. Look at how the admin generator does it - it does exactly that. -- Blog: http://pookey.co.uk/blog Follow

[symfony-users] functional testing and the dispatcher

2009-05-24 Thread Ian P. Christian
Everytime a new request is made with sfTestFunctional, a new sfEventDispatcher is created. I'm trying to test that an event is fired when certain data is posted. here's the test: $listener = new Listener(); sfContext::getInstance()-getEventDispatcher()-connect('user.register',

[symfony-users] Re: How to create mysql partitioning table with symfony?

2009-05-24 Thread Ian P. Christian
2009/5/24 chrisyue blizzch...@gmail.com I am a newbie in symfony, recently I am studying symfony by the jobeet tutorials, but I am used to creating partitioning for large table to improve performance. wish somebody would help me with this question, thx a lot. No ORM I know can do this. I'd

[symfony-users] Re: How to make validator of two fields

2009-05-22 Thread Ian P. Christian
Look at setPostValidator() Example: $this-validatorSchema-setPostValidator( new sfValidatorSchemaCompare('password', sfValidatorSchemaCompare::EQUAL, 'password1', array(), array('invalid' = 'Passwords much match') ) ); 2009/5/22 E2 edwi...@gmail.com: I am

[symfony-users] Re: Doctrine DQL: where clause help

2009-05-07 Thread Ian P. Christian
2009/5/7 Mohd Shakir bin Zakaria mohdsha...@gmail.com: $ symfony doctrine:dql FROM Message m where('m.id = ?', 1) Yeah, it's a DQL string, not the API, so you don't use place holders like that 'FROM Message m WHERE m.id = 1' -- Blog: http://pookey.co.uk/blog Follow me on twitter:

[symfony-users] Re: Taking action on object creation in the admin gen.

2009-05-06 Thread Ian P. Christian
2009/5/5 Ian P. Christian poo...@pookey.co.uk: I think that the admin gen might benefit from a presave event to hook into. I could move my logic into the Domain, but I don't think it belongs there for my use case. I've solved this for now by adding a preInsert() hook which fires an event via

[symfony-users] Taking action on object creation in the admin gen.

2009-05-05 Thread Ian P. Christian
I want to call a function when a new object is created though the admin gen. Currently, the admin gen fires a 'admin.save_object' event after saving an object, but there's no way to know after that if an object has just been created, or simply updated. The method processForm() is the

[symfony-users] Security issue fixed in sf1.2 and sf1.3

2009-04-24 Thread Ian P. Christian
A few hours ago, Romain Dorgueil (hartym) fixed a security problem he found in the admin generator (1.2, 1.3) which could cause data loss, or data injection if user did not remove necessary fields in the form class, but did choose some fields for display in generator.yml. The patch is made by

[symfony-users] Re: London symfony users meeting! 17th April

2009-04-17 Thread Ian P. Christian
Last reminder! meeting in Putney night! 2009/4/3 Ian P. Christian poo...@pookey.co.uk: Everyone remember, london meeting! http://www.meetup.com/symfony/calendar/10055154/ Blog: http://pookey.co.uk/blog Follow me on twitter: http://twitter.com/ipchristian

[symfony-users] Re: London symfony users meeting! 17th April

2009-04-03 Thread Ian P. Christian
2009/3/29 Hugo HAMON webmas...@apprendre-php.com: I had a look at Agavi... Is that a framework ? lol Yes :) Everyone remember, london meeting! http://www.meetup.com/symfony/calendar/10055154/ -- Blog: http://pookey.co.uk/blog Follow me on twitter: http://twitter.com/ipchristian

[symfony-users] Re: London symfony users meeting! 17th April

2009-03-29 Thread Ian P. Christian
incase there was any confusion - this is for developers using symfony, not symfony developers. Hope to see some of you soon! :) 2009/3/28 Ian P. Christian poo...@pookey.co.uk: see: http://www.meetup.com/symfony/calendar/10055154/ I'll be there in a nice red Agavi t-shirt, as shown here

[symfony-users] London symfony users meeting! 17th April

2009-03-28 Thread Ian P. Christian
see: http://www.meetup.com/symfony/calendar/10055154/ I'll be there in a nice red Agavi t-shirt, as shown here: http://twinkle.tapulous.com/index.php?hash=30853425533377206107cd53b3e90deb238fd0b7 -- Blog: http://pookey.co.uk/blog Follow me on twitter: http://twitter.com/ipchristian

[symfony-users] Re: Why should I write queries like this?

2009-03-26 Thread Ian P. Christian
2009/3/26 Benjamin agtle...@gmail.com: This question may be unrelated to symfony, and more related to database abstraction, but I'm wondering why I should pull the table names from the model.  I've been programming for a long time and have never seen anyone need to use dyamic table names

[symfony-users] Re: SfWidgetFormDoctrineChoice - how do you filter values

2009-03-24 Thread Ian P. Christian
2009/3/24 fredlab frederic.beauf...@free.fr: Hey, Imagine I have the following : $w = new sfWidgetFormDoctrineChoice(array(  'model'     = 'Codetype',  'add_empty' = false, )); From the source: 71 public function getChoices() 72 { 73 $choices = array(); 74 if (false !==

[symfony-users] Re: constructor in symfony

2009-03-24 Thread Ian P. Christian
2009/3/24 dziobacz aaabbbcccda...@gmail.com: So in symfony doesn't exist normal constructor ? Define normal? It is normal, it just has parameters - this is standard OOP. If you want to override a constructor from a base class, you'll need to call it's parent with the params it requires.

[symfony-users] Re: SfWidgetFormDoctrineChoice - how do you filter values

2009-03-24 Thread Ian P. Christian
2009/3/24 fredlab frederic.beauf...@free.fr: Thanks for the answers but even with the source code, I can't see how to do it. What do you mean by table-method ? What is the difference between it and the query option that is also available ? don't set a query option. instead, set a

[symfony-users] Re: Admin gen: setting default values for form fields

2009-01-27 Thread Ian P. Christian
2009/1/27 Jonathan Franks jonat...@ifranks.com: Moo! Why don't you just overide the new action and pass the default value to the form?... Or are you hoping that there should be some 'built in' support for this? Hi Jon! I could indeed do what you suggest, or create my own admin gen template

[symfony-users] Re: What is Base64 encoding?

2008-12-17 Thread Ian P. Christian
2008/12/17 Samir van de Sand samir@googlemail.com: Hello everybody, I recently noticed a function called base64_encode. Eg. the Symfony cookbook tutorial about cookies recommends encoding cookie contents with base64: http://www.symfony-project.org/cookbook/1_2/en/cookie However I still

[symfony-users] Re: regarding curl

2008-07-18 Thread Ian P. Christian
Sumedh wrote: But when we make the cURL call from that class, it doesn't work...any clues? Sounds a bit unlikely, are you sure you're reading the symptoms correctly? Secondly, functions like logMessage() don't work in that class...what class we need to extend to use general purpose symfony

[symfony-users] Re: symfony for web designers

2008-07-16 Thread Ian P. Christian
alessandro cinelli wrote: On Wed, Jul 16, 2008 at 10:08 AM, Paulo Magalhaes wrote: Hi, I'm looking for some slides, documentation, etc on introducing Symfony from a web designer perspective snip Not too technical, keeping PHP to the bare essential.

[symfony-users] Re: developers wanted for phorum integration

2008-07-12 Thread Ian P. Christian
Ian P. Christian wrote: Ian P. Christian wrote: I'm working on integrating phorum into symfony , using sfGuard for authentication. If you want to play, now it's in SVN - not in the official repos yet as it might never get finished ;) It's now working and checked

[symfony-users] Re: London meetup

2008-07-02 Thread Ian P. Christian
Ian P. Christian wrote: Well, I've not set a date - when are you back? Date set... for tomorrow! A collection of symfony developers are meeting at the PHPLondon meeting tomorrow - where I will also be giving a talk on doctrine. Details here: http://www.phplondon.org/wiki/July_3rd_2008

[symfony-users] Re: London meetup

2008-06-18 Thread Ian P. Christian
Ian P. Christian wrote: Anyone interested at a casual meet up in London some time in the next 4 weeks? Don't all shout at once ;) So far the count is at 4 would be nice to have a few more! --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: Location of symfony developers

2008-06-18 Thread Ian P. Christian
Brian Hoke wrote: Some kind of Google maps mashup, with easy post-where-i-am functionality, perhaps? I agree with Tom - I'd love to see if there are folks near us. ~ symfonians.net might do it? if not... Nicolas, there's an idea for you :)

[symfony-users] London meetup

2008-06-17 Thread Ian P. Christian
Anyone interested at a casual meet up in London some time in the next 4 weeks? Mail me off list. --~--~-~--~~~---~--~~ 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] Re: Website uptime

2008-06-04 Thread Ian P. Christian
Daevid Vincent wrote: Seriously, just install Nagios http://www.nagios.org on a few servers that point at each other and don’t waste your time with these “free services” – you get what you pay for. (well, Nagios is free too, but in a FOSS way, not a crappy-service way) I concur - I use

[symfony-users] Re: Uploading files in symfony 1.1

2008-05-09 Thread Ian P. Christian
Fabien POTENCIER wrote: As of r8883, symfony throws an exception if you try to bind a multipart form without a files argument. Fantastic - thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony

[symfony-users] Re: Uploading files in symfony 1.1

2008-05-07 Thread Ian P. Christian
Fabien POTENCIER wrote: When binding the form, you have to pass the files specifically: $this-form-bind($request-getParameter('photoform'), $request-getFiles('photoform')); This isn't the first, or even second time I've seen this question, it's been on IRC a couple of times too I think

[symfony-users] Re: What does '=' mean?

2008-05-07 Thread Ian P. Christian
Tom Haskins-Vaughan wrote: I have this line in my SwiftMailer batch script: $message = new Swift_Message($subject, $body); Nothing under PHP5. Basically it forces assign by reference, rather then copying the whole object- but that's default under PHP5

[symfony-users] Re: Standalone PHP script

2008-04-30 Thread Ian P. Christian
Jacob Coby wrote: Batch files (and symfony init-batch): and Tasks in sf1.1 :) --~--~-~--~~~---~--~~ 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] Re: SO: Documentation about new Symfony 1.1 Features

2008-04-29 Thread Ian P. Christian
Fabian Lange wrote: Hey, you might want to take a look at: http://www.symfony-project.org/blog/2008/03/25/symfony-1-1-beta-2-released-w hat-s-new a quite compact listing of all major changes from 1.0 to 1.1 Of course, there's the UPGRADE doc too

[symfony-users] Re: Propel13 and sf1.0

2008-04-23 Thread Ian P. Christian
Kiril Angov wrote: Here is it even 3AM and I am late with a project otherwise I would have taken a look at the problem. Make sure you have sfPropel13Plugin from SVN and your phing in lib/vendor and try again. I do indeed have the latest SVN of sfPropel13Plugin - previous versions worked -

[symfony-users] Re: sfThumbnailPlugin

2008-04-23 Thread Ian P. Christian
CX wrote: phpinfo data: gd GD Supportenabled Modify the plugin on the lines I showed, remove the @ sign so you can see the real error. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To

[symfony-users] Re: sfThumbnailPlugin

2008-04-23 Thread Ian P. Christian
Thomas Rabaix wrote: Is your file a valid picture ? Regardless of the outcome of this problem - this shoudl be considered a bug in the library. The exceptino is too vague and hides the real error - I suggest a ticket is created, assign it to me if you like, I don't know who maintains

[symfony-users] Re: sfThumbnailPlugin

2008-04-23 Thread Ian P. Christian
CX wrote: thanks for your replies guys. the file is a valid picture, i tested it with the whole path '/var/ www//image.jpg' and it didn't wor either. :( ps: i don't know how to open a ticketcan anyone tell me? http://trac.symfony-project.com/ - you'll need to register first

[symfony-users] Re: sfThumbnailPlugin

2008-04-23 Thread Ian P. Christian
CX wrote: this is my code at a partial template ?php $thumbnail = new sfThumbnail(1500, 100, true, true, 75, 'sfGDAdapter'); $thumbnail-loadFile('/'. sfConfig::get('sf_upload_dir_name') .'/ photos/'. $agenda-getPhoto()); $thumbnail-save('/'.

[symfony-users] Re: sfThumbnailPlugin

2008-04-23 Thread Ian P. Christian
('sf_upload_dir') .'/ photos/'. $agenda-getPhoto()); ^ that's what you should try instead. I removed the _name from the sfConfig::get() call. That's it - I hope! On Apr 23, 11:56 am, Ian P. Christian[EMAIL PROTECTED] wrote: CX wrote: this is my code at a partial template ?php

[symfony-users] Re: sfThumbnailPlugin

2008-04-23 Thread Ian P. Christian
CX wrote: correct! THANK YOU Ian, :) No problem - welcome to the community btw - hopefully the support you've had here proves you should be using symfony, not cake ;) I have just committed a 'fix' in r8609 [1] that improves the error message when an invalid filename is passed. If

[symfony-users] Re: sfGuardPlugin

2008-04-23 Thread Ian P. Christian
Haris Zukanović wrote: Hi ppl, We use symfony 1.0 I wanted to try out the sfGuardPlugin. Does sfGuardPlugin rely on credentials that are written in yml files ? rely in what sense? It allows you to use secury.yml, yes - sfGuard uses the standard symfony credentials. Does it work with

[symfony-users] Re: Does sfDoctrine support multiple databases opened simultaneously?

2008-04-23 Thread Ian P. Christian
Gloria W wrote: This isn't working out as cleanly as you've stated. Is this a bug, or am I missing something? I've never build my schema.yml from a database - I think doing so is a little backwards, especialy considering the model cuodl potentially differ from the underlying database

[symfony-users] Propel13 and sf1.0

2008-04-22 Thread Ian P. Christian
Hi all, Has anyone managed to get the current version of propel1.3 working ? I've discovered a couple of issues and thought i'd quickly mail the list just in case I was re-inventing the wheel. Firstly, the latest propel1.3 uses a newer version of phing then symfony 1.0.13 provides. I fixed

[symfony-users] Re: sfThumbnailPlugin

2008-04-22 Thread Ian P. Christian
plugins/sfThumbnailPlugin/lib/sfGDAdapter.class.php 80 public function loadFile($thumbnail, $image) 81 { 82 $imgData = @GetImageSize($image); 83 84 if (!$imgData) 85 { 86 throw new Exception(sprintf('Could not load image %s', $image)); 87 } This

[symfony-users] Re: Accesing sfActions method from sfAction class

2008-04-20 Thread Ian P. Christian
Mohammad Ali Safari wrote: I had a bunch of method in one of my modules and, as the number of actions increased, I decided to move some action into separate sfAction files. I've thought about this before. One option would be to have a BaseXxxAction where Xxx is your module name, then

[symfony-users] sfPropel13 bug?

2008-04-16 Thread Ian P. Christian
Please keep in mind, I don't use propel anymore, and haven't for years, so I'm almost at n00b level I guess ;) I've been told to fix a problem in a website using it however, so I've had to get the hands a little dirty This code: $c = new Criteria(); //pager $pager = new

[symfony-users] Re: sfPropel13 bug?

2008-04-16 Thread Ian P. Christian
Kiril Angov wrote: I think you are right that there is a problem, but it should be reported to the Propel guys rather than here. Ah well - the reason I didn't is because in propels SVN trunk, BasePeer class doesn't even have a doCount() method, so I'm not too sure if it's a symfony thing or

[symfony-users] Re: symfony cc problem

2008-04-11 Thread Ian P. Christian
Joe Kelsey wrote: I have a symfony project with three apps: sales, tracking and admin. I have been working on it for a while, and I thought that something to do before I start releasing it is to clear the cache. I tried: symfony cc PHP Fatal error: Class '\adminConfiguration' not found in

[symfony-users] Re: Symfony + Propel + Multiple Schemas

2008-04-10 Thread Ian P. Christian
Ryan G wrote: Reynier - I agree with you - this is exactly my situation too. As far as I'm aware Doctrine also does not support this yet. There is a ticket for this issue: http://trac.phpdoctrine.org/ticket/594, and heres Propels: http://propel.phpdb.org/trac/ticket/460 ... Apparently nobody

[symfony-users] Re: sfValidatorAnd

2008-04-10 Thread Ian P. Christian
Dmitry Nesteruk wrote: I have following code $validatorMobilePhone = new sfValidatorAnd( Dunno if this helps, but... sfValidatorAnd has a 2nd param that is the optoins, which most use as the 1st param.. 39 public function __construct($validators = null, $options = array(),

[symfony-users] Re: Custom Escaping Method

2008-04-03 Thread Ian P. Christian
Alex wrote: Hello, I would like to use my own class for escaping output. escaping_method: ESC_ENTITIES # Function or helper used for escaping. Accepted values: ESC_RAW, ESC_ENTITIES, ESC_JS, ESC_JS_NO_ENTITIES. Unforunatly, you can't - atleast not in sf1.0 (I've not checked sf1.1,

[symfony-users] Re: sfAlternativeSchemaPlugin broken on Windows?

2008-04-03 Thread Ian P. Christian
Lee Bolding wrote: I'm guessing that it's something to do with hardcoded /'s in paths or maybe 2 /'s in a row - took me ages to figure that out when deploying onto a windows machine once actaully, maybe a co-worker figured it out... either way, annoying :) define(SOMETHING,

[symfony-users] Re: sfAlternativeSchemaPlugin broken on Windows?

2008-04-03 Thread Ian P. Christian
Lee Bolding wrote: I'm guessing that it's something to do with hardcoded /'s in paths or maybe 2 /'s in a row - took me ages to figure that out when deploying onto a windows machine once actaully, maybe a co-worker figured it out... either way, annoying :) define(SOMETHING,

[symfony-users] Re: Fwd: login logout tutorial

2008-04-02 Thread Ian P. Christian
mohammad nikna wrote: hi i need tutorial about login and logout Please see the manual (security section), and the askeet turtorial. Also, have a look at sfGuard plugin. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: a mixing for all get*

2008-04-02 Thread Ian P. Christian
hutchic wrote: If I had access to aspect programming I'd be in the zone unfortunately. Wondering off topic a tiny bit. Have you used/seen http://phpaspect.org/ ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[symfony-users] Re: accessing template output from within an action

2008-04-02 Thread Ian P. Christian
Richtermeister wrote: Hi all, I'm trying to tie a shipping live-lookup API into my application via XML, and I was wondering how I'd best go about generating that XML to be sent out via curl.. You should be using XSLT templates, with XML data, NOT sfView for generating XML. But, if

[symfony-users] Re: accessing template output from within an action

2008-04-02 Thread Ian P. Christian
Richtermeister wrote: Hi Ian, thanks for the prompt response.. I don't insist on my approach, I just don't know any better :) I haven't come accross XSLT templates, but now I'm intrigued.. where can I find more about that? Well, to generate XML, you should never use echo/print etc

[symfony-users] Re: Retain internal value after forward()

2008-04-01 Thread Ian P. Christian
Kasper G wrote: On 31 Mar., 22:09, Mohammad Ali Safari[EMAIL PROTECTED] wrote: You probably want to use flash instead:http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Laye... Using flash is essentially storing the value in the session with the added

[symfony-users] Re: Symfony 1.1 and sfMail

2008-04-01 Thread Ian P. Christian
[EMAIL PROTECTED] wrote: How I can use send mail functionality like sfMail in the symfony 1.1? I know if set compat_10: on in the settings I can use sfMail, but as far as I know this setting uses for compatible old versions symfony with symfony 1.1, am I right? I developing new project on the

[symfony-users] Re: partial cache

2008-04-01 Thread Ian P. Christian
kusum wrote: i enabled partial caching cache.yml file .how i can check that is working properly Personally, I edit settings.yml to enabled caching in dev, and then you get pretty boxes around cached areas. --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: Problem when building model

2008-04-01 Thread Ian P. Christian
Yohan 'rouKs' G. wrote: I have the following problem when I make a symfony propel-build- model : Fatal error: Declaration of UnixFileSystem::getBooleanAttributes() must be compatible with that of FileSystem::getBooleanAttributes() in / usr

[symfony-users] Re: How stable are the javascript/ajax functions

2008-04-01 Thread Ian P. Christian
Tom Haskins-Vaughan wrote: Hi, I've just been reading chapter 11 of The Book (Ajax Integration) and I have to say I am pretty excited. I don't relish the thought of tweaking endlessly with Javascript to get basic functionality working across browsers. I don't use them. Personally, I

[symfony-users] Re: doselectRS questions

2008-03-30 Thread Ian P. Christian
Charley Tiggs wrote: Ian, If you're not using propel and you're not using Doctrine... What are you using, if I may ask? Internally developed solution - we intend to release it when we have enough time :) --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: persistent:true (DB connection pooling)

2008-03-28 Thread Ian P. Christian
Fabian Lange wrote: Hi Sumedh, unfortunately PHP is not there yet with regards things like resource pooling. Its PHP what limits it more than the capabilities of mysql. Yes it can improve performance for you to use persistent connections, but the mechanism isn't that sophisticated as in

[symfony-users] Re: session collisions

2008-03-28 Thread Ian P. Christian
hutchic wrote: We've recently moved to a multi-webhost multi-database setup. However now the session table keeps having collisions You need to use transactions and read a little about concurrency issues I think :) the default database session backend doesn't do locking, and you're

[symfony-users] Re: doselectRS questions

2008-03-28 Thread Ian P. Christian
[EMAIL PROTECTED] wrote: The second method returns an object, and I need the array. I don't use propel anymore, but just some advice... Try to remove as many lines as possible from your problem before reporting it - there's a lot of stuff going on in your pastes, and I wonder if 90% of it

[symfony-users] Re: sfGuard forgotten password functionality

2008-03-26 Thread Ian P. Christian
This might be useful: http://pookey.co.uk/blog/archives/40-Stateless-password-reset-system.html --~--~-~--~~~---~--~~ 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] Re: Symfony CMSes

2008-03-24 Thread Ian P. Christian
cleve wrote: Thanks Ian, That's really useful. Any luck with sfDynamicCMS plugin? I see sylvio has released a new version this morning. I'll be giving Sylvio SSH access on Tuesday to get it working - that one does look rather interesting :) There's also

[symfony-users] Re: Doctrine Admin Generator

2008-03-24 Thread Ian P. Christian
Usman wrote: Hi all i am using symfony 1.1 (beta)with Doctrine as ORM but for admin generator its not working . doctrinie-init-admin command throws an error Fatal error: Call to a member function mirror() on a non-object in C: \wamp\www\yigg\plugins\sfDoctrinePlugin\lib\task

[symfony-users] functional testing in sf1.1

2008-03-10 Thread Ian P. Christian
Hi all, How do you people go about functional testing on your forms in sf1.1, when by default forms result a CSRF token? I imagine there's an easy way that I'm currently oblivious to :) Thanks, -- Ian P. Christian ~ http://pookey.co.uk

[symfony-users] Re: Shouldn't this group be moderated? To avoid porn?

2008-03-07 Thread Ian P. Christian
the required steps. The list gets a spam here or there, it's not a huge problem though, at the moment it's pretty easy to just delete them ;) -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: Smart Routing Rules?

2008-03-07 Thread Ian P. Christian
whihc one, look at the wiki) to inject your own routing rules during application config you could add a route for each module there, there really ideal though, but it would work. -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ You

[symfony-users] Re: Symfony 1.1 - Conditional validator

2008-03-05 Thread Ian P. Christian
Joao wrote: Hello, This seams to be a recurring need, validate a field only if another field has some value. Does symfony 1.1 has any validator that allows to do this ? This is someting you'd ned to do with a postValidator, as they are provided with the full array of fields... I don't

[symfony-users] Re: Putting forms in session

2008-03-04 Thread Ian P. Christian
livliness, and reducing server load. -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Session performance

2008-03-03 Thread Ian P. Christian
data to be sent forwards and backwards). -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Session performance

2008-03-03 Thread Ian P. Christian
, and not a memcache server, perhaps just using the database is better. So, short answer, I don't know - but there's food for thought at least :) -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: E-commerce frameworks

2008-03-03 Thread Ian P. Christian
Cart to integrate with symfony - but I know nothing about that really :) Dunno if that helps... -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group

[symfony-users] Re: Session performance

2008-03-03 Thread Ian P. Christian
Nicolas Perriault wrote: On Mon, Mar 3, 2008 at 11:56 AM, Ian P. Christian [EMAIL PROTECTED] wrote: there's overhead in connecting to a memcache server Interesting. Do you have any pointer on this ? I thought memcache was the fastest solution for session storage at any scale

[symfony-users] Re: i18n.yml: What are [T] and [/T] for?

2008-03-02 Thread Ian P. Christian
Takaaki Kato wrote: Hi, I don't have the slightest idea how to use these. Any suggestion would be appreciated. You don't 'use' them they are there so you can see untranslated strings. --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: form validation -- model validation

2008-03-02 Thread Ian P. Christian
Thomas Rabaix wrote: The original propel project handle validation at the Model level. This feature has not been kept on symfony, don't know why ... Firstly, please don't cross post! :) Secondly, whilst I don't know why it was not done this way - but validating things in the model doesn't

[symfony-users] Re: use_helper('Javascript') display no javascript, anybody knows why ?

2008-03-02 Thread Ian P. Christian
Marcelo wrote: So, it is not normal ? When use a helper the javascript MUST appear ? This is a bit of a guess, because yu're a bit vague But maybe you're using javascript_tag, but not 'echo javascrit_tag(...)'; --~--~-~--~~~---~--~~ You received this

[symfony-users] Re: 1.1 beta: routing with periods

2008-03-01 Thread Ian P. Christian
Carl Vondrick wrote: Using 1.1 beta1 (r7613), how can I specify the variable separators in the routing.yml file? I need a variable to contain periods, but the new system assumes those to be routing separators. Hi Carl :) 10 content: 11 url: /content/:slug 12 param: { module:

[symfony-users] Re: Credentials for fields and validation

2008-03-01 Thread Ian P. Christian
Haris Zukanovic' wrote: If anyone from symfony team would confirm this to be right conclusion maybe we can discuss on where to solve it. The problem is that validation for required is done way ahead of even knowing if the operation is create or edit (or in other words if the

[symfony-users] Re: 1.1 beta: routing with periods

2008-03-01 Thread Ian P. Christian
Carl Vondrick wrote: On Saturday, March 01, 2008, Ian P. Christian wrote: That allows a period in 'slug' Also, take a look at the test cases for the routing stuff. Hmm, yes, I guess that's how you're supposed to do it. I was expecting a variable_separator key or something like

[symfony-users] Re: Django

2008-02-08 Thread Ian P. Christian
to do it for some clients). Couldn't agree more, I'm up for HUGE BC breaks in PHP between, for exmaple, PHP5 and PHP6 if it means improvements to the language itself. Trying to support the mistakes from the past forever is a silly idea IMO. It won't happen though :) -- Ian P. Christian ~ http

[symfony-users] Re: Final Week!

2008-02-07 Thread Ian P. Christian
Ian P. Christian wrote: Just a reminder It's the last week now for you to show your appreciating for symfony, and thank 2 key members of the community! http://www2.pookey.co.uk We've done very well so far, but I'm sure we can do better! Thank you for your support :) Today

[symfony-users] Re: MySQL Version 4.1.x ok?

2008-02-04 Thread Ian P. Christian
RobRoyAus wrote: When signing up you have to choose a server with either MySQL 4.1.x or MySQL 5.0.x snip Any warnings here guys? MySQL 5 is backwards compatible isn't it? I would avoice MySQL 4 at all costs, it's missing features are far too limiting. -- Ian P. Christian ~ http

[symfony-users] Re: routing problem

2008-02-02 Thread Ian P. Christian
The problem now is that matching is done before connecting all the prepended routes (seems so) which ends in matching one of the default routes from routing.yml - only these are available for the parser in sfRouting at this point. Are you using sf1.1? If so, this is a known problem

[symfony-users] Final Week!

2008-01-31 Thread Ian P. Christian
Just a reminder It's the last week now for you to show your appreciating for symfony, and thank 2 key members of the community! http://www2.pookey.co.uk We've done very well so far, but I'm sure we can do better! Thank you for your support :) -- Ian P. Christian ~ http://pookey.co.uk

[symfony-users] Email and sf1.1

2008-01-29 Thread Ian P. Christian
Email functions are depreciated it seems - what's the 'correct' way to handle emails in sf1.1? Thanks, -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] adding fields to the edit form in the admin generator

2008-01-28 Thread Ian P. Christian
the request parameter is passed to doctrines -fromArray() function - it will error saying that 'password_again' is an invalid property of the crm_user model. -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: My third project of Symfony

2008-01-25 Thread Ian P. Christian
PROTECTED]. You might want to make the no-reply address routable, and just /dev/null it - also, no postmaster account? BAD! ;) -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: My third project of Symfony

2008-01-25 Thread Ian P. Christian
Ian P. Christian wrote: Hi Nicolas, 2008-01-25 11:05:11 [18006] H=nikobox.net [88.191.38.139] Warning: [CALLOUT] Postmaster Callout failed: Sender verify failed sorry list, ignore that- it was meant to be sent offlist. -- Ian P. Christian ~ http://pookey.co.uk

[symfony-users] Re: who's trying zend for eclipse?

2008-01-24 Thread Ian P. Christian
Pierre Joye wrote: I'm a happy user of vim with the xdebug plugin. The *only* reason I RSSed your blog was because *someone* told me that you were going to document this.. ;) Looking forward to your post Pierre :D -- Ian P. Christian ~ http://pookey.co.uk

[symfony-users] Re: A big thank you, and congratulations to FF

2008-01-23 Thread Ian P. Christian
Ian P. Christian wrote: Hi guys, snip In a rather strange move, caused by [MA]Pascal on IRC suggesting a French translation, and then lots more people suggesting translations from other languages we now have the donation site in a number of languages! More so, it's now been opened up

[symfony-users] Re: $sf_user in model?

2008-01-23 Thread Ian P. Christian
[EMAIL PROTECTED] wrote: static function getStaff($criteria = null, $con = null) { sfContext::getInstance()-getRequest()-getUser() I think.. something like that. If I'm wrong, you'll want to read the API docs... I can't rememer off hand where the User sites, if it's part of

[symfony-users] Re: A big thank you, and congratulations to FF

2008-01-22 Thread Ian P. Christian
Ian P. Christian wrote: I put a closing date of the 31th of Janurary. As requested off list, this has been increased to the 7th Feb, so allow for a end of month/beginning of month pay checks! -- Ian P. Christian ~ http://pookey.co.uk

[symfony-users] Re: Symfony 1.1 Questions

2008-01-16 Thread Ian P. Christian
that. However, actions in symfony are almost always passed a request of type sfWebRequest - so really, it doesn't matter a great deal... However I see a case where at some point, a CLI request could be made to actions, and constants like GET and POST wouldn't apply. -- Ian P. Christian ~ http

[symfony-users] Re: dimensions plugin name changed

2008-01-16 Thread Ian P. Christian
-- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ 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 group

[symfony-users] Symfony talk in London - Feb 29th

2008-01-10 Thread Ian P. Christian
will appear on a slide, free publicity! Secondly, if anyone has any presentation material they want to share, please feel free to send it on to me :) Thanks, -- Ian P. Christian ~ http://pookey.co.uk --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: any way to access getisXmlHttpRequest preExecute?

2008-01-10 Thread Ian P. Christian
Lee Bolding wrote: I've got a custom class that extends sfActions, and in it's preExecute method I want to disable layout for any AJAX requests. This is done automagically for you in symfony anyway. -- Ian P. Christian ~ http://pookey.co.uk

[symfony-users] Re: Symfony talk in London - Feb 29th

2008-01-10 Thread Ian P. Christian
Ian P. Christian wrote: Firstly, I will be covering employment of symfony developers - I would like to know from companies using symfony, and how many developers they employ - in exchange your logo will appear on a slide, free publicity! Sorry, I should have mentioned, I'm primarily

  1   2   >