Re: [symfony-users] Using 'IN' in a subquery with doctrine

2010-08-27 Thread Georg
I see. so if the model looks like this panel: columns: id: furniture_id: relations: furniture: {local: furniture_id, foreign: id, foreignAlias: panels} you should be able to do it like this: $query = new Doctrine_Query(); $query-select('f.*')-distinct()-from('furniture

[symfony-users] Re: Url genartion bug for '/' ?

2010-08-27 Thread torok84
I have homepage: url: / param: { module: content, action: index } $this-redirect(@homepage); works as I expected (including frontend_dev.php). This method is actually better. Maye it is not important, but I think it is still wrong that $this- redirect() and url_for() behave differently.

Re: [symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-27 Thread Thomas Rabaix
Hello, Sorry to hijack this thread, but If you are looking for a way to combine asset (js and css) you *really* have to look at this plugin : http://github.com/rande/swCombinePlugin/blob/master/README.md The main advantage is that no computation is done at runtime, but through a task. On Fri,

[symfony-users] y2K38 bug in PHP - Symfony

2010-08-27 Thread Mercedes Sualog III
I am encountering the Y2K38 bug in PHP/Symfony used in my application. Any suggestion on how to solve it? Here is the link about the bug: http://www.sitepoint.com/blogs/2010/08/24/is-your-php-application-affected-by-the-y2k38-bug/ Please help.Thank you. -- If you want to report a vulnerability

Re: [symfony-users] y2K38 bug in PHP - Symfony

2010-08-27 Thread Stéphane
64bit isn't the common answer ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Aug 27, 2010 at 10:57 AM, Mercedes Sualog III mercedes.sua...@gmail.com wrote: I am encountering the Y2K38 bug in

[symfony-users] Re: Junior and Mid-level PHP Developer Jobs in Leeds, UK

2010-08-27 Thread halfer
On Aug 25, 8:56 pm, Stephen Melrose step...@sekka.co.uk wrote: MadeByPi in Leeds are looking to hire a Junior and Mid-level PHP developer. For more information, please see the following, http://www.madebypi.co.uk/news/php-development-roles.aspx Hi Steve, don't forget to add this to

[symfony-users] Suggestion for symfony download page - offer legacy versions

2010-08-27 Thread halfer
@Sensio: We are still using symfony 1.0 and my firm is very happy with it, and there is no enthusiasm for upgrading. Now that I am moving onto another role, we had a need to download the latest tarball - which of course is no longer offered on the downloads page. Since many legacy Sourceforge

Re: [symfony-users] Re: Junior and Mid-level PHP Developer Jobs in Leeds, UK

2010-08-27 Thread Stephen Melrose
Good call, and have done. Thank you. On 27 August 2010 10:05, halfer google.com.20080213...@jondh.me.uk wrote: On Aug 25, 8:56 pm, Stephen Melrose step...@sekka.co.uk wrote: MadeByPi in Leeds are looking to hire a Junior and Mid-level PHP developer. For more information, please see the

Re: [symfony-users] Suggestion for symfony download page - offer legacy versions

2010-08-27 Thread Fabien Potencier
You can download any old versions... if you know the URL ;) For instance, here is how to download symfony 1.0.17: http://pear.symfony-project.com/get/symfony-1.0.17.tgz I will see if we can add a page that list all these outdated versions somewhere on the official website. Fabien -- Fabien

Re: [symfony-users] Suggestion for symfony download page - offer legacy versions

2010-08-27 Thread Fabien Potencier
All legacy versions of symfony are now available on the installation page: http://www.symfony-project.org/installation#legacy Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 8/27/10 11:11 AM,

[symfony-users] How to translate a text that contains p/p ?

2010-08-27 Thread Javier Garcia
Hi, i want to translate this below: ?php echo __(EOM p For security reasons... /p EOM ) ? So i create this translation unit: trans-unit sourceFor security reasons.../source targetPor razones de seguridad.../target /trans-unit The problem: it is not translated less than i remove the p/p

[symfony-users] Re: Suggestion for symfony download page - offer legacy versions

2010-08-27 Thread halfer
On Aug 27, 10:56 am, Fabien Potencier fabien.potenc...@symfony- project.com wrote: All legacy versions of symfony are now available on the installation page: http://www.symfony-project.org/installation#legacy Fabien You're a star Fabien! Many thanks indeed. -- If you want to report a

AW: [symfony-users] How to translate a text that contains p/p ?

2010-08-27 Thread Christopher Schnell
Hi, I guess you have a reason, but why not p ?php echo __('For security reasons...');? /p Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony- us...@googlegroups.com] Im Auftrag von Javier Garcia Gesendet: Freitag, 27. August 2010

[symfony-users] ajax dropdown sfWidgetFormDoctrineChoice

2010-08-27 Thread Andro Fumero
hello everyone, Can anyone provide samples how to put some event during click on selected dropdowns? like onclick='' and so on using ajax or any. samples, tutorials, link, information would be a greate help. Thanks Guyz Andro -- If you want to report a vulnerability issue on

[symfony-users] Re: Non existent model 'Blogpost'

2010-08-27 Thread tek123
I have run: $ php symfony propel:build-model $ php symfony propel:build-sql $ php symfony propel:insert-sql $ php symfony propel:build-form Such as in the tutorial but its the propel:generate crud that is not working. I hope this helps. On Aug 26, 1:59 pm, Gareth McCumskey gmccums...@gmail.com

Re: [symfony-users] y2K38 bug in PHP - Symfony

2010-08-27 Thread Gareth McCumskey
Which version of symfony? I think propel 1.3 (which symfony 1.2 and upwards uses) does not suffer this problem. On Fri, Aug 27, 2010 at 11:20 AM, Mercedes Sualog III mercedes.sua...@gmail.com wrote: but this involves propel..as per checking with the example using DateTime() will solve the

[symfony-users] Re: How to translate a text that contains p/p ?

2010-08-27 Thread pghoratiu
The chracters are not allowed in the XML element node and you have to either 1. quote them as gt; or lt; 2. Include them in CDATA sections: trans-unit source![CDATA[For security reasons.../p]]/source target![CDATA[Por razones de seguridad...]]/target /trans-unit If you do not quote them

Re: [symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-27 Thread Stéphane
Hi, We sometime need to combine js and css depending on runtime things, so its better handled this way I think. Thank you ! Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Aug 27, 2010 at 10:53

[symfony-users] [sf1.4][sfDoctrinePlugin] Sluggable canUpdate=false does not work as expected

2010-08-27 Thread Cyrille37
Hello, I've just starting to use the Sluggable behavior and set it with canUpdate = false. Then: * I clear the cache * re-generate db (doctrine:build --all --sql --db --and-load) * re-generate the admin (doctrine:generate-admin x x) But the admin form still have a field for the slug field,

Re: [symfony-users] [sf1.4][sfDoctrinePlugin] Sluggable canUpdate=false does not work as expected

2010-08-27 Thread Gábor Fási
canUpdate means: if the sluggable field changes, should the slug change as well, or stay the original? Obviously you can still edit it manually. On Fri, Aug 27, 2010 at 16:12, Cyrille37 cyrill...@gmail.com wrote: Hello, I've just starting to use the Sluggable behavior and set it with

[symfony-users] Re: [sf1.4][sfDoctrinePlugin] Sluggable canUpdate=false does not work as expected

2010-08-27 Thread Cyrille37
Ah, ok ok ! Thanks you a lot for this help. Regards Cyrille. On 27 août, 16:15, Gábor Fási maerl...@gmail.com wrote: canUpdate means: if the sluggable field changes, should the slug change as well, or stay the original? Obviously you can still edit it manually. On Fri, Aug 27, 2010 at

[symfony-users] Re: Doctrine Pager max per page problem

2010-08-27 Thread ziclo
More explanation about this issue : If the number of objects returned is 10 then objects are displayed. If number of objects returned 10 then nothing is displayed. I think there is a problem with the pager. But what ? An idea ? Thank you On 6 août, 15:46, ziclo lauren...@gmail.com wrote: My

Re: [symfony-users] Re: Doctrine Pager max per page problem

2010-08-27 Thread Gustavo Adrian
Could you show us your action's code? On Fri, Aug 27, 2010 at 12:11 PM, ziclo lauren...@gmail.com wrote: More explanation about this issue : If the number of objects returned is 10 then objects are displayed. If number of objects returned 10 then nothing is displayed. I think there is a

[symfony-users] best practice for creating a symfony 2 project?

2010-08-27 Thread alf ursae
Hi, what's the best practice for creating a new symfony 2 project? create the index file, the kernel and the bundle? is there a way to use the console to automate this stuff a bit? thank you. P.D: FORBEAR to answer whether symfony 2 is ready for production or not, that issue is OTHER

[symfony-users] Re: What Symfony CMF should I use? Apostrophe, Sympal, Diem?

2010-08-27 Thread rumianom
As fair as I know Diem is standalone CMS, others are plugins. On 27 Sie, 00:12, Fabian Barrera barrera.ale...@gmail.com wrote: Hi, I have a question about the Symfony CMFs (Sympal, Apostrophe, Diem). I hope someone could help me: I haven't used any CMS before (but I use Symfony and love it :)

[symfony-users] memory error and question about data loading (newbie)

2010-08-27 Thread mjhvc
first: about memory error: my command: ./symfony doctrine:data-dump symfony output: doctrine dumping data to fixtures to /home/marc/www/vap/data/fixtures Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 53 bytes) in /home/marc/www/vap/lib/vendor/symfony/lib/

[symfony-users] Doctrine not honoring query params?

2010-08-27 Thread Quince
I'm baffled at this one... When I supply values to a WHERE clause in my DQL that are below 1.0e-7 or (0.001) Symfony/Doctrine fails to run my query and returns 0 rows (there are supposed to be 54). No error or warning is generated in the logs. When I use the resulting SQL from doctrine and

[symfony-users] overriding plugin template from another plugin ?

2010-08-27 Thread Daniel R
Hi, I'm trying to override a partial of a plugin from within another plugin. I know it is possible to override templates from application level, by putting the customized template in the module's template/ directory of the application, and by using the same name as the original template. I'm

Re: [symfony-users] memory error and question about data loading (newbie)

2010-08-27 Thread Gustavo Adrian
You need to extend your memory_limit for PHP. Check your php.ini (for CLI) and put 128MB as memory_limit (or something like that). On Fri, Aug 27, 2010 at 1:26 PM, mjhvc marcvancraesbe...@gmail.com wrote: first: about memory error: my command: ./symfony doctrine:data-dump symfony output:

Re: [symfony-users] Re: What Symfony CMF should I use? Apostrophe, Sympal, Diem?

2010-08-27 Thread Stéphane
Sympal is just a sample IMO. Apostrophe is edit-in-context, with simple but goot slot-type task scaffolding generator. Diem is edit-in-context-within-a-lightbox, with good backend features (create a page for kinds of records you specify in a module.yml config file; say you want a page generated

Re: [symfony-users] memory error and question about data loading (newbie)

2010-08-27 Thread Marc Van Craesbeeck
2010/8/27 Gustavo Adrian comfortablynum...@gmail.com You need to extend your memory_limit for PHP. Check your php.ini (for CLI) and put 128MB as memory_limit (or something like that). It was it. the doctrine:data-dump is now correct. Thanks. -- Marc Van Craesbeeck

[symfony-users] Unsecure module into secure application

2010-08-27 Thread Alvaro Garcia
Hi! I have secured the application (application/config/security.yml) and a want an unsecured module. Then I have the file /application/unsecuredModule/config/security.yml configure to make the module no secure. With this configuration the module are still secured. At the moment I have unsecured

Re: [symfony-users] saving a form without displayig it

2010-08-27 Thread Sebastien Armand [Pink]
Why do you create a Form for this instead of just directly using $c2-save()? 2010/8/27 cosmy c.zec...@gmail.com Hi all. I want to duplicate some inserted categories (retrieved by a query) of my model changing some attribute. I've written this code in a backend action but it doesn't work

[symfony-users] Multiple connections with dynamic DSN

2010-08-27 Thread Wanderson
Scenario: I have an application with 2 connections: 'main' and 'client'. Connection main points to database 'main' which has a table called user like this: | - | user | - | user_id | username | password | database_host | database_port |

Re: [symfony-users] Using 'IN' in a subquery with doctrine

2010-08-27 Thread Sebastien Armand [Pink]
Where shall I send the chocolates then haha??? Thanks a lot! 2010/8/27 Georg geor...@have2.com I see. so if the model looks like this panel: columns: id: furniture_id: relations: furniture: {local: furniture_id, foreign: id, foreignAlias: panels} you should be able to do it