[symfony-users] Name conflicts in Twig blocks

2011-06-22 Thread Kevin
, or if there's a better way to be handling this situation? Thanks! Kevin -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Re: getting a fatal error using swiftmailer

2011-06-03 Thread Kevin
I was also having this issue, updating to sf2 master cleared it up for me. On Jun 2, 10:35 am, keymaster ad...@optionosophy.com wrote: Getting the identical error, also on Sf2 Beta3. *Fatal error*: Call to a member function clearAll() on a non-object in *C:\Program Files

[symfony-users] Re: Testing your Doctrine Entities and Repositories

2011-05-10 Thread Kevin
Would also like to know. On Mar 17, 10:04 am, Justin Fortier justfort...@gmail.com wrote: I'd like to know how to do this as well. On Mar 9, 9:33 am, Don Pinkster d...@pinkster.eu wrote: I amtestingmy services (controllers) with plain PHPUnit, this all works great. But now I want

[symfony-users] Re: Recaptcha validation in symfony 2

2011-04-21 Thread Kevin
Working fine for me, and actually the author just updated the README on github with new instructions (not sure if there have also been other fixes recently). What was missing from the README earlier was that you need to add validation metadata on the recaptcha form field. This looks like:

[symfony-users] Re: Seems to be some problem with swiftmailer?

2011-04-21 Thread Kevin
something quick and dirty like: $mailer = $this-get('mailer'); // ... stuff with \Swift_Message Hope this helps! Kevin On Apr 19, 1:34 pm, hollo ho...@hollo.dk wrote: Hi, I have found a weird problem, i dont really think it about swiftmailer, but with swiftmailer i can reproduce the error: When

[symfony-users] Re: Session and Security Bundle questions

2011-04-13 Thread Kevin
pages simultaneously (e.g a page and its assets) with the profiler enabled. This seems strange, since my pdo_connection service uses a mysql connection. But I don't get those errors when using native session storage. Any ideas would be much appreciated! Kevin On Mar 18, 10:36 am, Gustavo Adrian

[symfony-users] moving symfony plugin from symfony svn to github

2010-12-08 Thread Kevin
-project.com repository... and save I get an error: An error occured while saving the metadata. with The repository already exists for this plugin. To remove it, please send an email to fabien.potenc...@symfony-project.org over the checkbox Anyone know what I should do? Thanks, Kevin -- If you

[symfony-users] Re: Package template/layout as a plugin to re-use across sites?

2010-11-02 Thread Kevin Dew
The approach I've taken to doing it (which i believe took inspiration from apostrophe) was to set up a templates folder in my plugin and then just have a require statement in the sites layout to use it. What I also did was make the layout as thin as possible code wise and mostly use partials from

[symfony-users] Re: sfAdminDashPlugin is not showed properly

2010-10-15 Thread Kevin
Also make sure the user is authenticated. On Oct 15, 1:20 pm, Arnold Ispan ispanarn...@gmail.com wrote: Hello, In your app/app_name/templates/layout.php you have to include:     ?php include_component('sfAdminDash','header'); ?     ?php echo $sf_content ?     ?php

[symfony-users] Admin Generator Yaml Merging

2010-09-22 Thread Kevin Dew
Hello all. I'm having a bit of a problem having a module of a plugin where the module uses the admin generator. The problem i'm having is that the arrays in the generator.yml file are being merged with the parent file and thus i can't seem to unset fields to view. e.g. in plugin module

[symfony-users] Re: mobile site strategy

2010-09-08 Thread Kevin
How do you get it to work for layouts? On Sep 7, 8:40 am, Kevin kevinb...@gmail.com wrote: Thanks, this stuff is great.  Never thought of that. On Sep 7, 3:49 am, klemens_u klem...@ull.at wrote: Hi, it's basically really just a question of view. Here's an old blog post about creating

[symfony-users] Re: mobile site strategy

2010-09-08 Thread Kevin
myOwnAction extends myBaseAction {     public function preExecute()     {         parent::preExecute();         // More stuff     } } Regards. On Wed, Sep 8, 2010 at 2:26 PM, Kevin kevinb...@gmail.com wrote: How do you get it to work for layouts? On Sep 7, 8:40 am, Kevin kevinb

[symfony-users] Re: mobile site strategy

2010-09-07 Thread Kevin
functionnality as the 'classic' web app does, but it will be easier if most code still shared. -Original Message- From: Kevin kevinb...@gmail.com Sent: mercredi 1 septembre 2010 12:51 To: symfony users symfony-users@googlegroups.com Subject: [symfony-users]mobilesite strategy

[symfony-users] mobile site strategy

2010-09-01 Thread Kevin
I am wondering what others have done to create a mobile site for their symfony projects (when more than just a handheld stylesheet is required). What I am planning on doing is moving all my modules to a plugin and creating another app called 'mobile'. I can then override any modules I need

[symfony-users] Re: Urls in Javascript

2010-08-09 Thread Kevin
-data-attributes/ but using this breaks xhtml validation... - Kevin On Aug 9, 1:16 am, Sebastien Armand [Pink] khe...@gmail.com wrote: In both your suggestions, if I get them correctly, the idea is that from a template, I should output some javascript to set some variables or any other way

[symfony-users] Re: upgrade sfDoctrineGuardPlugin from 4.0.1 to 4.0.2

2010-07-23 Thread Kevin
I would also appreciate a svn tag On Jul 23, 5:25 am, Tom Ptacnik to...@tomor.cz wrote: I want to try a new version (5.0.0). Do you suggest to connect the trunk to my project (http://svn.symfony-project.com/plugins/ sfDoctrineGuardPlugin/trunk/) via svn external or rather instal it like a

[symfony-users] where to put ajax url

2010-07-08 Thread Kevin
: $.getJSON($(meta[name=tag_link]).attr('content')... Anybody have any other (better) suggestions? - Kevin -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups

[symfony-users] Re: swift mailer - delivery_strategy: none

2010-03-12 Thread Kevin
, 2010, at 3:22 , Kevin wrote: When the delivery strategy is set to none should swift mailer still be trying to connect to the smtp server?  In my dev environment i don't want it to.  I thought setting delivery_strategy to none prevented this. Is this expected? Thanks, Kevin

[symfony-users] best practice change web directory

2010-03-11 Thread Kevin
().DIRECTORY_SEPARATOR.'html'); } } Thanks, Kevin -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony

[symfony-users] swift mailer - delivery_strategy: none

2010-03-11 Thread Kevin
When the delivery strategy is set to none should swift mailer still be trying to connect to the smtp server? In my dev environment i don't want it to. I thought setting delivery_strategy to none prevented this. Is this expected? Thanks, Kevin -- If you want to report a vulnerability issue

[symfony-users] Re: Can't install sfAdminDashPlugin :-(

2010-02-03 Thread Kevin
Thanks Eddie, I believe installing plugins with svn:externals is considered best practice anyway. On Jan 17, 6:07 pm, EddieG ed...@umdiewelt.de wrote: Hi Kevin, thanx, that helped a lot! I now have it running, using svn:externals set to the 0.9.1. release. Works like charme and I think your

[symfony-users] Re: Can't install sfAdminDashPlugin :-(

2010-01-17 Thread Kevin
was that is was an issue with the symfony plugin system itself... For now, the best way to install the plugin is by manually downloading the package or with svn:externals. If anyone else knows why this isn't working, please let me know. Kevin On Jan 17, 11:33 am, EddieG ed...@umdiewelt.de wrote: Hi everybody, I

[symfony-users] Re: Can't install sfAdminDashPlugin :-(

2010-01-17 Thread Kevin
Responsabilitée Environnementale! On Sun, Jan 17, 2010 at 8:31 PM, Kevin kevinb...@gmail.com wrote: Hello Eddie, http://groups.google.com/group/symfony-users/browse_thread/thread/cea... Many others have had this problem with not just sfAdminDashPlugin - we never did figure out how to fix

[symfony-users] sf_user in url

2010-01-07 Thread Kevin
I am building an intranet system and would like to have the user's username at the beginning of the url: example.com/username/foo/bar. I was able to accomplish this by creating a custom routing class but I am wondering if there is a better way, with filters or something... I don't want to have to

[symfony-users] master security.yml file

2009-12-22 Thread Kevin
I have a bunch of modules I need to add credentials to, is is possible to do this in the application's security.yml config file? Or do I have to create a security.yml in each module? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to

[symfony-users] plugin:install not working for 1.3/1.4?

2009-12-18 Thread Kevin
I seem to be having trouble installing plugins through the plugin:install command in sf1.3/4. In a new project I run symfony plugin:install sfDoctrineGuardPlugin I get: Unable to get plugin licence information for plugin sfDoctrineGuardPlugin: Unknown package: sfDoctrineGuardPlugin in channel

[symfony-users] Re: plugin:install not working for 1.3/1.4?

2009-12-18 Thread Kevin
used deprecated stuff). Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Dec 18, 2009 at 3:22 PM, Kevin kevinb...@gmail.com wrote: I seem to be having trouble installing plugins through

[symfony-users] Re: commit problem

2009-11-11 Thread Kevin
, 2009 at 2:39 PM, Kevin Bond kevinb...@gmail.com wrote: Hello, I am trying to commit some changes to the trunk of my plugin but am getting this error: Commit failed (details follow): Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request for '/!svn/act

[symfony-users] commit problem

2009-11-10 Thread Kevin Bond
trac account just fine. Been a few months since I have made any commits. Thanks, -- Kevin --~--~-~--~~~---~--~~ 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: sfDoctrineActAsTaggablePlugin question

2009-09-03 Thread Kevin Bond
Yes, I get an error Couldn't find class tg On Wed, Sep 2, 2009 at 1:32 PM, Andrei Dziahel trickster...@gmail.comwrote: Hi. Have you tried to pass to getPopulars() a query similar to this one? $q = Doctrine_Query::create()-from('Article a')-where('a.active = ?', true); 2009/9/1 Kevin

[symfony-users] sfDoctrineActAsTaggablePlugin question

2009-09-01 Thread Kevin Bond
. I see the getPopulars method has the option to add a doctrine query but I can't seem to figure out how to get it to work. The documentation shows that it can be done (I think) but it hasn't been translated from propel to doctrine yet. Anyone know how to do this? -- Kevin

[symfony-users] new translation task

2009-08-12 Thread Kevin Bond
with both XLIFF and gettext. I am pretty sure there would be no issue with MySQL/SQLite. Any feedback would be appreciated. -- Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Best way to learn Symfony

2009-08-11 Thread Kevin
to learn Symfony? I'm currently reading The Definitive Guide to Symfony and going through the Jobeet tutorial. What do you recommend next? Thanks, Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: sfDoctrineGuardPlugin strange behavior

2009-08-09 Thread Kevin Bond
with sfGuardSecurityUser activated. On Sat, Aug 8, 2009 at 9:51 AM, Kevin Bond kevinb...@gmail.com wrote: No none, made no changes to the default generator.yml On Fri, Aug 7, 2009 at 5:35 PM, Michael Smith sitecr...@gmail.com wrote: Do you have any credentials declared in your generator.yml? http

[symfony-users] Re: sfDoctrineGuardPlugin strange behavior

2009-08-08 Thread Kevin Bond
#chapter_14_sub_restricting_user_actions_using_credentials On Aug 7, 11:43 am, Kevin Bond kevinb...@gmail.com wrote: Having some odd behavior with this plugin. Here is what happens: - new project with doctrine orm - create backend app - create a simple model (called article) - generate admin module in backend for model (works fine

[symfony-users] sfDoctrineGuardPlugin strange behavior

2009-08-07 Thread Kevin Bond
understanding that this module should still be public. If I generate a blank module I can get to it just fine. Just the admin generated ones i can't. anyone have any idea. -- Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Media Library Plugin

2009-08-06 Thread Kevin Bond
Hi Guys, Wondering if there is a media library plugin that is in development that is friendly with symfony 1.2 and doctrine (similar to sfMediaLibraryPlugin / sfAssetLibraryPlugin). -- Kevin --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] 'package' and doctrine

2009-08-06 Thread Kevin Bond
Hello, I couldn't find a real definitive answer to when a propel-like package attribute in the yaml will be available. I noticed in symfony 1.3 you can use it to override plugin schemas but not for independently grouping models. Is something like this in the works? -- Kevin

[symfony-users] Good Propel HOWTO with examples?

2009-05-06 Thread Kevin Barsotti
be ideal. I've been browsing the Symfony code snippets, but what I'm looking for is more of a quick general reference rather than specific problem resolutions. -- Kevin Barsotti Operations Director Tribal Dawn, LLC www.tribaldawn.com 412.736.1357

[symfony-users] Template being used twice...

2009-05-05 Thread Kevin Barsotti
reason it's loading the contents of thankYouSuccess.php /twice/. Any idea what could cause this? -- Kevin Barsotti Operations Director Tribal Dawn, LLC www.tribaldawn.com 412.736.1357 --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: Template being used twice...

2009-05-05 Thread Kevin Barsotti
Cancel that, it turns out there was a versioning issue at play and an old/defunct version of the template, containing the same text content twice, was somehow resident despite an apparently successful deploy. Thanks! Kevin Barsotti wrote: The contents of a template file are being rendered

[symfony-users] Re: i get a blank white screen, even in dev mode, even with sfErrorHandler installed

2009-04-19 Thread Kevin Barsotti
test my yml files for parse errors? -- Kevin Barsotti Operations Director Tribal Dawn, LLC www.tribaldawn.com 412.736.1357 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Multiple actions, one template?

2009-04-16 Thread Kevin Barsotti
()- cSuccess.php etc... Ideally I'd like to just use a single template, let's call it mySuccess.php, for numerous actions of this module (but not all of them!). What would you recommend as the best way to handle this? -- Kevin Barsotti Operations Director Tribal Dawn, LLC www.tribaldawn.com

[symfony-users] Re: Multiple actions, one template?

2009-04-16 Thread Kevin Barsotti
Thank you, that's exactly what I was looking for! Dheeraj Kumar Aggarwal wrote: hi you can do this by using $this-setTemplate('my'); in actions class On Thu, Apr 16, 2009 at 11:18 PM, Kevin Barsotti kevin.barso...@tribaldawn.com mailto:kevin.barso...@tribaldawn.com wrote: I'm

[symfony-users] Tricky date format requirements...

2009-04-15 Thread Kevin Barsotti
. -- Kevin Barsotti Operations Director Tribal Dawn, LLC www.tribaldawn.com 412.736.1357 --~--~-~--~~~---~--~~ 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: Tricky date format requirements...

2009-04-15 Thread Kevin Barsotti
Ooh, I didn't know I could do that with the accessor methods. Thanks! Jacob Coby wrote: On Apr 15, 2009, at 3:17 PM, Kevin Barsotti wrote: Oh, here's something weird: for some reason it is displaying a particular set of DATETIME values as 2012-31-1969. Does this value mean anything