[symfony-users] Re: Deleting from database by click

2008-08-27 Thread Tom Haskins-Vaughan
. ?php for ($i=0; $icount($all); $i++){ $header = $all[$i]-getHeader(); $content = $all[$i]-getContent(); $created = $all[$i]-getCreatedAt(); echo 'a href='.$all[$i]-delete().'Delete/a'; }? -- Tom Haskins-Vaughan

[symfony-users] Re: sfShop - open source platform for building e-commerce solution, based on symfony

2008-08-25 Thread Tom Haskins-Vaughan
Hi Dmitry, Are you planning to or have you already released the code? I couldn't find it on the symfony plugins repository. I'm interested in taking a look. Cheers, Tom Dmitry Nesteruk wrote: I am working on supports different delivery and payment services. I updated demo site from svn

[symfony-users] Re: Nudge: Re: [symfony-users] How to remove a postvalidator in symfony 1.1

2008-08-23 Thread Tom Haskins-Vaughan
Thank you, sir! Fabien Potencier wrote: $this-validatorSchema-setPostValidator(new sfValidatorPass()); Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Tom Haskins-Vaughan wrote: Anyone

[symfony-users] Symfony + Prototype JavaScript Image Cropper UI

2008-08-21 Thread Tom Haskins-Vaughan
to the sfThumbnail plugin and got it working fine, but I was wondering if anyone had done a better job. If not, I'll try and package it all into a separate plugin. I'm happy to do the GD part but I have absolutely no experience of ImageMagik. Tom [1] http://www.defusion.org.uk/demos/060519/cropper.php

[symfony-users] How to remove a postvalidator in symfony 1.1

2008-08-19 Thread Tom Haskins-Vaughan
the stripped_title/slug in the save() method and so I don't need it to pass validation. I could modify my model, but I'd prefer not to. Any suggestions welcome. Thanks. Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED

[symfony-users] Re: Progressive enhancement/graceful degradation

2008-07-17 Thread Tom Haskins-Vaughan
have time I'll try and sort something out along the lines of your first suggestion. Thanks for the help. Tom Richtermeister wrote: I don't think there is a way to detect this on the first request. I guess you could fire off an ajax request and if it arrives at the server, you know JS

[symfony-users] Re: always keep a variable in URLs

2008-07-13 Thread Tom Haskins-Vaughan
#Routing%20Configuration Szabolcs Heilig -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: Backend changes language when I change language on the frontend

2008-07-10 Thread Tom Haskins-Vaughan
is change the name of the cookie for your backend app. Then you should be able to log into 2 different sessions for front / backend. Bye, Sebastian -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com

[symfony-users] Re: Problem to connect to my db

2008-07-09 Thread Tom Haskins-Vaughan
:) -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: order by clause in symfony

2008-07-09 Thread Tom Haskins-Vaughan
(); -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group

[symfony-users] Re: Escaping in partials

2008-07-08 Thread Tom Haskins-Vaughan
this. I'm sure it there's a reason, but I can't think of one. TIA Tom Nicolas Perriault wrote: On Mon, Jul 7, 2008 at 9:38 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: ?php include_partial('mypartial', sfMarkdown::convert('### Header ###') ) ? Shouldn't the second param be an array

[symfony-users] Escaping in partials

2008-07-07 Thread Tom Haskins-Vaughan
side of the partial' it has been escaped. e.g. ?php include_partial('mypartial', sfMarkdown::convert('### Header ###') ) ? will return lt;h3gt;Headerlt;/h3gt; instead of the desired h3Header/h3 Thanks in advance. Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development

[symfony-users] Re: Problem with Routing

2008-07-05 Thread Tom Haskins-Vaughan
http://localhost/[projectname]/web/index.php/security/login but everything is white, no action taken, no redirect, nothing... Any help would be really appreciated... Thanks -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED

[symfony-users] Re: Strange output escaping behaviour

2008-07-03 Thread Tom Haskins-Vaughan
pm, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Hi everyone, I have a strange thing happening. I have a fairly standard setup: backend and frontend apps. In bothe settings.yml file I have escaping_strategy set to both. When I view pages from the backend app '' characters from my database

[symfony-users] Strange output escaping behaviour

2008-07-02 Thread Tom Haskins-Vaughan
; but in the frontend, they are displayed as and so are not valid XHTML. Are there any settings that would affect this? Thanks in advance, Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com

[symfony-users] Symfony URL query strings are not properly urldecoded when they are unpacked, routed and rewritten

2008-06-24 Thread Tom Boutell
Hello fellow Symfonizers, The following was rejected as a bug report on Symfony 1.0.x because it could change existing 1.0 application behavior. Which I guess is true, in a case in which a user is trusting % to be treated literally in the query string of a URL, although that's not how URLs work

[symfony-users] Location of symfony developers

2008-06-18 Thread Tom Haskins-Vaughan
Hi guys, Kind of following on from the London meetup thread, is there someway we can do one of those maps to show where developers are based. I'd love to find out if there are any near where I am. Any ideas? Cheers, Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development

[symfony-users] Re: Slightly off topic, MLS feeds - was efficient capitalising

2008-06-12 Thread Tom Haskins-Vaughan
in /mnt/target02/349046/349320/www.walderrealty.com/mls/import.php on line 56 Oh, well, keep plodding on... Tom Jacob Coby wrote: On Jun 10, 2008, at 6:29 PM, Tom Haskins-Vaughan wrote: Thanks for that Jacob, They'll (Mosso) let me set up a cron job but unfortunately just a PHP script

[symfony-users] Re: Image rendering problem

2008-06-11 Thread Tom Haskins-Vaughan
only couple of them loaded sometimes...When I see Firebug, I see them downloaded correctly...but FF doesn't render them... And this is not idempotent as I said...that's the biggest problem in debugging the issue... Any clues? :| Thanks... -- Tom Haskins-Vaughan Temple Street Media

[symfony-users] Efficient capitalizing of uppercase source words

2008-06-10 Thread Tom Haskins-Vaughan
O'Brien Avenue I could easily do this with regex on a list of known situations, but I was wondering if anyone had done the ground work before, so that I don't have to think of all different possible scenarios. TIA Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web

[symfony-users] Re: Efficient capitalizing of uppercase source words

2008-06-10 Thread Tom Haskins-Vaughan
Excellent! Looks good. Thanks. Have you or has anyone else come across any shortcomings in this function? Guillermo Rauch wrote: Look at this: http://php.net/manual/en/function.ucfirst.php#81258 On Jun 10, 2008, at 2:08 PM, Tom Haskins-Vaughan wrote: Hi, I have a data source (CT MLS

[symfony-users] Re: Efficient capitalizing of uppercase source words

2008-06-10 Thread Tom Haskins-Vaughan
Hi Jacoby, Did you work on the CT MLS? My client's web host won't let me use a shell script. Do you think it's possible to import the data using PHP? I'll have access to a few commands through exec(). Tom Jacob Coby wrote: Well, you got some of the cases handled. It doesn't handle the Mac

[symfony-users] Slightly off topic, MLS feeds - was efficient capitalising

2008-06-10 Thread Tom Haskins-Vaughan
can download then unzip and import. I've downloaded once batch manually and I'm just working on queryng and processing the data locally. Then I'll try to get the import going -- yikes! I'll let you know how it goes. Tom Jacob Coby wrote: I've worked with data from MLSs in NC, MI, FL, CA, NY

[symfony-users] Re: how can I count online users? (what about user offline because of timeout?)

2008-06-06 Thread Tom Haskins-Vaughan
online. Just a thought. I've never done this. Tom arhak wrote: how can I count online users? what about user offline because of timeout? I've read about session storage making possible working with SELECTs, but... what happens when users go offline because of timeout? I would like to be able

[symfony-users] Criteria stored in DB

2008-06-05 Thread Tom Haskins-Vaughan
static property: Criteria::$criterion in ... But is there any way to get around it? TIA Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: Criteria stored in DB

2008-06-05 Thread Tom Haskins-Vaughan
OK, fixed it. Though if anyone has a better way please feel free to voice it :) foreach (SearchPeer::retrieveByPk($searchId)-getSearchCriterions() as $criterion) { eval(\$c-add(self::LISTING_PRICE, .$criterion-getValue()., .$criterion-getSearchOperator()-getSymfonyLabel().);); } Tom

[symfony-users] Multiple criteria for same column [was: Criteria stored in DB]

2008-06-05 Thread Tom Haskins-Vaughan
one criterion for each column. Is this really the case or have I done something wrong? TIA. Tom Tom Haskins-Vaughan wrote: OK, fixed it. Though if anyone has a better way please feel free to voice it :) foreach (SearchPeer::retrieveByPk($searchId)-getSearchCriterions() as $criterion

[symfony-users] Re: Multiple criteria for same column [was: Criteria stored in DB]

2008-06-05 Thread Tom Haskins-Vaughan
Perfect. Thanks, Scott. I'll give it a go Stereo wrote: Hi Tom, You can do this: $c1 = $c-getNewCriterion(PropertyPeer::PRICE, 20, Criteria::GREATER_EQUAL); $c2 = $c-getNewCriterion(PropertyPeer::PRICE, 205000, Criteria::LESS_THAN); // combine them into one statement $c1-addAnd

[symfony-users] Website uptime

2008-05-31 Thread Tom Haskins-Vaughan
Hi Guys, This is ever so slightly off topic, but I was wondering what people use to monitor uptime with their websites? Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com

[symfony-users] Re: Livewatch.de

2008-05-31 Thread Tom Haskins-Vaughan
Wow 10 EUR a month for 25 sites every minute seems good. Ronny wrote: Alot of people using our service at livewatch.de to monitor their websites. -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com

[symfony-users] Re: symfony and Vim

2008-05-30 Thread Tom Haskins-Vaughan
Thanks, Daevid, but I'm a penguin lover ;) Daevid Vincent wrote: FYI: http://www.e-texteditor.com/ -Original Message- From: Tom Haskins-Vaughan I have just started using Vim for my symfony development and so far (touch wood) I find it very good. (I did try Textmate once

[symfony-users] Re: snippetsEmu snippets for symfony

2008-05-24 Thread Tom Haskins-Vaughan
do you think would be useful? I was thinking * model methods * peer methods * ?php foreach(...): ? etc amongst others. Cheers, Tom P.S. I've actually just come across this, I haven't tried it yet but I'm going it give it a whirl: http://www.vim.org/scripts/script.php?script_id=2128

[symfony-users] symfony and Vim

2008-05-24 Thread Tom Haskins-Vaughan
would like to start using it: http://trac.symfony-project.com/wiki/SymfonyAndVim I couldn't find an existing page on the symfony wiki devoted to Vim, but if anyone knows of one I'm happy to contribute to that one instead. Cheers, Tom -- Tom Haskins-Vaughan Temple Street Media: Design

[symfony-users] Re: snippetsEmu snippets for symfony

2008-05-24 Thread Tom Haskins-Vaughan
Hi Eno, I had to add the following lines to my .vimrc file: filetype on filetype plugin on Also, when I was trying it, it only seemed to work on *.php files. Tom Eno wrote: On May 24, 5:32 pm, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Yeah, not sure if you've seen snippets

[symfony-users] Re: snippetsEmu snippets for symfony

2008-05-24 Thread Tom Haskins-Vaughan
Hi Eno, Did you have any luck getting the symfony snippets to work? I've managed to get the PHP ones working but not the symfony ones. Tom Tom Haskins-Vaughan wrote: Hi Eno, I had to add the following lines to my .vimrc file: filetype on filetype plugin on Also, when I was trying

[symfony-users] snippetsEmu snippets for symfony

2008-05-23 Thread Tom Haskins-Vaughan
Hi, I am experimenting with vim at the moment - I really don't want this to be yet another editor war :) - and I was wondering if anyone had come across some symfony snippets for snippetsEmu. Of if anyone was interested in creating some snippets. Let me know. Tom -- Tom Haskins-Vaughan

[symfony-users] Re: propel-load-data

2008-05-22 Thread Tom Haskins-Vaughan
Thanks, Nicholas. That works like a charm! Nicolas Perriault wrote: 2008/5/22 Tom Haskins-Vaughan [EMAIL PROTECTED]: When I do this, I don;t get any warnings like before, but I get a sfException: [sfException] Call to undefined method sfUser::getUserId That's normal, as you have

[symfony-users] Re: Correct validate file format

2008-05-22 Thread Tom Haskins-Vaughan
, which I would also welcome. On May 22, 2:59 am, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Hi, I've noticed that there are two (or more ?) different formats for the validation yml files. Which ine is the more recent/correct? TIA Tom -- Tom Haskins-Vaughan Temple Street Media: Design

[symfony-users] Mixins howto

2008-05-22 Thread Tom Haskins-Vaughan
()) { $this-setUpdatedBy(sfContext::getInstance()-getUser()-getUserId()); } parent::save(); } I know I have to add a hook somewhere but I can't work it out from the examples in the book. Can anyone help? Thanks. Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development

[symfony-users] Re: propel-load-data

2008-05-21 Thread Tom Haskins-Vaughan
() is not the best way to do it as sessions can be handled by others systems Thomas On Tue, May 20, 2008 at 11:33 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: If I change the first if statement to the following it works fine: if (!session_id()) { return parent::save(); } Am I going

[symfony-users] Correct validate file format

2008-05-21 Thread Tom Haskins-Vaughan
Hi, I've noticed that there are two (or more ?) different formats for the validation yml files. Which ine is the more recent/correct? TIA Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com

[symfony-users] Re: propel-load-data

2008-05-21 Thread Tom Haskins-Vaughan
at 6:47 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Thanks, Thomas. I tried that but I got the same error: propelload data from /home/projects/...inah-2.0/symfony/data/fixtures PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started

[symfony-users] Re: propel-load-data

2008-05-21 Thread Tom Haskins-Vaughan
; $class = get_parent_class($class); $classes[] = $class); print_r($classes); I'm not sure but I think a user always exists, but it's not the same instance depending on the context (web or cli). On 21 mai, 20:53, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Yeah, I noticed that. I tried

[symfony-users] Re: propel-load-data

2008-05-21 Thread Tom Haskins-Vaughan
, you should check via instanceof the type of session storage class, eg if you detect something like sfNoStorage, dont challenge the session data. You can get the storage object with sfContext::getStorage(). HTH ++ -- Tom Haskins-Vaughan Temple Street Media: Design and Development

[symfony-users] Re: propel-load-data

2008-05-21 Thread Tom Haskins-Vaughan
/sfSessionStorage.class.php on line 77 [sfException] Call to undefined method sfUser::getUserId Nicolas Perriault wrote: 2008/5/21 Tom Haskins-Vaughan [EMAIL PROTECTED]: Thanks Nicholas, but you've gone a little over my head. Can you let me know how to do that? In your save action, at the beginning

[symfony-users] Re: propel-load-data

2008-05-21 Thread Tom Haskins-Vaughan
) to look what env is set, and then change the factorie settings for this env. I just check into the sfPakePropel and the default env is 'dev'. You can add a second parameter with the env name to the propel-load-data command. Thomas On Thu, May 22, 2008 at 12:02 AM, Tom Haskins-Vaughan

[symfony-users] Re: propel-load-data

2008-05-21 Thread Tom Haskins-Vaughan
to undefined method sfUser::getUserId And the data is not loaded. Here is my factories.yml file: cli: controller: class: sfConsoleController request: class: sfConsoleRequest response: class: sfConsoleResponse storage: class: sfSessionTestStorage Tom Haskins-Vaughan wrote

[symfony-users] propel-load-data

2008-05-20 Thread Tom Haskins-Vaughan
defined in the index.php file but is there a better way? TIA Tom -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: propel-load-data

2008-05-20 Thread Tom Haskins-Vaughan
If I change the first if statement to the following it works fine: if (!session_id()) { return parent::save(); } Am I going to cause any problems with symfony doing it like this? Nicolas Perriault wrote: 2008/5/20 Tom Haskins-Vaughan [EMAIL PROTECTED]: Everything works fine, except when

[symfony-users] Re: List of Live Symfony Sites?

2008-05-16 Thread Tom Haskins-Vaughan
find it right now.. Where is the list of live websites that are built with Symfony? We just released a new site (www.activemotif.com), and I'd like to submit it. Thanks all, have a great night. Daniel -- Tom Haskins-Vaughan Temple Street Media: Design and Development

[symfony-users] Propel order by (column_a-column_b)

2008-05-16 Thread Tom Haskins-Vaughan
` DESC Any suggestions? -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group

[symfony-users] Re: Best way to test sending of emails in development?

2008-05-15 Thread Tom Haskins-Vaughan
Don't know if it will make any difference, but I've had success with Swift Mail and an external SMTP server from the dev environment. markchicobaby wrote: Hi Gilles, yes I tried to use the Google SMTP server. I couldn't get it working, I got an unhandled exception. See my forum post for my

[symfony-users] Re: Object select in partial - multiple queries

2008-05-15 Thread Tom Haskins-Vaughan
' = 'By', 'include_blank' = false, )); ? in examining my log files, I've realized that there is an sql for every tsime this is called. is there a better way? -- Tom Haskins-Vaughan Temple Street Media: Design and Development for the Web [EMAIL PROTECTED] | www.templestreetmedia.com

[symfony-users] Re: Javascript Bug

2008-05-15 Thread Tom Haskins-Vaughan
Why do you want to use the helper at all? Good question! Thanks, Fabian :) .: Fabian -Original Message- From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Haskins-Vaughan Sent: Donnerstag, 15. Mai 2008 21:33 To: symfony-users@googlegroups.com

[symfony-users] Re: Composite keys doesn't work!

2008-05-14 Thread Tom Haskins-Vaughan
Looks to me that you're over complicating things. Whty not have: Table country - primary key: (country_id) Table state - primary key: (state_id) - foreign key: (country_id) Table city - primary key: (city_id) - foreign key: (state_id) Tom CaioHC wrote: Doubt: I have a schema

[symfony-users] Re: Composite keys doesn't work!

2008-05-14 Thread Tom Haskins-Vaughan
Then you can do: echo $city; echo $city-getState(); echo $city-getState()-getCountry(); Tom Haskins-Vaughan wrote: Looks to me that you're over complicating things. Whty not have: Table country - primary key: (country_id) Table state - primary key: (state_id) - foreign key

[symfony-users] .bak files

2008-05-14 Thread Tom Haskins-Vaughan
Hi, I've just created a new project and I have a few .bak files in there. Is anyone else getting these? Is it new? Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group

[symfony-users] Admin generator 1.1 uploaded file name

2008-05-08 Thread tom ee
, tom --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more

[symfony-users] Re: [SPAM] [symfony-users] Running Symfony on a subdomain

2008-05-08 Thread Tom Haskins-Vaughan
Hi Marco, For some reason I have to comment out the following line to get mine to work: #RewriteRule .* - [L] Let me know if you have any luck with that. Tom Marco Schierhorn wrote: Hi, i have some problems with running symfony on a subdomain. I have created a subdomain which

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

2008-05-07 Thread Tom Haskins-Vaughan
Are you permissions on the upload directory set correctly? Yohan 'rouKs' G. wrote: Yes of course :D I don't ask for a validator wich make his job... Others fields of my forms work perfectly but I can't send files :/ Dmitry Nesteruk wrote: Did you chose a file for upload? This field is

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

2008-05-07 Thread Tom Haskins-Vaughan
I have this line in my SwiftMailer batch script: $message = new Swift_Message($subject, $body); Can anyone tell me what the = means? Thanks. Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

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

2008-05-07 Thread Tom Haskins-Vaughan
Thanks! Ian P. Christian wrote: 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

[symfony-users] Accessing model from helper

2008-05-06 Thread Tom Haskins-Vaughan
I'm about to start writing a helper. Is there any reason why I shouldn't access the model from a helper? TIA Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Tom Haskins-Vaughan
to output the html or create a helper to do this? Tom Thomas Rabaix wrote: Hello, I am not sure what you mean by access the model. but an helper can have model as argument to perform a specific task. You cannot do any logic in a helper. Thomas On Tue, May 6, 2008 at 9:58 PM, Tom

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Tom Haskins-Vaughan
Merci, Nicolas. So I there shouldn't be any problem accessing the model (having a peer method) inside the helper? Nicolas Perriault wrote: On Tue, May 6, 2008 at 10:15 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: So the question is, do I use a peer method to output the html or create

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Tom Haskins-Vaughan
Yes, that's what I was thinking, but I want to be able to only pass the photo_id rather than have to pass the src, the alt and the href. Jorge Vargas wrote: On Tue, May 6, 2008 at 4:15 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Well, here's what I want to do. I want to be able

[symfony-users] Batch mass email script

2008-05-04 Thread Tom Haskins-Vaughan
. Any help is MUCH APPRECIATED. Thanks in advance. Tom --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Batch mass email script

2008-05-04 Thread Tom Haskins-Vaughan
Thanks, Jacoby. I fear the problem with this one is that I have no control over the php settings and no shell access. I can set up cron jobs via a web gui but that's about it :( Jacob Coby wrote: http://trac.symfony-project.com/wiki/sfJobQueuePlugin On May 4, 2008, at 5:48 PM, Tom Haskins

[symfony-users] Re: Batch mass email script

2008-05-04 Thread Tom Haskins-Vaughan
It integrates the Swift libraries... http://www.swiftmailer.org/ - Piers On 05/05/2008, at 7:54 AM, Jacob Coby wrote: http://trac.symfony-project.com/wiki/sfJobQueuePlugin On May 4, 2008, at 5:48 PM, Tom Haskins-Vaughan wrote: Hi Guys, I'm struggling now and I'm way behind

[symfony-users] Re: Batch mass email script

2008-05-04 Thread Tom Haskins-Vaughan
I mean, Jacob. (I must have Ellsbury on the brain!) Tom Haskins-Vaughan wrote: Thanks, Jacoby. I fear the problem with this one is that I have no control over the php settings and no shell access. I can set up cron jobs via a web gui but that's about it :( Jacob Coby wrote: http

[symfony-users] Re: Problem with sessions in batch file

2008-05-01 Thread Tom Haskins-Vaughan
Hi Guys, Would anyone be willing to send me their batch file for sending emails from a mail queue stored in a database? TIA, Tom Tom Haskins-Vaughan wrote: So, I think I've got it going ok, but I'm getting the following notices for each time I loop thought my mail action: PHP Notice

[symfony-users] 1.1 forms: radios + selects

2008-05-01 Thread tom ee
argument. (ImagesPeer::getImages() returns an array). Thanks in advance for any help / pointers / solutions!! tom :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: http://www.symfony-project.org/ is down. again.

2008-05-01 Thread Tom Haskins-Vaughan
Can't speak for the problms with the web hosting, but in the meantime have you tried looking at Google's cached version of the Askeet tutorial? Daevid Vincent wrote: I’m new to symphony (but a guru at PHP) and this is my “frist post”. I’ve been taking the tutorial off and on since 04/21

[symfony-users] Re: Problem with sessions in batch file

2008-04-30 Thread Tom Haskins-Vaughan
complaining of a session interaction. That's were I'd start the search :) On 24/04/2008, at 10:04 PM, Tom Haskins-Vaughan wrote: Thanks, Piers. But surely a batch script shouldn't have access to the session? Piers Warmers wrote: Hi Tom, I think you will find that the issue

[symfony-users] Re: Cookie user session

2008-04-29 Thread Tom Haskins-Vaughan
My understanding is that the user session will timeout either when a user closes his/her browser or when the time limit has expired. I think you want to create a separate cookie, i.e. not the session cookie. DC wrote: I'm trying to keep users logged in for 2 weeks. I've changed the timeout

[symfony-users] Re: Cookie user session

2008-04-29 Thread Tom Haskins-Vaughan
is set to zero. What I wanna know is, would changing that to 2 weeks work? And how would I go ahead and do that? On Apr 29, 6:05 pm, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: My understanding is that the user session will timeout either when a user closes his/her browser or when the time

[symfony-users] Re: Cookie user session

2008-04-29 Thread Tom Haskins-Vaughan
, thanks a lot for your time and insight! On Apr 29, 6:22 pm, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: I'm getting out of my depth here, but I think because symfony relies on the native php session that you can't maintain a session after someone has closed the browser. Anyone else? I think

[symfony-users] Re: Standalone PHP script

2008-04-29 Thread Tom Haskins-Vaughan
http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer#Batch%20Files inrila wrote: I have a standalone PHP script, which basically looks like ?php echo Hello World!; ? for now :-), and I want to be able to run it from command line, not from the Web. No problem here.

[symfony-users] [Slightly OT] Drupal

2008-04-29 Thread Tom Haskins-Vaughan
) flexible. But I'm looking into other solutions, Drupal being one. So, having never used Drupal, would someone who has be able to compare it so symfony (yes, IO know that they're not the same beast)? I mean in terms of data model, forms, routing, etc. Thanks in advance. Tom P.S. I'm in no hurry

[symfony-users] Re: [Slightly OT] Drupal

2008-04-29 Thread Tom Haskins-Vaughan
to take that model and work with it, even if it is not with symfony. Right? Have any of you taken over existing websites/applications and changed from one CMS/framework to another? TIA Tom Jonathan Wage wrote: Drupal is great for one thing, CMS websites. As soon as you go outside

[symfony-users] Re: why having an image_tag ?

2008-04-29 Thread Tom Haskins-Vaughan
I like the neatness of it. Especially when combined with a link_to tag. I'd rather not put html into a link_to so this helps me here. Another reason, I guess, is that you could move the image folder - for whatever reason - and then just change the config rather than going through all your img

[symfony-users] Re: Problem with sessions in batch file

2008-04-24 Thread Tom Haskins-Vaughan
Thanks, Piers. But surely a batch script shouldn't have access to the session? Piers Warmers wrote: Hi Tom, I think you will find that the issue is php from the cli won't have any session abilities... thus the warnings. One solution, if the warning are driving you nuts, is to suppress

[symfony-users] Re: I need a PHP programmer ASAP for 1 month

2008-04-24 Thread Tom Haskins-Vaughan
Hi Roger, where are you based? Roger Chinchilla wrote: I currently have an application written in Flash/PHP/MySQL that I need to be made SECURE, STABLE and EFFICIENT. I would like to work hand-in-hand with a programmer or 2 and have this project completely finished in about 1 month. I

[symfony-users] Re: Validation Problem

2008-04-23 Thread Tom Haskins-Vaughan
: Ingrese telefono del contacto 2 x 2 spaces fillin: enabled: on Hope this helps. Tom CX wrote: hello again, I've this exception caused by a validator: specifies file or parameter phone, but it is missing the required attribute and on my edit.yml i got this: methods: post: [name

[symfony-users] Problem with sessions in batch file

2008-04-23 Thread Tom Haskins-Vaughan
on line 77 There are 6 warnings in total. I'm sure I'm just being really stupid, but if someone could confirm my stupidity and offer a solution that would be great :D TIA Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: Re-using a 1.1 form on the same template

2008-04-11 Thread tom ee
Thanks for the info and tips!! --~--~-~--~~~---~--~~ 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, send email to

[symfony-users] Re-using a 1.1 form on the same template

2008-04-10 Thread tom ee
Hi everyone, Hopefully someone will have come across this scenario before and will be happy to share their knowledge. I am developing a CMS, which re-uses a form in a template. The form has a text input, and a couple of hidden fields. The form is used 5 times in the view template, with a

[symfony-users] Re: difference between lib/file.php and lib/filePeer.php

2008-04-02 Thread Tom Haskins-Vaughan
OK, that's better than my answer! :D Nicolas Perriault wrote: On Wed, Apr 2, 2008 at 3:19 PM, shaiin [EMAIL PROTECTED] wrote: I'd like to know what the difference between all files.php and 'filesPeer.php' located in my 'lib' directory, please lib/model/Xxx.php: - represents a

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

2008-04-01 Thread Tom Haskins-Vaughan
. Are there any known limitations to the symfony Javascript functions? Or do they work pretty well across all browsers/browsers? Feel free to point me to a previous post if this has already been covered. I couldn't find it. TIA Tom P.s. (slightly OT) Does anyone know how I can change my email

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

2008-04-01 Thread Tom Haskins-Vaughan
though and learn a little about JS. Now since this might get slightly off topic I'll be brief: do you (or anyone else) recommend prototype over any other library? On Apr 1, 12:58 pm, Ian P. Christian [EMAIL PROTECTED] wrote: Tom Haskins-Vaughan wrote: Hi, I've just been reading chapter 11

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

2008-04-01 Thread Tom Haskins-Vaughan
PROTECTED] On Behalf Of Tom Haskins-Vaughan Sent: Dienstag, 1. April 2008 18:51 To: symfony users Subject: [symfony-users] How stable are the javascript/ajax functions P.s. (slightly OT) Does anyone know how I can change my email address on Google Groups. IT insists on using my gmail address

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

2008-04-01 Thread Tom Haskins-Vaughan
Perfect! Thanks, Fabian. Tom Haskins-Vaughan wrote: Thanks Fabian. Let's see if this works... Fabian Lange wrote: Send a mail to [EMAIL PROTECTED] will subscribe the sending address. But Yes I think it was documented better some time ago .: Fabian -Original Message- From

[symfony-users] Project on subdomains without symbolic links

2008-03-04 Thread Tom Haskins-Vaughan
Hi, I have successfully set up my project on two subdomains: www.domain.com admin.domain.com (for backend) Mosso.com won't let me use symbolic links so I had to copy everything in the web folder to both subdomains. That was fine but now I have a problem accessing the uploads folder. I was

[symfony-users] Re: Project on subdomains without symbolic links

2008-03-04 Thread Tom Haskins-Vaughan
. $sf_web_dir_name.DIRECTORY_SEPARATOR.sfConfig::get('sf_upload_dir_name'), )); Where 'domain' is my actual domain. But it doesn't work. On Mar 4, 2:45 pm, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Hi, I have successfully set up my project on two subdomains: www.domain.com admin.domain.com

[symfony-users] Re: escaping

2008-02-25 Thread Tom Haskins-Vaughan
Sorry, I meant Ian ;) Ian P. Christian wrote: Tom Haskins-Vaughan wrote: Hi, I'm just trying to get my head around output escaping. As far as I can see from The Book, symfony escapes output to the page rather than escaping anything going into the DB, (1) is this right? This is correct

[symfony-users] Re: escaping

2008-02-25 Thread Tom Haskins-Vaughan
Ah Christian, thanks! It looks like that's exactly what I was looking for! Ian P. Christian wrote: Tom Haskins-Vaughan wrote: Hi, I'm just trying to get my head around output escaping. As far as I can see from The Book, symfony escapes output to the page rather than escaping anything

[symfony-users] Using the same method for several classes

2008-02-24 Thread Tom Haskins-Vaughan
declaring all the methods. TIA Tom --~--~-~--~~~---~--~~ 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, send email

[symfony-users] Re: i18n and yml Validators ?

2008-02-18 Thread Tom Haskins-Vaughan
Just use the validator as normal. Then just put an entry in the XLIF dictionary for each validator error message. Hope this helps. Tom Joao wrote: Hello, Anyone can give me a tip on how to use i18n and yml validators ? Regards Joao

[symfony-users] I18n woes

2008-02-18 Thread Tom Haskins-Vaughan
, not in the current culture, but in the culture of my choice. Any suggestions? TIA Tom --~--~-~--~~~---~--~~ 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

[symfony-users] Re: I18n woes

2008-02-18 Thread Tom Haskins-Vaughan
Sorry, I confused myself again. I mixed up setting the culture for an object with setting the culture for the session. Tom Haskins-Vaughan wrote: Hi, As mentioned, I have an I18n table: NewsItem and NewsItemI18n. Now, as far as I know, when I create a new NewsItem as follows

<    3   4   5   6   7   8   9   >