[symfony-users] Re: Configure Assetic Filters

2011-06-07 Thread Paul Dugas
On Mon, 2011-06-06 at 09:27 -0400, Paul Dugas wrote: > Where is the correct place to call methods on the Assetic filters in an > SF2 app? I'm specifically looking to call setSkipMissing() on the > CssEmbedFilter. I can get the filter from the service container and > call the m

[symfony-users] Configure Assetic Filters

2011-06-06 Thread Paul Dugas
Where is the correct place to call methods on the Assetic filters in an SF2 app? I'm specifically looking to call setSkipMissing() on the CssEmbedFilter. I can get the filter from the service container and call the method but I'm not sure where to put that code. Paul signature.asc Descriptio

Re: [symfony-users] Re: Handling AccessDeniedException

2011-06-06 Thread Paul Dugas
ribed 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.

Re: [symfony-users] [Assetic] How to deal with images references in CSS

2011-06-02 Thread Paul Dugas
There's also the CssEmbed filter than may be useful if your users tend to actually use most of your images. $0.02, P On Thu, Jun 2, 2011 at 11:53 AM, dbenjamin wrote: > Ok, i added the cssrewrite filter to my assets but i'm not sure how to use > it. >     {% stylesheets filter='cssrewrite,?yui_

[symfony-users] Validators

2011-06-02 Thread Paul Dugas
My SF2 application provides traditional pages using forms for creating/updating entities. I'm also using the Neton\DirectBundle to provide support for a rich Internet application build using Sencha's ExtJS Javascript framework. DirectBundle allows me to publish server-side controller actions that

[symfony-users] Assetic FIlter Settings

2011-05-29 Thread Paul Dugas
Does AsseticBundle have a way to adjust Assetic filter settings from a {% stylesheets %} tag in a Twig template or from SF2 configs? The case I'm facing at the moment is with a client-side UI framework (ExtJS) that ships scss files with a few url()'s referencing missing files. I'd like to find a

Re: [symfony-users] [Assetic] on compass configuration file

2011-05-29 Thread Paul Dugas
FYI, MoOk is working on a way to use the compass executable and generate a config in /tmp. https://github.com/kriswallsmith/assetic/issues/43 Paul On Fri, May 27, 2011 at 11:59 AM, matteosister wrote: > Hi everybody. > I'm using compass and assetic to publish my assets... > After some day of

Re: [symfony-users] Re: MenuBundle Question

2011-05-28 Thread Paul Dugas
ace MyProject; > use Knplabs\Bundle\MenuBundle\MenuItem as BaseMenuItem; > class MyMenuItem extends BaseMenuItem > { >    public function getIsCurrent() >    { >        // TODO: Use $this->currentUri to do your own logic and work > out if it >        // should be marked c

[symfony-users] MenuBundle Question

2011-05-27 Thread Paul Dugas
I have a "main" menu that gets embedded via Twig in my site-wide page header. I've created additional menus for some of the deeper sections of the content. I'm wondering how I get the main menu to mark an entry "current" in a page that is logically under one of the pages referenced by that main m

Re: [symfony-users] Re: [SF2] Access Control Guidance

2011-05-21 Thread Paul Dugas
Been thinking more about this for a couple days and I think your suggestion that I stick with ACLs has some merit. Say I ditch the assignment relation ships in my model between User and Group entities and instead rely on ACLs. How would I get a list of the entities the user has been granted some

Re: [symfony-users] Re: [SF2] Access Control Guidance

2011-05-20 Thread Paul Dugas
One requirement I didn't mention is recording the user who created the logs. Given that I'll have this info as a member of the log entity, does it make sense to use an ACL? Seems redundant to me. On Wed, May 18, 2011 at 1:06 PM, badllama77 wrote: > I think you could filter the available pool o

[symfony-users] [SF2] Access Control Guidance

2011-05-18 Thread Paul Dugas
I'm working on an SF2 app (my first) and am looking for some guidance wrt. access controls. I don't think ACLs fit the requirements so I thought I'd ask around and see if someone has run into something similar and has some thoughts to share. The purpose of the application is to manage Log entitie

Re: [symfony-users] Re: [sf2] Disable WDT

2011-05-13 Thread Paul Dugas
easily, if not fork it, > implement the feature and pull request so we can all share it, thanks > > On Mon, Apr 25, 2011 at 9:36 AM, Paul Dugas wrote: >> On Mon, Apr 25, 2011 at 10:31 AM, Paul Dugas >> wrote: >>> On Mon, Apr 25, 2011 at 10:29 AM, Luis Cordova wrote: >

Re: [symfony-users] Sf2: the right way to start a project

2011-05-04 Thread Paul Dugas
On Wed, May 4, 2011 at 12:54 PM, Christophe COEVOET wrote: > Le 04/05/2011 18:48, Matt Robinson a écrit : >> >> I've been playing with the PRs for a while, but now that the beta is >> out, I want to start a real project (a rewrite of >> http://directors.mapofpower.com/ >> ). Is there a best practi

[symfony-users] [sf2] ACL for groups of entities

2011-05-02 Thread Paul Dugas
Can SF2's ACLs be used to manage access to entities based on their membership in groups? Say I have both User and Widget entities assigned to Category entities. Can the ACL system be used to only allow access to Widget entities in Categories the User is assigned to? If so, can someone point me to

Re: [symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Paul Dugas
On Mon, Apr 25, 2011 at 10:31 AM, Paul Dugas wrote: > On Mon, Apr 25, 2011 at 10:29 AM, Luis Cordova wrote: >> WDT is a bundle, just disable it and it will go away > > I only want it to "go away" on one page. In SF1, I could add sfConfig::set('sf_web_debug'

Re: [symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Paul Dugas
On Mon, Apr 25, 2011 at 10:29 AM, Luis Cordova wrote: > WDT is a bundle, just disable it and it will go away I only want it to "go away" on one page. P -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message becau

[symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Paul Dugas
disable it for this page but not others in the app that don't use the UI framework. Thanks in advance for any suggestions, Paul On Wed, Apr 20, 2011 at 12:28 PM, Paul Dugas wrote: > > How can I disable the WDT in the results of one action if a SF2 controller? > > Paul -- If yo

[symfony-users] [sf2] Disable WDT

2011-04-20 Thread Paul Dugas
How can I disable the WDT in the results of one action if a SF2 controller? Paul -- 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