[symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Javier Garcia
Thanks Michal, but it doesn't work either..

Javi

On Apr 1, 11:21 am, Michał Piotrowski mkkp...@gmail.com wrote:
 2010/4/1 Javier Garcia tirengar...@gmail.com:

  Hi,

  i have this line below in frontend/config/view.yml:

  stylesheets:    [main.css]

  The rules of that file are applied to the templates of the modules of
  frontend, but no to the templates of sfDoctrineGuardPlugin.

  Even if i write ?php use_stylesheet('main') ? at the beginning of the
  template it doesn't work..

  What should i do?

 You need to copy sfGuard templates to your frontend modules dir and
 then modify them

 Regards,
 Michal



  Javi

  --
  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-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.google.com/group/symfony-users?hl=en

  To unsubscribe, reply using remove me as the subject.

-- 
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-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.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Michał Piotrowski
2010/4/1 Javier Garcia tirengar...@gmail.com:
 Thanks Michal, but it doesn't work either..

I customized this way three sfDoctrineGuard plugins for my project. It
works fine here.

ls -R apps/frontend/modules/sfGuardAuth/
apps/frontend/modules/sfGuardAuth/:
actions  lib  templates

apps/frontend/modules/sfGuardAuth/actions:
actions.class.php  components.class.php

apps/frontend/modules/sfGuardAuth/lib:
BasesfGuardAuthActions.class.php  BasesfGuardAuthComponents.class.php

apps/frontend/modules/sfGuardAuth/templates:
secureSuccess.php  _signin_form.php  signinSuccess.php  _signin_window.php


BTW. It's documented way - just read
http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin
readme Customize sfGuardAuth module actions

Regards,
Michal

 Javi

 On Apr 1, 11:21 am, Michał Piotrowski mkkp...@gmail.com wrote:
 2010/4/1 Javier Garcia tirengar...@gmail.com:

  Hi,

  i have this line below in frontend/config/view.yml:

  stylesheets:    [main.css]

  The rules of that file are applied to the templates of the modules of
  frontend, but no to the templates of sfDoctrineGuardPlugin.

  Even if i write ?php use_stylesheet('main') ? at the beginning of the
  template it doesn't work..

  What should i do?

 You need to copy sfGuard templates to your frontend modules dir and
 then modify them

 Regards,
 Michal



  Javi

  --
  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-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.google.com/group/symfony-users?hl=en

  To unsubscribe, reply using remove me as the subject.

 --
 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-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.google.com/group/symfony-users?hl=en


-- 
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-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.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Michał Piotrowski
W dniu 1 kwietnia 2010 12:34 użytkownik Michał Piotrowski
mkkp...@gmail.com napisał:
 2010/4/1 Javier Garcia tirengar...@gmail.com:
 Thanks Michal, but it doesn't work either..

 I customized this way three sfDoctrineGuard plugins for my project. It
 works fine here.

 ls -R apps/frontend/modules/sfGuardAuth/
 apps/frontend/modules/sfGuardAuth/:
 actions  lib  templates

 apps/frontend/modules/sfGuardAuth/actions:
 actions.class.php  components.class.php

 apps/frontend/modules/sfGuardAuth/lib:
 BasesfGuardAuthActions.class.php  BasesfGuardAuthComponents.class.php

 apps/frontend/modules/sfGuardAuth/templates:
 secureSuccess.php  _signin_form.php  signinSuccess.php  _signin_window.php


 BTW. It's documented way - just read
 http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin
 readme Customize sfGuardAuth module actions

or better Customize sfGuardAuth module templates

-- 
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-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.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.


[symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Javier Garcia
Yes you're right, but that doesn't resolve my problem.

I will change my question:

In signinSuccess.php (doesn't matter the place) i have this lines:

?php use_stylesheet('main.css') ?

link rel=stylesheet type=text/css href=/css/main.css

The first one doesn't includes 'main.css' in signinSuccess.php but the
second one yes.

In other frontend modules, when using ?php
use_stylesheet('main.css') ? main.css is included.

Anyone knows why?

Javi


On Apr 1, 12:35 pm, Michał Piotrowski mkkp...@gmail.com wrote:
 W dniu 1 kwietnia 2010 12:34 u¿ytkownik Micha³ Piotrowski
 mkkp...@gmail.com napisa³:



  2010/4/1 Javier Garcia tirengar...@gmail.com:
  Thanks Michal, but it doesn't work either..

  I customized this way three sfDoctrineGuard plugins for my project. It
  works fine here.

  ls -R apps/frontend/modules/sfGuardAuth/
  apps/frontend/modules/sfGuardAuth/:
  actions  lib  templates

  apps/frontend/modules/sfGuardAuth/actions:
  actions.class.php  components.class.php

  apps/frontend/modules/sfGuardAuth/lib:
  BasesfGuardAuthActions.class.php  BasesfGuardAuthComponents.class.php

  apps/frontend/modules/sfGuardAuth/templates:
  secureSuccess.php  _signin_form.php  signinSuccess.php  _signin_window.php

  BTW. It's documented way - just read
 http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin
  readme Customize sfGuardAuth module actions

 or better Customize sfGuardAuth module templates

-- 
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-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.google.com/group/symfony-users?hl=en