[symfony-users] where to put ajax url

2010-07-08 Thread Kevin
).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" group. T

[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 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 package? > > I

[symfony-users] Re: Urls in Javascript

2010-08-09 Thread Kevin
rg/blog/html-5-data-attributes/ but using this breaks xhtml validation... - Kevin On Aug 9, 1:16 am, "Sebastien Armand [Pink]" 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

[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 optimi

[symfony-users] Re: mobile site strategy

2010-09-07 Thread Kevin
et to the > > > existing app. > > > > > You can trigger events in your project configuration upon user agent to > > > change templates and specific configuration. > > > > > The strategy to use another app depends wether yourmobileapp should > > > have

[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 wrote: > Thanks, this stuff is great.  Never thought of that. > > On Sep 7, 3:49 am, klemens_u wrote: > > > Hi, > > > it's basically really just a question of view. > > > Here&#x

[symfony-users] Re: mobile site strategy

2010-09-08 Thread Kevin
' ) >         { >             $this->setLayout( 'myMobileLayout' ); >         } >     }} > > * > Then in your action > > class myOwnAction extends myBaseAction > { >     public function preExecute() >     { >         parent::preExecute(); > >

[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 wrote: > Hello, > > In your app/app_name/templates/layout.php you have to include: > >     >     >     > > On Fri, Oct 15, 2010 at 7:45 PM, Javier Garci wrote: > >  Hi, > > > i have installed sfAdminDashPlugin but the

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

2010-12-08 Thread Kevin
lugin on the symfony-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

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

2011-04-13 Thread Kevin
n accessing multiple 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,

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

2011-04-13 Thread Kevin
ultaneously (e.g. a page and it's Assetic assets) with the profiler enabled. It seems strange, since my pdo_connection service is using a mysql connection. But I don't get those errors with native session storage. Any ideas would be much appreciated! Thanks, Kevin -- If you want t

[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
r, you could also just do something quick and dirty like: $mailer = $this->get('mailer'); // ... stuff with \Swift_Message Hope this helps! Kevin On Apr 19, 1:34 pm, hollo wrote: > Hi, > > I have found a weird problem, i dont really think it about > swiftmailer, but with

[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 wrote: > I'd like to know how to do this as well. > > On Mar 9, 9:33 am, "Don Pinkster" wrote: > > > > > > > > > I amtestingmy services (controllers) with plain PHPUnit, this all works > > great. But now I want totestmy entities and r

[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 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 > (x86)\Zend\Apache2\htdocs\Symfony\v

[symfony-users] Name conflicts in Twig blocks

2011-06-22 Thread Kevin
o it. I'm almost imagining something like: {# Overrides FOSUserBundle::layout.html.twig #} {% extends 'MyBundle::base.html.twig with { 'content': 'base_content' } %} {% block base_content %} {% block content %} {% endblock %} {% endblock %} Anyone know if som

[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 G

[symfony-users] Re: commit problem

2009-11-11 Thread Kevin
e, Nov 10, 2009 at 2:39 PM, Kevin Bond 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 > > MKACT

[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
d 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 wrote: > > I seem to be having trouble installing plugins through the

[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 t

[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] Re: sf_user in url

2010-01-07 Thread Kevin
this but a way without having their name in the url would be better. On Jan 7, 1:41 pm, Kevin wrote: > 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

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

2010-01-17 Thread Kevin
s 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 wrote: > Hi everybody, > &

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

2010-01-17 Thread Kevin
z à Votre Responsabilitée Environnementale! > > On Sun, Jan 17, 2010 at 8:31 PM, Kevin 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 > > nev

[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 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 you

[symfony-users] best practice change web directory

2010-03-11 Thread Kevin
ootDir().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

[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 iss

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

2010-03-12 Thread Kevin
> Lea > > On Mar 12, 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 pr

[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 generator

[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 a

[symfony-users] Re: Adding a global error if embedded forms have errors

2010-12-27 Thread Kevin Dew
you could just pass the errorSchema for the form to a post validator like you suggested and then check if it has errors at the names of the embedded form fields On Dec 27, 10:40 am, Rytis Daugirdas wrote: > I wouldn't have asked the question if the solution was presented in > the manual. I think

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

2009-05-05 Thread Kevin Barsotti
resultant page says "Thank you!Thank you!". For some reason it's loading the contents of thankYouSuccess.php /twice/. Any idea what could cause this? -- Kevin Barsotti Operations Director Tribal Dawn, LLC 412.736.1357 --~--~-~--~~~---~--~~ You receive

[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 rende

[symfony-users] Good Propel HOWTO with examples?

2009-05-06 Thread Kevin Barsotti
l would 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 412.736.1357 --~--~-~--~~~---~-

[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 are

[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? --

[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 G

[symfony-users] Re: sfDoctrineGuardPlugin strange behavior

2009-08-08 Thread Kevin Bond
tials > > On Aug 7, 11:43 am, Kevin Bond 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

[symfony-users] Re: sfDoctrineGuardPlugin strange behavior

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

[symfony-users] new translation task

2009-08-12 Thread Kevin Bond
lugin 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" gr

[symfony-users] sfDoctrineActAsTaggablePlugin question

2009-09-01 Thread Kevin Bond
e returned. 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

[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 wrote: > Hi. > > Have you tried to pass to getPopulars() a query similar to this one? > >> $q = Doctrine_Query::create()->from('Article a')->where(&#x

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

2009-04-15 Thread Kevin Barsotti
implementation. -- Kevin Barsotti Operations Director Tribal Dawn, LLC 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@google

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

2009-04-15 Thread Kevin Barsotti
? > > http://uk3.php.net/manual/en/function.date-format.php > > On 15 Apr 2009, at 09:03, Kevin Barsotti wrote: > > >> I'm working on an application that deals with a large amount of data, >> including DATETIME format dates. These dates have different >

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

2009-04-15 Thread Kevin Barsotti
thing that can be done with a single > php function. > > On Wed, Apr 15, 2009 at 19:29, Kevin Barsotti > wrote: > >> There's no way to do this within the Symfony framework's available >> functionality? I really don't like stepping out of the frame

[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 "201

[symfony-users] Multiple actions, one template?

2009-04-16 Thread Kevin Barsotti
hp executeC()-> 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

[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 > mailto:kevin.barso...@tribaldawn.com>> &

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

2009-04-19 Thread Kevin Barsotti
; enabled_modules: [default, sfMediaLibrary, sfFormExtra, >>> sfErrorHandler] >>> >>> I still get a plain white screen. Can anyone suggest what I do next? >>> >>> This error reminds of what I face when I have a syntax error in

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

2009-04-20 Thread Kevin Barsotti
e > I might be wrong. > > Given a blank white screen, there are 3 main things I should check: > > 1.) clear the cache > > 2.) look for parse errors in yml files > > 3.) look for permission errors > > but I have done all these things. So what is next? What 4th area >

[symfony-users] commit problem

2009-11-10 Thread Kevin Bond
og into my 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 em