[symfony-users] admin generator - sorting

2010-11-17 Thread qp
list: title: Card Reloads display: [=transaction_no, card_no, amount_received, reload_fee, net_reload, reload_value, status] sort: [ transaction_no, desc] object_actions: #_edit: ~ _edit: ~ I've set the configurations for the listing in the

Re: [symfony-users] admin generator - sorting

2010-11-17 Thread Daniel Lohse
Hey there, 1. clear your cache, so the sort can take effect 2. Take a look at ahAdminGeneratorThemesPlugin Cheers, Daniel Sent from my iPhone4 On Nov 17, 2010, at 10:20 AM, qp quentin.p...@gmail.com wrote: list: title: Card Reloads display: [=transaction_no, card_no,

[symfony-users] Re: admin generator - sorting

2010-11-17 Thread qp
Thanks Daniels, indeed it works. Also for virtual columns, i realized i needed to configure the original field name as opposed to the virtual field I had defined for the same. On Nov 17, 12:44 pm, Daniel Lohse annismcken...@googlemail.com wrote: Hey there, 1. clear your cache, so the sort

[symfony-users] Admin generator - removing all delete links

2010-11-17 Thread Manu
Hello, I'm building some admin pages for a blog, and I would like to prevent users from deleting things that have been posted. I removed the delete link from the list page, but I just found out that there is a delete link at the bottom of every edit page ... How do I remove that one ? -- If you

[symfony-users] umlaut not shown right

2010-11-17 Thread symfony
Hi guys, In one of my modules letters with umlaut are shown incorrectly. #65533; is shown where ė should be. In all other modules the umlaut is shown correctly. How can I change this? I'm trying to translate the pages from Dutch to English using i18n. Can I use the HTML equivalent for the

[symfony-users] How to disable the modules/action routes?

2010-11-17 Thread Javier Garcia
Hi, how to disable the module/action routes? I mean i just want the short routes work, for example www.mysite.com/login will work, but www.mysite.com/sfGuardAuth/signin will not work. Javi -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] How to disable the modules/action routes?

2010-11-17 Thread noel guilbert
Hi, Just remove the default routes from the routing.yml file. ++ On Wed, Nov 17, 2010 at 11:36 AM, Javier Garcia tirengar...@gmail.comwrote: Hi, how to disable the module/action routes? I mean i just want the short routes work, for example www.mysite.com/login will work, but

Re: [symfony-users] Re: Symfony2 and Translation

2010-11-17 Thread noel guilbert
It does not work because you're trying to load the locale named en, which is different of en_US or en_EN. That's why your translations are not loaded. There's no such default locale thing that would load en when en_US does not exist. ++ On Mon, Nov 15, 2010 at 7:21 PM, Bertrand Zuchuat

Re: [symfony-users] How to disable the modules/action routes?

2010-11-17 Thread Gareth McCumskey
But what if you have, for example, a module called blog with an action called add and a module called comment with an action called add and a module called author with an action called add? On Wed, Nov 17, 2010 at 12:36 PM, Javier Garcia tirengar...@gmail.comwrote: Hi, how to disable the

Re: [symfony-users] Task with DB access

2010-11-17 Thread Pierre-Yves LEBECQ
The database name you put as the argument of getDatabase method has to be the name in the database.yml file, not the actual database name. By default, it's doctrine or propel depending of the ORM you're using. 2010/11/16 man mixi mixi...@gmail.com When there is access to external systems,

[symfony-users] Re: Performances issues

2010-11-17 Thread Remi
AllowOverride was already set to none. Database functionnality is set to off in settings.yml. But I've tried to tweak some APC configuration keys with : -- # Do not need to check for file changes : we only update them with a new release deployed in another

[symfony-users] Re: Symfony2 and Translation

2010-11-17 Thread Florian
Yes there is. When a translation does not exist for a locale, the translator tries to find the translation for the language (fr when the locale is fr_FR for instance); if it also fails, it looks for a translation for the fallback locale. quote from

Re: [symfony-users] Doctrine Batch procesing

2010-11-17 Thread Luciano A. Andrade
I am using as I understand the doctrine equivalet of doSelectStmt (or doSelectRS) witch is much more elegant in doctrine, but i get memory leaks or memory that is not retorned to the OS, and not reused by PHP, aparently this is corrected on Doctrine 2

[symfony-users] Re: Performances issues

2010-11-17 Thread pghoratiu
In the meantime, we have moved forward on our timer method and we discovered that rendering templates took us about 200ms. Don't you think this is huge ? Thanks anyway ! = Does this include the time to wait for the XML data source? On my dev machine it takes about 17 ms to process

[symfony-users] Re: Admin generator - removing all delete links

2010-11-17 Thread Massimiliano Arione
On 17 Nov, 11:24, Manu emmanuel.parf...@gmail.com wrote: I removed the delete link from the list page, but I just found out that there is a delete link at the bottom of every edit page ... How do I remove that one ? Use generator.yml to hide delete actions (see docs) Then, you should also

[symfony-users] Re: WkHtmlToPdf in Symfony

2010-11-17 Thread ming
Do you have tried SnappyBundle on Symfony2? It give me this error: Undefined property: appDevDebugProjectContainer::$snappyPdf Probably I've missed some configuration parameters or setted it wrongs. I've downloaded and placed Snappy php5 lib on src/vendor dir as reported in the Requirements

[symfony-users] Re: WkHtmlToPdf in Symfony

2010-11-17 Thread Florian
Seems like a DIC configuration problem. You should open app/cache/dev/appDevDebugProjectContainer.php at line mentionned and watch. Maybe your app/config/config.yml doesn't load the extension: snappy.image: ~ snappy.pdf: ~ Try to add these two lines in your config and see. On Nov 17, 5:11 pm,

[symfony-users] Re: Performances issues

2010-11-17 Thread Remi
What I call rendering templates is only the view part of the MVC model. Waiting for XML and reading them is definitly between Model (beans) and Controler (actions and readers). But our templates are a bit complex : depending on the offer size, we have 12 different main templates to render an

[symfony-users] Loading fixtures in transaction ?

2010-11-17 Thread Mateusz Kaczmarek
Hello, Is there a way to load fixtures in DBMS transaction ? When my fixtures became more complicated time to load test data into database is quite to long, and I think put all inserts into one transaction will resolve that problem. -- If you want to report a vulnerability issue on symfony,

[symfony-users] Re: Multiple CREATE TABLE when generating SQL from a Doctrine model using Inheritance

2010-11-17 Thread kerdany
I seem to have found the problem on Doctrine's JIRA. I'ts an unresolved issue: http://www.doctrine-project.org/jira/browse/DC-536 On Nov 16, 8:48 pm, kerdany kerd...@gmail.com wrote: Below are two schemas, these are simplified schemas where the problem occurs consistently: In summary: -