RE: [symfony-users] Forcing a canonical hostname for absolute links without clobbering the entire context: possible?

2010-06-11 Thread Olivier LOYNET
Hi, Is any solution has been found to get absolute links has Tom request ? Thanks, Olivier -Message d'origine- De : symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] De la part de Tom Boutell Envoyé : vendredi 13 novembre 2009 23:35 À :

RE: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Olivier LOYNET
Use SVN for that Doctrine version http://svn.jobeet.org/doctrine/tags/ Olivier -Message d'origine- De : symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] De la part de Pau Peris Envoyé : mardi 26 janvier 2010 11:01 À : symfony users Objet : [symfony-users]

[symfony-users] How to force the Doctrine behaviour Timestampable values in a main table when embedded data are updated

2010-01-25 Thread Olivier LOYNET
Hi, I've two tables : - Profile table - Organism table with an embedded relation (1,1) The Profile table have Timestampable behaviour like this schema : Profile: tableName: profile actAs: Timestampable: ~ columns: id: type: integer(4) primary: true

RE: [symfony-users] How to force the Doctrine behaviour Timestampable values in a main table when embedded data are updated

2010-01-25 Thread Olivier LOYNET
I'm not very experimented with events usages. I'll try it soon the postUpdate event. Thanks for your fast reply. Olivier -Message d'origine- De : symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] De la part de FlyLM [ML] Envoyé : lundi 25 janvier 2010 15:03

RE: [symfony-users] sfDoctrineGuard Plugin Status

2010-01-13 Thread Olivier LOYNET
For my own I use the SVN version in prod because it's the last uptodate Olivier -Message d'origine- De : symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] De la part de ReynierPM Envoyé : mercredi 13 janvier 2010 14:49 À : symfony-users@googlegroups.com Objet 

RE: [symfony-users] enum in config/schema.yml

2009-12-18 Thread Olivier LOYNET
Hi With Doctrine you could do that to have a enum with a foreign key Resource: tableName: resource columns: id: { type: integer(4), primary: true, autoincrement: true } resource_type_id: { type: enum, values: [value1, value2, value3], notnull: true } name: { type: string(255) }

RE: [symfony-users] problem with admin generator

2009-11-26 Thread Olivier LOYNET
Relations name have to be different, Person1, Person2, Person3 Type: tableName: columns: id: type: integer(4) primary: true autoincrement: true name: type: string(150) relations: Person1: foreignAlias: type1 local: id foreign: type1

[symfony-users] doctrine : how to make an table alias with the same main table ?

2009-07-15 Thread Olivier LOYNET
Hi, I've the following SQL query working well to get all the ancestor id on a nested set SELECT ft2.id FROM file_type AS ft LEFT JOIN file_type AS ft2 ON (ft.lft BETWEEN ft2.lft AND ft2.rgt) WHERE ft.id IN (4,5,10) ORDER BY ft2.lft The YAML schema is :

[symfony-users] Re: sf1.2.4 - [resolved] problem of headers already sent when I send a file 5kb to the browser

2009-03-03 Thread Olivier LOYNET
already sent when I send a file 5kb to the browser Replace return sfView::NONE by throw new sfStopException; On Mon, Mar 2, 2009 at 8:52 PM, Olivier LOYNET olivierloy...@gmail.com wrote: Hi, I've a problem of headers already sent when I send a file to the browser. My config is : - CentOs

[symfony-users] sf1.2.4 - problem of headers already sent when I send a file 5kb to the browser

2009-03-02 Thread Olivier LOYNET
Hi, I've a problem of headers already sent when I send a file to the browser. My config is : - CentOs 5.2 with php 5.2.9 - symfony version 1.2.4 (stable) The code to show the problem, I've made this method : [code] public function executeFile(sfWebRequest $request) { $this-line

[symfony-users] Re: How to write a Sitemap.xml ?

2008-06-11 Thread Olivier LOYNET
! What i have to modify to access it ? Thanks :) On 10 juin, 13:12, Olivier LOYNET [EMAIL PROTECTED] wrote: Hi, BTW : When you generate a sitemap, don't name it sitemap.xml but your-site-sitemap.xml or something like this. The avantage to use a app like gsitecrawler, you can see all

[symfony-users] Re: How to write a Sitemap.xml ?

2008-06-10 Thread Olivier LOYNET
Hi, BTW : When you generate a sitemap, don't name it sitemap.xml but your-site-sitemap.xml or something like this. The avantage to use a app like gsitecrawler, you can see all your urls, with the title, the description content, and see if you have any 404 error or else. Also you can use sf

[symfony-users] Re: How to write a Sitemap.xml ?

2008-06-09 Thread Olivier LOYNET
I use an external tool to do this http://gsitecrawler.com/ Olivier -Original Message- From: symfony-users@googlegroups.com [mailto:symfony- [EMAIL PROTECTED] On Behalf Of Sylver Sent: Monday, June 09, 2008 3:39 PM To: symfony users Subject: [symfony-users] How to write a

[symfony-users] Re: sfGuardPlugin DB Layout Question

2008-05-20 Thread Olivier LOYNET
Hi, I've made a snippet to workaround this problem http://www.symfony-project.org/snippets/snippet/298 Olivier -Original Message- From: symfony-users@googlegroups.com [mailto:symfony- [EMAIL PROTECTED] On Behalf Of kayoone Sent: Tuesday, May 20, 2008 3:28 PM To: symfony users

[symfony-users] Re: Propel : onDelete/casade and parent attached media

2008-05-12 Thread Olivier LOYNET
Hi You have to override your 'delete' method in your lib/model/foo and it's not depend on your database Like this... class Foo extends BaseFoo { public function delete ($con = null) { $photoDir = sfConfig::get('app_xx_dir'); if (is_file($photoDir.'/'.$this-getFileName()))

[symfony-users] Re: Propel : onDelete/casade and parent attached media

2008-05-12 Thread Olivier LOYNET
: Propel : onDelete/casade and parent attached media Yes, its depends ... $article-delete() will never call $media-delete() at least in innodb Thomas On Mon, May 12, 2008 at 1:19 PM, Olivier LOYNET [EMAIL PROTECTED] wrote: Hi You have to override your 'delete' method in your

[symfony-users] Re: symfony propel-dump-data - Maximum function nesting level

2008-05-06 Thread Olivier LOYNET
Hi, Try in your php.ini to increase your memory. Be careful, there are two php.ini, one for apache, on for cli mode. This is the cli for your command line. Olivier -Original Message- From: symfony-users@googlegroups.com [mailto:symfony- [EMAIL PROTECTED] On Behalf Of Marco

[symfony-users] extends sfActions problem in a common lib

2008-05-01 Thread Olivier LOYNET
Hi, First at all I've clean the cache :) I've create a lib named myGlobalActions.class.php to extend sfActions to have some methods for all the module Actions as : [code] class myGlobalActions extends sfActions { public function getGlobalFilters() { $this-filters =

[symfony-users] Re: extends sfActions problem in a common lib

2008-05-01 Thread Olivier LOYNET
To: symfony-users@googlegroups.com Subject: [symfony-users] Re: extends sfActions problem in a common lib Le 1 mai 08 à 22:54, Olivier LOYNET a écrit : What is missing ? You must extend your module actions class with your custom actions class : ?php class myModuleActions extends

[symfony-users] new snippet: integrate SfGuard tables in your global schema

2008-04-10 Thread Olivier LOYNET
Hi, I wrote a snippet to integrate SfGuard tables in your global schema http://www.symfony-project.org/snippets/snippet/298 Currently it only transform XML schema. Hope that it can be useful ! Olivier --~--~-~--~~~---~--~~ You received this message because

[symfony-users] how to create a routing rule to match a filter param

2008-03-31 Thread Olivier LOYNET
Hi, I've created a routing rule to match a filter param in my routing.yml file but it doesn't work. pro_material: url: /the-professional-material param: { module: material, action: list, filter: filter, filters%5Btype_id%5D: 1} for the URL:

[symfony-users] Re: Retain internal value after forward()

2008-03-31 Thread Olivier LOYNET
To retain values, you can do like the filters in Admin generator To set $this-getUser()-getAttributeHolder()-removeNamespace('frontend/test/filte rs'); $this-getUser()-getAttributeHolder()-add($filters, 'frontend/test/filters'); To get filters =

[symfony-users] Re: Doctrine Admin Generator

2008-03-24 Thread Olivier LOYNET
BTW with 1.1 the command look like symfony doctrine:init-admin see: The new symfony CLI system http://groups.google.com/group/symfony-devs/browse_thread/thread/eac2add2cd9 f6d7b Olivier -Original Message- From: symfony-users@googlegroups.com [mailto:symfony- [EMAIL PROTECTED]

[symfony-users] plugins for Mozilla / IE : search engines for symfony

2008-03-06 Thread Olivier LOYNET
Hi, I've made some plugins for Firefox / IE to integrate a search engine on symfony in your favorite browser. - symfony website - symfony API 1.0 - symfony API 1.1 - symfony Askeet tutorial 1.0 - symfony Book 1.0 - symfony Forum - symfony Wiki - symfony Snippets

[symfony-users] Re: Askeet Day3 : php load_data.php

2008-03-06 Thread Olivier LOYNET
Hi, You can also use the command : symfony propel-load-data frontend Olivier -Original Message- From: symfony-users@googlegroups.com [mailto:symfony- [EMAIL PROTECTED] On Behalf Of David BOUCHÉ Sent: Thursday, March 06, 2008 10:52 PM To: symfony users Subject: [symfony-users]