[symfony-users] Re: Practical Symfony Jobeet Tutorial not working. slugify replaces view with the words 'Paris, France'

2011-03-18 Thread Tom W
Yes of course , first thing I did Please ignore my last post about routing. Barking up the wrong tree there. It's definitely connected to the reference to the Jobeet class On Mar 17, 9:36 pm, Francesco Levorato flev...@flevour.net wrote: Forgive the stupid question, has the cache been

[symfony-users] Re: PR7 Accessing config.yml parameters variables

2011-03-18 Thread Lideln
On 17 mar, 22:49, Christophe COEVOET s...@notk.org wrote: Le 17/03/2011 18:01, Lideln a crit : Hi, I'm trying to use Twig, and I would like to do a simple thing : Display the parameters.title value defined in my config.yml file. I found how to display http query parameters, but not

[symfony-users] Re: Symfony 2 Doctrine Database Schema imports

2011-03-18 Thread Lideln
Hi, First of all you need to configure your app properly (config.yml), for example : doctrine: dbal: driver: %database_driver% host: %database_host% dbname: %database_name% user: %database_user%

Re: [symfony-users] O symfony 2 tem o comando de importar esquema do banco??

2011-03-18 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, try to run app/console you will see a list of available commands, one of them being doctrine:schema:create Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output. there is a lot of

[symfony-users] Re: [Symfony2]Forms performance

2011-03-18 Thread Costin
Good to know! I was hoping this was not a feature set in stone yet. On Mar 17, 5:31 pm, Thomas Rabaix thomas.rab...@gmail.com wrote: It is not a good time to speak about performance. First the framework is not stable, and the Form component is being refactored. On 17 mars 2011, at 15:14,

Re: [symfony-users] Entity Dependancies

2011-03-18 Thread Julian Reyes Escrigas
ok i new user but if you need use entities you need only declare in your controller BlogBundle use AuthBundle\Entity\User; and works i test but with my ODM and work fine :) -- Julian Reyes Escrigas Desarrollador PHP/MySQL rkmax.tumblr.com about.me/rkmax twttier.com/rokemaster

[symfony-users] Re: Entity Dependancies

2011-03-18 Thread Craige
Hi Julian, Yes, I know how to USE the entities from other bundles, but I was asking for a practice regarding the limiting of cross-bundle dependencies. It is my understanding that bundle's should be a stand-alone collection of functionality, with little to no dependencies. - Craige On Mar 18,

[symfony-users] Re: Render field date format

2011-03-18 Thread Colin Viebrock
Did you find a solution to this? I'm looking for the exact same thing: an input:text field that displays the date selected via the sfWidgetFormJQueryDate picker. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] InvalidArgumentException with message 'The parameter kernel.container_class must be defined.'

2011-03-18 Thread Otávio
Hi all, I have symfony installation as a submodule in my git repository. I have updated it today, then now, when I try run console I have the follow error message: E:\xampp1_7_4\htdocs\proposital\appphp console PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The

Re: [symfony-users] InvalidArgumentException with message 'The parameter kernel.container_class must be defined.'

2011-03-18 Thread Christophe COEVOET
Le 18/03/2011 17:01, Otávio a écrit : Hi all, I have symfony installation as a submodule in my git repository. I have updated it today, then now, when I try run console I have the follow error message: You need to rebuild your bootstrap file with the bin/build_bootstrap.php file each time

[symfony-users] nginx Symfony2

2011-03-18 Thread ken
Hi guys, Does any of you experienced the double slash problem when just visiting the backend controller? My configuration is redirecting /app_dev.php/ to /app_dev.php// and /app_dev.php invokes download of the script. server { server_name symfony-sandbox.local; root

[symfony-users] [Symfony 2] Setting default Radio in Forms And TextField Placeholders

2011-03-18 Thread Nikita Korotaev
Hi everyone, I have two questions regarding Forms. I know that Forms are underconstructions, but still there should be some answers. 1. I have Radio Buttons initialized this way: $this-add(new ChoiceField('status', array( 'expanded' = true, 'multiple' = false,

[symfony-users] Re: InvalidArgumentException with message 'The parameter kernel.container_class must be defined.'

2011-03-18 Thread Otávio
Hi Christophe, Thank you very much. Works fine! Otávio. On Mar 18, 1:09 pm, Christophe COEVOET s...@notk.org wrote: Le 18/03/2011 17:01, Ot vio a crit : Hi all,    I have symfony installation as a submodule in my git repository. I have updated it today, then now, when I try run console

[symfony-users] [Symfony2] Session and Security Bundle questions

2011-03-18 Thread Gustavo Adrian
Hi all, I've configured my security environment successfully using native session storage type. But when I try to use the PDO session and I try to login, it logs OK, but when it redirects to homepage it suddenly goes back to the login page. My session data saved on DB:

[symfony-users] Re: Practical Symfony Jobeet Tutorial not working. slugify replaces view with the words 'Paris, France'

2011-03-18 Thread Tom W
I've solved this by remaking //lib/Jobeet.class.php in another text editor It was then picked up ok , some strange file bug perhaps On Mar 18, 9:24 am, Tom W tomwallac...@gmail.com wrote: Yes of course , first thing I did Please ignore my last post about routing.  Barking up the wrong tree

[symfony-users] PR7 Strange ORM behavior

2011-03-18 Thread Lideln
Hi ! I am trying the database functionalities in PR7. I am experiencing a strange ORM behavior. Here is my code : [code] $qb = $this-get('doctrine.orm.entity_manager')-createQueryBuilder(); $aGalleries = $qb-select('g')-from('SWMainBundle:Gallery', 'g')- where($qb-expr()-eq('g.active',

[symfony-users] Re: Symfony2: Getting action/route name in template

2011-03-18 Thread Sven Eisenschmidt
Hi, did you found a working solution? I'am struggling with the same problem in Symfony PR7. Greetings On 6 Feb., 22:13, Michal_V vanovcan.mic...@gmail.com wrote: Hi, What is the correct way to get action and route name in a template in Symfony2? (PHP and Twig syntax). Thanks -- If you want

[symfony-users] Re: Caching function result

2011-03-18 Thread Christoph Singer
On 3 Mrz., 14:04, Brocco broccola...@gmail.com wrote: With symfony 1.4, I used to cache the result of this function (which changes at most every 24 hours) with sfFunctionCache and sfFileCache. Is it possible to store some function result in the cache with symfony2? I have the same problem.

[symfony-users] Symfony with datatables

2011-03-18 Thread Mariah
hi everyone, does anyone of you have an example of how to make datatables work with doctrine? I'm using symfony 1.4.9 thank you. -- 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

Re: [symfony-users] Symfony2: Getting action/route name in template

2011-03-18 Thread Christophe COEVOET
Le 06/02/2011 22:13, Michal_V a écrit : Hi, What is the correct way to get action and route name in a template in Symfony2? (PHP and Twig syntax). Thanks the Request object is available through the app variable which give access to the route name and the controller name. Twig:

Re: [symfony-users] Symfony with datatables

2011-03-18 Thread Alex Pilon
http://www.google.ca/search?sourceid=chromeie=UTF-8q=symfony+datatables On Fri, Mar 18, 2011 at 14:29, Alex Pilon alex.pi...@gmail.com wrote: whats a datatable? On Fri, Mar 18, 2011 at 13:56, Mariah maryam.e...@gmail.com wrote: hi everyone, does anyone of you have an example of how to

[symfony-users] cannot load i18n helper in layout when redirected to login by sfDoctrineGuradPlugin

2011-03-18 Thread Georg
Hello group, I have an annoying problem. I am using the __ function to translate some texts in the layout.php template. In order to have the function defined, I use use_helper('i18n'); This works well in my application, but if my login expires, I am forwarded/redirected to the login page. But

Re: [symfony-users] Remove header names in admin lists

2011-03-18 Thread Francesco Levorato
Could you list the errors you get? Cheers, Francesco On Thu, Mar 17, 2011 at 3:07 PM, elitalon elita...@inventiaplus.com wrote: Hi, I would like to remove the default word Actions from the header of generated admin lists. I have searched the template it uses, and I found that there is a

Re: [symfony-users] Error when creating models

2011-03-18 Thread Francesco Levorato
Hi there, have you tried with a 'build --all --and-load' which does all the three steps in one go? Cheers, Francesco On Wed, Mar 16, 2011 at 8:56 PM, Kévin gee...@gmail.com wrote: Hi, I'm new to Symfony, and I don't even succeed in creating valid models. I created my project - which use

Re: [symfony-users] cannot load i18n helper in layout when redirected to login by sfDoctrineGuradPlugin

2011-03-18 Thread Francesco Levorato
On Fri, Mar 18, 2011 at 11:06 PM, Georg geor...@have2.com wrote: How to proceed in this case? Hi Georg, if you use the __() everywhere you may as well always include it in the configuration. See http://www.symfony-project.org/reference/1_4/en/04-Settings#chapter_04_sub_standard_helpers Cheers,

Re: [symfony-users] REST api authentication Problem

2011-03-18 Thread Francesco Levorato
Hi there, I am not sure, but afaik the testing frameworks sends that code to simulate a redirect. The actual behaviour in the real application will be a header(301 redirect). In the tests you can follow redirect with followRedirect(). http://www.symfony-project.org/jobeet/1_4/Doctrine/en/11