Re: [symfony-users] Re: Junior and Mid-level PHP Developer Jobs in Leeds, UK

2010-08-27 Thread Stephen Melrose
Good call, and have done. Thank you. On 27 August 2010 10:05, halfer wrote: > On Aug 25, 8:56 pm, Stephen Melrose wrote: > > MadeByPi in Leeds are looking to hire a Junior and Mid-level PHP > > developer. > > > > For more information, please see

[symfony-users] Junior and Mid-level PHP Developer Jobs in Leeds, UK

2010-08-25 Thread Stephen Melrose
MadeByPi in Leeds are looking to hire a Junior and Mid-level PHP developer. For more information, please see the following, http://www.madebypi.co.uk/news/php-development-roles.aspx Cheers, Steve -- If you want to report a vulnerability issue on symfony, please send it to security at symfony

Re: [symfony-users] Re: Emails and multiple Applications

2010-08-02 Thread Stephen Melrose
; applications that need it. > >gabriel > > On Aug 2, 5:26 pm, Stephen Melrose wrote: > > Hey, > > > > I've just been reading up on email best practices for 1.3/1.4. > > > > It all makes sense, however my project has two applications (fron

[symfony-users] Emails and multiple Applications

2010-08-02 Thread Stephen Melrose
Hey, I've just been reading up on email best practices for 1.3/1.4. It all makes sense, however my project has two applications (frontend and backend) and both will be sending the same email. I don't want to duplicate my template into both applications, but at the same time I don't know how to c

[symfony-users] Re: Custom Propel Behavior In 1.4

2010-05-25 Thread Stephen Melrose
out how to get the behavor to alter the table using modifyDatabase(). If I run build-model or build-sql by themselves, the modifyDatabase() method on my behavior doesn't even run, so I don't know how to hook it up into the build process properly it would seem. Thanks. On 25 May 2010 11

[symfony-users] Custom Propel Behavior In 1.4

2010-05-25 Thread Stephen Melrose
Hi, I'm trying to add a custom behavior to my project, but when I run propel:build-all I keep getting the following error, 'Propel behavior "previewable" is not registered' I'm pretty sure I'm missing something stupid here, but I need a fresh pair of eyes. I've added a class called mbpPropelAct

[symfony-users] Re: [1.3/1.4] How to best implement an address using the Symfony 1.3/1.4 Form Framework?

2010-02-03 Thread Stephen Melrose
really just want 4 individual text input > fields, I'd use 4 standard widgets. > > Stefan > > On Feb 3, 2010, at 2:51 PM, Stephen Melrose wrote: > > > I have a database table with the following fields, > > > address_1 > > address_2 > > address_3 >

[symfony-users] [1.3/1.]How to best implement an address using the Symfony 1.3/1.4 Form Framework?

2010-02-03 Thread Stephen Melrose
I have a database table with the following fields, address_1 address_2 address_3 address_4 Currently in my generated form there are 4 sfWidgetFormInputText widgets, one for each field. These render out in their own rows with their own labels, errors, etc. I'd like to group these 4 fields into 1

[symfony-users] Re: Best way to implement change password functionality?

2010-01-30 Thread Stephen Melrose
e of the sfGuardPlugin, as this > shows exactly how that's done. > > Daniel > > On Jan 29, 1:23 pm, Stephen Melrose wrote: > > > Hi, > > > I'm trying to get my head around the form framework in Symfony 1.4. > > I've read the incredibly detailed se

[symfony-users] [Form Framework] Best way to implement change password functionality?

2010-01-29 Thread Stephen Melrose
Hi, I'm trying to get my head around the form framework in Symfony 1.4. I've read the incredibly detailed section in the 'More with symfony' book, but I'm still a but unsure how to implement a simple 'Change password' functionality. The requirements are pretty basic, 1. There'll be two fields,

[symfony-users] [1.4.1] (Propel) Admin Generator Behavior - Why does it work like this?

2010-01-29 Thread Stephen Melrose
Hi there, I've been having some 'issues' with the admin generator (Propel version). The HTML generation behavior between the list view and the form view is very different, and I'd like to know why, as the form view works better (and as expected) compared to the list view. I have the following YAM

[symfony-users] Reasons NOT To Use CakePHP

2009-12-17 Thread Stephen Melrose
Hey guys, We've specced a project here for Symfony, and the client has come back saying they want to use CakePHP instead because someone there end has used it, therefore can maintain it. I've heard CakePHP isn't one of the better frameworks, but I haven't used it so I don't know why. What we nee

[symfony-users] Re: Symfony Super Cache in 1.2

2009-10-01 Thread Stephen Melrose
: > Hi Stephen, > > Please contribute it if you can, or write a blog post about it. > > Thanks > Pablo > > On Thu, Oct 1, 2009 at 6:07 PM, Stephen Melrose > wrote: > > We're using APC, and it's a propel project. Still super duper slow! > > I en

[symfony-users] Re: Symfony Super Cache in 1.2

2009-10-01 Thread Stephen Melrose
We're using APC, and it's a propel project. Still super duper slow! I ended up writing my own mini version of sfSuperCache that bypasses Symfony, but at the same time uses Symfony's cache. It is about 5ms slower than serving a static HTML file. Quite impressed with myself. Might release it as a

[symfony-users] Symfony Super Cache in 1.2

2009-10-01 Thread Stephen Melrose
Hey people, We recently launched a Symfony website in 1.2 that is experiencing a very high load of traffic, and it's beginning to cripple our web server with an average processor usage of about 80-90%. We've been doing some tests, and even with pages that are cached with the layout, the overhead

[symfony-users] Re: Caching despite query string being passed?

2009-09-08 Thread Stephen Melrose
ication you would have to go into > the symfony core to make changes, probably a symfony dev could tell > more about where to make this change. > > On Sep 8, 11:47 am, Stephen Melrose wrote: > > Hi Eno, > > > > Thanks for your reply. > > > > I have to disa

[symfony-users] Re: [1.2] Caching despite query string being passed?

2009-09-08 Thread Stephen Melrose
/example.com/my/url.html/some/param I suppose my question is then, how can I make the cache for /my/ url.html ignore the query /some/param, or any other query, and just cache the page only? Thanks, Steve On 7 Sep, 17:19, Eno wrote: > On Mon, 7 Sep 2009, Stephen Melrose wrote: > > Fr

[symfony-users] [1.2] Caching despite query string being passed?

2009-09-07 Thread Stephen Melrose
Hey, >From my understanding, the minute you pass a query string on the end of a URL, the caching system is disabled. However, I need to cache a page with a query string passed to it. The query string is 100% irrelevant and is simply used to force a download in Flash. So, my question is how do I

[symfony-users] [sf 1.2 Propel Admin Generator] Sorting not working?

2009-08-26 Thread Stephen Melrose
Hi, I've just generated my first symfony 1.2 admin module using the propel:generate-admin command. That aspect worked fine, no problems. However, I am unable to sort the data in the list view. The column titles can be clicked, but no sorting query string is in the URL. The URL is simply the URL

[symfony-users] Re: Sequential Validators

2009-08-07 Thread Stephen Melrose
Actually, a sub question from this. Can you actually tell a validator to only execute when another has passed and do this without using pre/post validators? Stephen On 7 Aug, 10:29, Stephen Melrose wrote: > Jesus H Christ, sometimes it helps just to look at the source of > something d

[symfony-users] Re: Sequential Validators

2009-08-07 Thread Stephen Melrose
Jesus H Christ, sometimes it helps just to look at the source of something doesn't it? The options 'halt_on_error' does exactly what I need. Sorry to waste your time people! On 7 Aug, 10:26, Stephen Melrose wrote: > Hi all, > > I'm having some real problem

[symfony-users] [1.2 Forms] Sequential Validators

2009-08-07 Thread Stephen Melrose
Hi all, I'm having some real problems with the new form framework, specifically with validators. Basically, I'm having a lot of instances where I only want certain validators to execute when others have passed, and I can't seem to be able to do this. For example, I have a change password form.

[symfony-users] Forms - Execute a Post Validator only when widget validators have password?

2009-08-06 Thread Stephen Melrose
Hi, I'm only just delving into the world of Symfony 1.2 (yeah, I know), and so far I'm loving the form framework. I'm trying to make a login form. I have the following validators, + A sfValidatorEmail validator for the username field + A sfValidatorString validator for the password field + A po

[symfony-users] Re: Propel Unit Testing - Reset database before running sfPropelData()?

2009-07-31 Thread Stephen Melrose
 pm, Stephen Melrose wrote: > > > Balls > > > Uncaught exception 'PropelException' with message 'Cannot insert a > > value for auto-increment primary key (badword_list_group.ID)' > > > :/ > > You can do it with a trick in your model: &

[symfony-users] Re: Propel Unit Testing - Reset database before running sfPropelData()?

2009-07-30 Thread Stephen Melrose
to/project/data/saql/lib.model.schema.sql > > Perhaps that will help more :) > > - Original Message - > From: "Stephen Melrose" > To: "symfony users" > Sent: Tuesday, July 28, 2009 12:46:40 PM GMT +02:00 Harare / Pretoria > Subject: [symfony-u

[symfony-users] Re: Propel Unit Testing - Reset database before running sfPropelData()?

2009-07-28 Thread Stephen Melrose
to/project/data/saql/lib.model.schema.sql > > Perhaps that will help more :) > > - Original Message - > From: "Stephen Melrose" > To: "symfony users" > Sent: Tuesday, July 28, 2009 12:46:40 PM GMT +02:00 Harare / Pretoria > Subject: [symfony-users] Re: Prop

[symfony-users] Re: Propel Unit Testing - Reset database before running sfPropelData()?

2009-07-28 Thread Stephen Melrose
, they should get inserted as long as there's no key > conflict, and you can be sure what the ids are. > > On Tue, Jul 28, 2009 at 12:14, Stephen Melrose wrote: > > > Hey, > > > I am just setting up, or at least trying to set up, some Propel unit > > tests for an

[symfony-users] Propel Unit Testing - Reset database before running sfPropelData()?

2009-07-28 Thread Stephen Melrose
Hey, I am just setting up, or at least trying to set up, some Propel unit tests for an application we're developing. I've read the documentation online and I see how this is done and how you load test data, however I have a problem in that some of our database tables contain static data purely f

[symfony-users] Re: The object "XX" from class "YY" is not defined in your data file.

2009-03-18 Thread Stephen Melrose
;.yml"; $return = @file_put_contents($filename, $combineddata); if ($return === false) { return; } return $filename; } Thanks anyway! Steve On 18 Mar, 10:46, Stephen Melrose wrote: > Hey, > > I'm just creating

[symfony-users] [1.0] The object "XX" from class "YY" is not defined in your data file.

2009-03-18 Thread Stephen Melrose
Hey, I'm just creating a "load test data" function for my Symfony project. I have 3 YML files of data, * Constant data global to any environment, e.g. content states, etc. * Test data used in development * Live data used in production My "load test data" function runs, $data = new sfPropelDat

[symfony-users] Re: Email Templates - Where should they go?

2008-10-08 Thread Stephen Melrose
That actually makes perfect sense, and certainly does seem the sensible approach. It just seemed right to keep web and email templates seperate for some reason. On 8 Oct, 14:55, kiszl <[EMAIL PROTECTED]> wrote: > Hi, > > In my opinion most (if not all) can be linked to modules. The reset > passw

[symfony-users] Email Templates - Where should they go?

2008-10-08 Thread Stephen Melrose
Hi, I'm struggling to decide where is best to place some templates for HTML emails. I see in reality two possible scenarios, 1) Create a module called "emails" without any actions, just a template folder. Within the template folder place all the email templates as partials, e.g. "_user_resetpas

[symfony-users] Server Specific Settings

2008-10-07 Thread Stephen Melrose
Hi. This is (I'm hoping) a simple enough question. I develop locally on my machine using XAMPP, then deploy my application to my linux server for staging testing, and then live. I can do server specific settings easy enough using the config files. Lets take the database connection for example.

[symfony-users] Re: Developing Symfony 1.0, 1.1, 1.2, etc, Projects Simultaneously On One Machine

2008-09-27 Thread Stephen Melrose
of a G4, is a good thing :-) > > I do like its YAML editor though... > > > > Stephen Melrose wrote: > > One more associated question. > > > I use Eclipse, PDT and Symfoclipse to develop with Symfony. > > > Now that I have Symfony 1.1.2 as an svn:external in /lib/vend

[symfony-users] Re: Developing Symfony 1.0, 1.1, 1.2, etc, Projects Simultaneously On One Machine

2008-09-26 Thread Stephen Melrose
mpression that you should > > only freeze for deployment. Is this not the case? > > You can freeze for whatever purpose you like... Freeze basically moves > all the necessary libs inside the project structure (similar to the > external method i just described). > > On Sep 2

[symfony-users] Re: Developing Symfony 1.0, 1.1, 1.2, etc, Projects Simultaneously On One Machine

2008-09-26 Thread Stephen Melrose
cally moves > all the necessary libs inside the project structure (similar to the > external method i just described). > > On Sep 26, 3:48 pm, Stephen Melrose <[EMAIL PROTECTED]> wrote: > > > Thanks for the comments. > > > I did some playing since I posted my messa

[symfony-users] Re: seminar on "symfony-web application framework for php projects"

2008-09-26 Thread Stephen Melrose
Have you read "The Book"? It is a very comprehensive look at Symfony, and the first chapter essentially gives you all the information you need. http://www.symfony-project.org/book/1_1/01-Introducing-Symfony It details what Symfony is, how it works, how it helps developers. It even has a "Is Sym

[symfony-users] Re: Developing Symfony 1.0, 1.1, 1.2, etc, Projects Simultaneously On One Machine

2008-09-26 Thread Stephen Melrose
d > > to build the project frozen with the svn repository or included via > > externals. > > > - Jon > > > On Fri, Sep 26, 2008 at 10:43 AM, Stephen Melrose <[EMAIL PROTECTED]>wrote: > > > > Hi there, > > > > We're just coming to the e

[symfony-users] Developing Symfony 1.0, 1.1, 1.2, etc, Projects Simultaneously On One Machine

2008-09-26 Thread Stephen Melrose
Hi there, We're just coming to the end of a project here at work that we built using Symfony 1.0.17. In the not too distant future, we will be starting our next project that we will be building in Symfony 1.1 (or 1.2 if it is out by then). However, we will also need to maintain the first projec

[symfony-users] Re: Symfony 1.0 TinyMCE Error

2008-09-16 Thread Stephen Melrose
Thanks for the paste, I will try that. On 15 Sep, 20:35, "Nathanael D. Noblet" <[EMAIL PROTECTED]> wrote: > Stephen Melrose wrote: > > What on earth is causing this? > > No idea, but a few pointers that helped me with issues like the one you > are experiencin

[symfony-users] Re: Symfony 1.0 TinyMCE Error

2008-09-16 Thread Stephen Melrose
box to try > this. > > Did you try to use double quotes? According > tohttp://www.symfony-project.org/book/1_1/10-Forms > (Listing Listing 10-7 - Rich Text Area) you have to use double quotes. > Maybe that's important in the yaml files, too. > > - Dennis > > O