Re: [symfony-users] Re: sfDoctrineGuard Logged User Time

2010-11-04 Thread Piers Warmers
You might also want to proceed with caution. Cross pollinating stats features into your has app like that is almost always a bad idea. Analytics is of course the obvious example of a better way to track that sort of information. I don't know anything about the app your working on or how the dat

Re: [symfony-users] Sf1.3.6 causes segmentation fault on build all reload only on Mac

2010-07-06 Thread Piers Warmers
Hi Simon, Are you using xdebug? - Piers On 06/07/2010, at 6:49 PM, Simon Hostelet wrote: > Hello, > > I've updated yesterday the project I'm working on with the 1.3.6 tag of > Symfony, containing a security fix. > > Since then, people in my team working on a Mac got a segmenation fault wh

[symfony-users] Re: Propel error after upgrading to 1.1

2008-07-02 Thread Piers Warmers
Hi Fabien, I was going to send through a patch/ticket later today, but there is a small error in the task help for configure:database Would you like me to create a ticket? Thanks, Piers > > pierswarmers$ symfony help configure:database > Usage: > symfony configure:database [--env[="..."

[symfony-users] Re: sfLucenePlugin Dead Slow

2008-07-02 Thread Piers Warmers
Nice one! Can't wait to roll that into some of my classes. Thanks, Piers On 03/07/2008, at 2:52 PM, James wrote: >>> abstract classYourBaseObject extends BaseObject >>> { >>>public function __destruct() >>>{ >>>foreach ($this as $index => $value) >>>{ >>>i

[symfony-users] Re: sfGuard, securing and Templates

2008-06-24 Thread Piers Warmers
Hi, > If the user logs out (or if the session terminates), is it possible to > redirect the user to the main page? You can set a success_signout_url configuration in the app.yml. More info here: http://trac.symfony-project.com/wiki/sfGuardPluginFor10#CustomizesfGuardAuthredirecthandling > Ma

[symfony-users] Re: sfGuard, securing and Templates

2008-06-23 Thread Piers Warmers
Yeah, It can be confusing - a few of tips: 1 ) Check out what credentials your current user has by using the dev panel. You'll need to be using your application in dev mode ( something like backend_dev.php ) and then look in: vars & config > Settings > credentials that should give you a l

[symfony-users] Re: sfGuard, securing and Templates

2008-06-23 Thread Piers Warmers
Hi Adrian, 1 ) Try something like: of if you want a more "aware" link: isAuthenticated()) ? link_to(__("logout"), "@sf_guard_signout"): link_to(__("login"), "@sf_guard_signin"); ?> 2 ) Try not to think of it in terms of authenticating a group. It all relates back to a single permission/c

[symfony-users] Re: How do I clear the frontend cache when saving from admin?

2008-05-25 Thread Piers Warmers
If you haven't already, I'd check out this: http://www.symfony-project.org/book/1_0/12-Caching#Clearing%20Selective%20Parts%20of%20the%20Cache And then take a look at the actual cache directory. It will tell you exactly how Symfony is splitting cache by environment, domain, application etc..

[symfony-users] Re: Fetching current environment

2008-05-14 Thread Piers Warmers
Something like this will do the trick: $in_dev_mode = (SF_ENVIRONMENT === 'dev') ? true : false'; On 14/05/2008, at 11:00 PM, Sumedh wrote: > > Hi guys... > > How can I fetch the value of current environment through code? > > Say I need to do something only if it is a Dev environment... > > H

[symfony-users] Re: User guide for symfony 1.1 form framework?

2008-05-07 Thread Piers Warmers
Hi Sid, I'm not sure if there is a compiled/rendered version somewhere, but I've been referring to this: http://trac.symfony-project.com/browser/doc/branches/1.1/book/ On 08/05/2008, at 9:39 AM, Sid Bachtiar wrote: > > Does anyone know where I can get the user guide (or > documentation/tuto

[symfony-users] Re: Batch mass email script

2008-05-04 Thread Piers Warmers
and this plugin might help: http://trac.symfony-project.com/wiki/sfSwiftPlugin 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

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

2008-05-01 Thread Piers Warmers
> Is this a problem with the hosting provider or symphony itself? There's no response from Apache on the project site at the moment... so it looks like an issue beyond Symfony. In my experience, Symfony has been very stable and scalable. My sites still go down - one of my hosting company see

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

2008-04-24 Thread Piers Warmers
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 is php from the cli won't have >> any session abilities... t

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

2008-04-23 Thread Piers Warmers
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 them for selected method calls - eg: @sfContext::getInstance()->getLogger... That will suppress

[symfony-users] Re: Advise me a cms and ecommerce system/platform to use beyond symfony...

2008-04-15 Thread Piers Warmers
Just on that topic... A new version is to be released in the next 8 or so hours :) There are a huge number of enhancements and a new interface: http://flickr.com/photos/pierswarmers/2300381675/in/set-72157604013900879/ I'll post an announcement when I publish the update. - Piers On 16/04/2

[symfony-users] Re: Maintaining DB scripts using Propel

2008-03-06 Thread Piers Warmers
Yep, migrations is the way to go. There is a propel plugin for this also: http://trac.symfony-project.com/wiki/sfPropelMigrationsLightPlugin - Piers On 06/03/2008, at 4:43 PM, Jonathan Wage wrote: > > This is a common problem with databases, unfortunately symfony + > Propel does not offer an

[symfony-users] Re: CMS written in Symfony / Call for help

2008-01-11 Thread Piers Warmers
Hi Stefen, Great news - feel free to email any queries to us. - Piers On 11/01/2008, at 11:01 PM, Stefan Koopmanschap wrote: > > Hi, > > Interesting project, I'm going to look at it over the coming days I > think :) > > Stefan > > On Jan 11, 9:03 am, Piers W

[symfony-users] Re: CMS written in Symfony / Call for help

2008-01-11 Thread Piers Warmers
nse of your CMS. Is it > open-source? > > François > > 2008/1/11, Piers Warmers < [EMAIL PROTECTED]>: > > Hi All, > > A quick message to announce a project some of us here at my company > have been working on. > > Steer CMS, a light yet powerful content

[symfony-users] CMS written in Symfony / Call for help

2008-01-11 Thread Piers Warmers
Hi All, A quick message to announce a project some of us here at my company have been working on. Steer CMS, a light yet powerful content management system we've put together - built entirely on Symfony. I won't divulge into too much detail here - the first post in the news section should

[symfony-users] Re: sfGuard questions

2008-01-02 Thread Piers Warmers
Hi Lee, Well sfGuard is really your stock-standard ACL system on a very basic level. What are Permissions, they effectively get added as credentials when the login action is run. Groups (sometimes called "roles") well they a re a collection of permissions. So for example: The group

[symfony-users] Re: redirecting upon logging in

2007-12-29 Thread Piers Warmers
Hi rihad, I'm not sure what the problem is? Is all you would need to do is Ise all the standard components put together in such a way they for your needs. So from what it sounds like, the sfGuard plugin is all you would need to manage thee access control. All apart from the actual login sh

[symfony-users] Re: Installation on Leopard

2007-12-18 Thread Piers Warmers
or: http://www.mamp.info/en/index.php Which has a free base version. As for Leopard, I had no problem running base symfony apps on the default installs of apache, php and mysql... I did give up on the GD support though, what pain it caused me :) I've run a number of MAMP installs without ha

[symfony-users] Re: Askeet source?

2007-11-24 Thread Piers Warmers
Ooops, Sorry about that... Maybe the recent domain changes have effected that? - Piers On 24/11/2007, at 9:48 PM, Matthias N. wrote: > > On 24 Nov., 11:39, Piers Warmers <[EMAIL PROTECTED]> wrote: >> Hi Matthais, >> >> Here is the source: >> >>

[symfony-users] Re: Askeet source?

2007-11-24 Thread Piers Warmers
Hi Matthais, Here is the source: http://www.symfony-project.org/downloads/askeet/askeet_release_1_0.tgz - Piers On 24/11/2007, at 9:30 PM, Matthias N. wrote: > > Hi, > > where can I download/checkout the Askeet project? > > Thanks in advance! > > Regards, > Matthias > > > --~--~-~-

[symfony-users] New version of sfPropelTestPlugin

2007-11-15 Thread Piers Warmers
I just noticed a new version of this plugin http://trac.symfony-project.com/wiki/sfPropelTestPlugin Just testing it out - looks very cool. Nice work Rob! Thanks, Piers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: Logging user actions

2007-11-15 Thread Piers Warmers
sounds like this is what you're after: http://trac.symfony-project.com/wiki/sfPropelAuditPlugin What that will do is log propel activity. - Piers On 16/11/2007, at 2:13 AM, Alexander Deruwe wrote: > > On 15 Nov 2007, at 07:12, Bayarsaikhan [Singleton LLC] wrote: >> How to log all actions of

[symfony-users] Re: OT: Eclipse Workflow

2007-10-25 Thread Piers Warmers
Try adding: ${string_prompt} as the variable. It should give you prompt. I'm not sure how if multiple prompts work? - Piers On 26/10/2007, at 10:05 AM, Ant Cunningham wrote: > --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[symfony-users] Re: OT: Eclipse Workflow

2007-10-25 Thread Piers Warmers
ng Directory: /fooo/bar/my_project Arguments: cc And that should be it. > I too would like to know how to set up the symfony CLI commands in > Eclipse. I never really looked at it, but read somewhere that someone > did this. How? > > Regards > > > Am Freitag, den 26.1

[symfony-users] Re: OT: Eclipse Workflow

2007-10-25 Thread Piers Warmers
> Anyone know how to do those author inserts, like they are always in > the top of the Symfony files? There are a couple of ways I do that. 1 ) Auto complete on "author" You can set up a template to help you do this. Look in Preferences > PHP > Templates and I have the following added for "

[symfony-users] Re: Propel performance patch

2007-10-15 Thread Piers Warmers
Hi Fabian, Thanks for the clarification. > but many problems with other plugins as well (e.g. the nested set one) Right, so that alone would be a big killer for me... I noticed the warnings on custom query changes. I've just installed the patch, and I'll take a look at some benchmarking la

[symfony-users] Re: Propel performance patch

2007-10-15 Thread Piers Warmers
Yeah, I've taken a look at briefly. I guess it's time to bite the bullet and give implementing a try. From the notes, there doesn't seem to be too mush todo. Thanks, Piers On 16/10/2007, at 12:12 PM, Kiril Angov wrote: > > Piers Warmers wrote: >> Hi all, >

[symfony-users] Propel performance patch

2007-10-15 Thread Piers Warmers
Hi all, I've just gone through my posts after the weekend and noticed: http://www.hma-info.de/blog/2007/10/13/better-performance-patch-for- symfony-10x-and-propel-12/ So I'm just wondering who's installed it and if there is any feedback on how much performance gain it brings? A big improveme

[symfony-users] Re: SVN is Down

2007-09-20 Thread Piers Warmers
I mean Trac :D On 21/09/2007, at 9:21 AM, Piers Warmers wrote: > > Looks like svn is down at the moment. > > - Piers > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony use

[symfony-users] SVN is Down

2007-09-20 Thread Piers Warmers
Looks like svn is down at the moment. - Piers --~--~-~--~~~---~--~~ 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] Re: GPLed plugins

2007-09-19 Thread Piers Warmers
Hmm, big topic :) OK, so licence choice is something that needs to be looked at for the Symfony community earlier, rather than later. Somebody releasing code of course has the right to choose the license. But as has been pointed out eeek! Where will this leave the idea sharing plugins

[symfony-users] Re: Batch and secured action

2007-09-10 Thread Piers Warmers
Ah, OK, so you might want to take a look at sfBrowser for that. $browser = new sfBrowser(); $browser->initialize(); $browser->setAuth ($login, $password); $content = $browser()->getResponse()->getContent(); Will probably five you the output. -Piers -- Piers Warmers ++ digit

[symfony-users] Re: Batch and secured action

2007-09-10 Thread Piers Warmers
Hi Sebastien, So I guess what you want to do is have a method which is triggered via multiple sources. So for instance: function sendOutMail() { // Sends out a mass email to all people in my database } might be triggered via an action responding to a http request, or alternatively

[symfony-users] Re: textarea_tag

2007-09-05 Thread Piers Warmers
Hi Tolga, Is probably what you're after On 05/09/2007, at 6:30 PM, tolga wrote: > > how can I add a javascript? > I guess it's different than input_tag > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "s

[symfony-users] Re: sfPropelZSLSearchPlugin

2007-09-03 Thread Piers Warmers
Plugin/lib/indexer/ > sfPZSLModelIndexer.class.php on line 9 :) > P.S. The plugin name is going to soon be changed to sfLucene... Sounds like a good idea. - Piers On 04/09/2007, at 1:37 PM, Carl Vondrick wrote: > > On Monday, September 03, 2007, Piers Warmers wrote: >> I

[symfony-users] sfPropelZSLSearchPlugin

2007-09-03 Thread Piers Warmers
Hi All, I've just taken a look at the new sfPropelZSLSearchPlugin, very cool. I'd like to contribute some updates / changes, is it in the svn repository? I can't seem to see it anywhere? - Piers --~--~-~--~~~---~--~~ You received this message because you are s

[symfony-users] Re: csI18nRoutingPlugin release / Translatable URLs

2007-08-30 Thread Piers Warmers
> will the repositories be full fledged pear channels ? if so, what > documentation did you use to set them up ? Yep, well that's the plan :) http://pear.php.net/manual/en/guide.migrating.channels.xml.php But I've only spent about 5 minutes investigating it at this stage... - Piers --~--~---

[symfony-users] Re: csI18nRoutingPlugin release / Translatable URLs

2007-08-29 Thread Piers Warmers
Yep, We're working a number of different plugins which we hope to release in the next 2-3 weeks. We will be using our own preffix and repositories. Very nice plugin. - Piers On 30/08/2007, at 1:54 AM, Christian Schaefer wrote: > > hey thanks tritan! > > yeah I though a personal prefix kind

[symfony-users] Re: Symfony API and eclipse autocompletion

2007-08-27 Thread Piers Warmers
Hi Olivier, I achieve auto-complete by including the relevant pear directories. if you don't know where that is, run: > pear config-show I'm running eclipse with PDT, and I can configure the include paths by going into: Project > Properties > PHP Include Path Then adding the desired extern

[symfony-users] Re: img tag

2007-08-10 Thread Piers Warmers
Hi Tolga, The tag would be something like: - Piers On 10/08/2007, at 5:10 PM, tolga wrote: > what would be my path to tag? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to thi

[symfony-users] Re: Building a plugin of a module

2007-08-08 Thread Piers Warmers
Hi Phil, I wrote up some very basic details here: http://terribleclaws.com/archive/2007/8/9/_symfony_plugins_- _a_five_minute_primer/ hope this helps. - Piers On 09/08/2007, at 5:43 AM, phil wrote: > > Hi, > > I'm working a webpage with two different applications - one a wiki, > one content

[symfony-users] Re: cannot install plugins

2007-07-25 Thread Piers Warmers
Can you install other pear packages? On 26/07/2007, at 11:20 AM, Angelina Talley wrote: > I have symfony running successfully on Windows Vista. So far, > everything I've built is working fine. But, I need to install some > plugins. For some reason, I cannot install any. The command does >

[symfony-users] Re: Symfony site

2007-07-25 Thread Piers Warmers
That site looks great, when is the release date? I noticed a rendering issue when the search results come back blank. http://www.terribleclaws.com/images/junk/ Gilpro_Lettings-20070726-085123.jpg - Piers On 25/06/2007, at 11:22 PM, Lucas Peres da Silva wrote: > > Hi, > > Here is our latest

[symfony-users] i18n object workflow

2007-07-22 Thread Piers Warmers
Hi all, I'm having some difficulties with i18n objects. My issue goes like this I have a post save behavior that relies on accessing the models related i18n objects. I run into issues with differing pre and post save behaviors on new and existing objects. Some code will probably describ

[symfony-users] Re: i18n and sfPropelVersionableBehaviorPlugin

2007-07-20 Thread Piers Warmers
> not anytime soon :S Heheh well, I guess I'll see what I can come up with and shoot over any interesting pieces if you like. By the looks of it, it might be a pain. But eh! Thanks anyway. On 20/07/2007, at 6:18 PM, Tristan Rivoallan wrote: > > hi, > > On 7/

[symfony-users] i18n and sfPropelVersionableBehaviorPlugin

2007-07-20 Thread Piers Warmers
Hi all, I love the sfPropelVersionableBehaviorPlugin - what a great bit of work - but I'm in desperate need for a i18n compatible solution. So what I'm wondering is a) how far off is the 0.3 release, and b) are there any other options for me. I'm under the gun a bit here, and a nice of

[symfony-users] Re: official routing method for 'default' module ?

2007-07-16 Thread Piers Warmers
Hi Davinder, If you take a look in: /apps/myapp/config/settings.yml You'll find the config settings for all those pieces... all: .actions: default_module: default default_action: index etc. - Piers On 17/07/2007, at 2:28 PM, Davinder Mahal wrote: > > Hi every

[symfony-users] Re: Backend / Frontend - Global config values

2007-07-10 Thread Piers Warmers
On 11/07/2007, at 12:31 PM, Kiril Angov wrote: > called project.yml as it makes more sense, right? Yep, I agree. I logged a ticket: http://trac.symfony-project.com/trac/ticket/1961#preview - Piers --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: Request URI as Symfony sees it

2007-06-09 Thread Piers Warmers
Yes, it was that simple : ) Thanks for the help Kiril. On 10/06/2007, at 2:40 PM, Kiril Angov wrote: > $this->getRequest()->getPathInfo() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. T

[symfony-users] Request URI as Symfony sees it

2007-06-09 Thread Piers Warmers
Hi, I'm having trouble finding how to access the Request URI as Symfony sees it, just before it starts its routing processing. So what I'd like to get for the following two URIs: /backend_dev.php/post/tags/recent/geo/bridge /post/tags/recent/geo/bridge would be "/post/tags/r

[symfony-users] Propel ID with manual setting

2007-06-07 Thread Piers Warmers
Hi, I've come up with a problem : ) Here is the outline ... I mirror models, across two tables. I would like them to share ID values, however when I set the ID value for Propel objects, that value is not reflected in the generated SQL. Is there an elegant way to handle this? To digress wit

[symfony-users] Re: FYI: Symfony Benchmark

2007-06-06 Thread Piers Warmers
Thanks for the link Grimoire. Nicely presented research. I'd love to some of the code used in these tests. I know from my experiences with frameworks, stylistic coding changes can have a huge bearing on speed. For me, I found my original Symfony Apps were much slower than my latest. I thi

[symfony-users] Re: Propel Criteria: select only a few fields

2007-05-31 Thread Piers Warmers
So doSelectRS still uses and returns doSelect You should be able to do a normal foreach loop of the returned collection. public static function doSelectRS(Criteria $criteria, $con = null) { // blah blah return BasePeer::doSelect($criteria, $con)

[symfony-users] Re: Propel Criteria: select only a few fields

2007-05-31 Thread Piers Warmers
Do you mean something like: foreach( $people as $key => $person ) { echo $person->getName(); } -- Piers Warmers ++ digital Wranglers ++ M: 0416 023 276 ++ W: 02 9770 9997 On 01/06/2007, at 9:53 AM, Greg Freeman wrote: > > How do you loop through a result set in lik

[symfony-users] Re: Do I have to update the whole tree after deleting a leaf node? [sfPropelActAsNestedSetBehaviorPlugin]

2007-05-31 Thread Piers Warmers
Hi Peter, > if I delete a leaf node I still > need to update the tree to make sure there are no gaps left in the > left/right values, right? No, that will be managed for you by the plugin. So the beauty of the plugin is all that work is managed by the plugin. A couple of things i have found:

[symfony-users] Re: Join methods not created automatically

2007-05-30 Thread Piers Warmers
: _attributes:{ phpName: Tag } id: person_id: { type: integer, foreignTable: person, foreignReference: id } address:{ type: varchar(255), required: true } On 30/05/2007, at 11:57 PM, andyjeffries wrote: > > On 30 May, 14:54, Piers Warmers &

[symfony-users] Re: Join methods not created automatically

2007-05-30 Thread Piers Warmers
Hi Andy, Can we take a look at your schema.yml file. Piers --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Database functions in Propel

2007-05-22 Thread Piers Warmers
Hi Jevon, So for some queries which use very specific functions, you might need to use some raw SQL: http://www.symfony-project.com/book/trunk/08-Inside-the-Model- Layer#Using%20Raw%20SQL%20Queries And when you do so, make sure you do it something like: $connection = Propel::

[symfony-users] Global Config Question

2007-05-11 Thread Piers Warmers
Hi all, Just looking through the documentation: > * The global configuration for the whole project (in myproject/ > config/) > http://www.symfony-project.com/book/trunk/05-Configuring- Symfony#Configuration%20Cascade However, I can't really see much more information on how global configur

[symfony-users] Clarification on myproject/config

2007-05-10 Thread Piers Warmers
Hi all, Just looking through the documentation: > * The global configuration for the whole project (in myproject/ > config/) http://www.symfony-project.com/book/trunk/05-Configuring- Symfony#Configuration%20Cascade However, I can't really see much more information on how global configu

[symfony-users] Re: Is there a howto for sfGuardPlugin??

2007-04-16 Thread Piers Warmers
enerators, probably i will not be using admin generators yet. can > you please give me links for a detailed howto for the sfGuard > plugin? thanks for the reply :) > > On 4/17/07, Piers Warmers <[EMAIL PROTECTED]> wrote: > > Hi Eric, > > If you just knock up a very s

[symfony-users] Re: Is there a howto for sfGuardPlugin??

2007-04-16 Thread Piers Warmers
Hi Eric, If you just knock up a very simple app using the admin generators, it's really simple to hook the sfGuardPlugin into that. I've found it very easy to use. On 17/04/2007, at 2:19 PM, Eric Bangug wrote: > Im looking for a sample program for sfGuardPlugin but i can't find > one.. >

[symfony-users] Propel Vs Doctrine

2007-03-06 Thread Piers Warmers
Just on the topic of Propel vs Doctrine - is there any data on how many people are using which. I've used doctrine quite a bit in the past and really like. I've not used it with Symfony since I usually like to keep things as standard as possible. Having said that, I really would like to mov