[symfony-users] advent calendar 2010

2010-11-29 Thread Massimiliano Arione
There will be an advent calendar this year?
I hope so, since past advent calendars were a great opportunity for
community boost.
I remember that Italian symfony community is born with the 2008
advent, with just a few members, and now it has 130 members (and
counting).

cheers
Massimiliano

-- 
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] DynamicsBundle to PackingMinifyBundle

2010-11-29 Thread Alexandre Salomé
Hey,

Hartym wasn't telling that !

Read again ;)

---
Alexandre Salomé - http://alexandre-salome.fr

Le 28 nov. 2010 23:44, Francis Besset francis.bes...@gmail.com a écrit :

Hi Hartym,

I didn't steal Dynamics name but it seemed logical to take dynamics
relative plugins sfDynamicsPlugin on sf1.x
I changed the name of DynamicsBundle to PackingMinifyBundle (
https://github.com/francisbesset/PackingMinifyBundle).


Sorry for the reuse of the name dynamics,
Francis.

2010/11/28 Hartym har...@gmail.com

 Hehe if you steal the sfDynamicsName, I'll give you the github
 https://github.com/dynamics account, no problem.

 But do you realize that the original library did actually do much more
 than packing and minifying ?

 You may have to think a bit about dependency management.


 --
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.comsymfony-users%2bunsubscr...@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: How to set the title to each page dynamically

2010-11-29 Thread Gareth McCumskey
Or what about using in your action:

$this-getResponse()-setTitle($title);


On Mon, Nov 29, 2010 at 9:49 AM, Massimiliano Arione garak...@gmail.comwrote:

 On 22 Nov, 06:36, Pradeep pradeep.pench...@gmail.com wrote:
  I found that title is being obtained from the layout.php which is
  being applied to all pages taking it from there. I wonder how to add
  the title to each page according to the type of the page showing
  necessary title.

 If you need to automatically set the title for each of your module/
 actions, you can simply extend sfResponse::getTitle() like so:

 ?php
 class myResponse extends sfWebResponse
 {
  public function getTitle()
  {
$module = sfContext::getInstance()-getRequest()-
 getParameter('module', 'default');
$title = parent::getTitle();

return $module == 'default' ? $title : $module . ' - ' . $title;
  }
 }

 then you need to edit factories.yml in your app.
 This can be very useful in backends

 cheers
 Massimiliano

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

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


[symfony-users] we check if the .html version is here (caching)

2010-11-29 Thread Felix E. Klee
In the default .htaccess in Symfony 1.4, the following code block can
be found:

 # we check if the .html version is here (caching)
 RewriteRule ^$ index.html [QSA]
 RewriteRule ^([^.]+)$ $1.html [QSA]
 RewriteCond %{REQUEST_FILENAME} !-f

What cache is the comment referring to? Is Symfony ever creating .html
files for caching?

I am asking because I am in the process of developing a custom
.htaccess file for a special server setup, and I want to keep things
as simple as possible.

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


[symfony-users] Re: we check if the .html version is here (caching)

2010-11-29 Thread pghoratiu
I think that the sfSuperCache plugin was doing this at one time during
Symfony 1.0, I'm not aware of any plugins doing this for Symfony 1.4
Check here: http://www.symfony-project.org/plugins/sfSuperCachePlugin

gabriel


On Nov 29, 12:26 pm, Felix E. Klee felix.k...@inka.de wrote:
 In the default .htaccess in Symfony 1.4, the following code block can
 be found:

  # we check if the .html version is here (caching)
  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteCond %{REQUEST_FILENAME} !-f

 What cache is the comment referring to? Is Symfony ever creating .html
 files for caching?

 I am asking because I am in the process of developing a custom
 .htaccess file for a special server setup, and I want to keep things
 as simple as possible.

-- 
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] Abridged summary of symfony-users@googlegroups.com - 22 Messages in 12 Topics

2010-11-29 Thread joost . farla
Beste,

Tot en met vrijdag 3 december ben ik niet aanwezig op kantoor.
U kunt voor dringende zaken contact opnemen met mijn collega Wout Withagen: 
w...@freshheads.com of 013 539 00 40.

Met vriendelijke groet,

Joost Farla
joost.fa...@freshheads.com

- -

freshheads grafisch ontwerp en internet applicaties
Dunantstraat 1c | 5017 KC Tilburg | Nederland
tel. +31 (0)13 5448761 | fax. +31 (0)13 5448762
i...@freshheads.com | www.freshheads.com


-- 
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] Creating a cron job script

2010-11-29 Thread Gábor Fási
Create a task, and run that from your cronjob.

http://www.symfony-project.org/gentle-introduction/1_4/en/16-Application-Management-Tools#chapter_16_sub_custom_tasks

On Wed, Nov 17, 2010 at 02:32, DrFrow drf...@gmail.com wrote:
 I am wanting to run a daily import script for my symfony site, what I
 want is to setup a cron job in Cpanel and just have it run a script on
 my server. I am running into a problem with setting this script up, I
 can't get it to actually run any code. This was pretty much the only
 thing I could find on the topic: 
 http://www.lampjunkie.com/2008/04/how-to-use-symfony-and-cron/
 and it appears to be kinda old and not working for me at all, tried to
 modify its a little and still no luck. What are people using to get
 symfony fired up and running and then run either a specific module/
 action or just straight code? Any helps is great.

 Thanks.

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


[symfony-users] how custom error404

2010-11-29 Thread Martin Ibarra Cervantes
hi , i try change the error 404 bue i cant :-(

in my settings i put

all:
  .settings:
# Form security secret (CSRF protection)
csrf_secret:c605b8fd5372fe7b296c9656301e11e69721f2cdd32248

# Output escaping settings
escaping_strategy:  true
escaping_method:ESC_SPECIALCHARS

# Enable the database manager
use_database:   true
enabled_modules:  [default]

  .actions:
*error_404_module: default
error_404_action: error404*

and i make a module on my public application, the name default and an action
name error404

but dont work

you can help me.

-- 
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] how custom error404

2010-11-29 Thread Alex Pilon
Did you clear your cache?

On Mon, Nov 29, 2010 at 22:19, Martin Ibarra Cervantes 
ibarra.cervan...@gmail.com wrote:

 hi , i try change the error 404 bue i cant :-(

 in my settings i put

 all:
   .settings:
 # Form security secret (CSRF protection)
 csrf_secret:c605b8fd5372fe7b296c9656301e11e69721f2cdd32248

 # Output escaping settings
 escaping_strategy:  true
 escaping_method:ESC_SPECIALCHARS

 # Enable the database manager
 use_database:   true
 enabled_modules:  [default]

   .actions:
 *error_404_module: default
 error_404_action: error404*

 and i make a module on my public application, the name default and an
 action name error404

 but dont work

 you can help me.


  --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Alex Pilon
(613) 608-1480

-- 
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] how custom error404

2010-11-29 Thread Martin Ibarra Cervantes
yes i clear my cache with

symfony cc

and not work

404 | Not Found | sfError404Exceptionon this site

http://demo.misretratos.com.mx/autor/ibarra-ibarra/D5/sonido-64/5/Mexico.html


On Mon, Nov 29, 2010 at 7:23 PM, Alex Pilon alex.pi...@gmail.com wrote:

 Did you clear your cache?

 On Mon, Nov 29, 2010 at 22:19, Martin Ibarra Cervantes 
 ibarra.cervan...@gmail.com wrote:

 hi , i try change the error 404 bue i cant :-(

 in my settings i put

 all:
   .settings:
 # Form security secret (CSRF protection)
 csrf_secret:c605b8fd5372fe7b296c9656301e11e69721f2cdd32248

 # Output escaping settings
 escaping_strategy:  true
 escaping_method:ESC_SPECIALCHARS

 # Enable the database manager
 use_database:   true
 enabled_modules:  [default]

   .actions:
 *error_404_module: default
 error_404_action: error404*

 and i make a module on my public application, the name default and an
 action name error404

 but dont work

 you can help me.


  --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 Alex Pilon
 (613) 608-1480

 --
 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.comsymfony-users%2bunsubscr...@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] how custom error404

2010-11-29 Thread Francis Besset
Hi,
In fact, you have this 404Exception if you have enabled display errors.
In prod environment you must not enable the error display.

In you index.php file:
$configuration = ProjectConfiguration::getApplicationConfiguration(
'frontend', 'prod', false);
*
*
*
*
*Francis.*


2010/11/30 Martin Ibarra Cervantes ibarra.cervan...@gmail.com

 yes i clear my cache with

 symfony cc

 and not work

 404 | Not Found | sfError404Exceptionon this site


 http://demo.misretratos.com.mx/autor/ibarra-ibarra/D5/sonido-64/5/Mexico.html



 On Mon, Nov 29, 2010 at 7:23 PM, Alex Pilon alex.pi...@gmail.com wrote:

 Did you clear your cache?

 On Mon, Nov 29, 2010 at 22:19, Martin Ibarra Cervantes 
 ibarra.cervan...@gmail.com wrote:

 hi , i try change the error 404 bue i cant :-(

 in my settings i put

 all:
   .settings:
 # Form security secret (CSRF protection)
 csrf_secret:
 c605b8fd5372fe7b296c9656301e11e69721f2cdd32248

 # Output escaping settings
 escaping_strategy:  true
 escaping_method:ESC_SPECIALCHARS

 # Enable the database manager
 use_database:   true
 enabled_modules:  [default]

   .actions:
 *error_404_module: default
 error_404_action: error404*

 and i make a module on my public application, the name default and an
 action name error404

 but dont work

 you can help me.


  --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 Alex Pilon
 (613) 608-1480

 --
 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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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