Re: [symfony-users] Symfony2 comments and questions
2010/7/11 Tarjei tar...@scanmine.com: 8. Forms One thing I see the form framework has addressed is grouping of fields. What I still miss is simple widgets for adding html around a set of elements or just at a point in the form. The purpose of the form framework is not to generate the HTML for the whole form, but just for single fields. You write the HTML in your template. Also I would like to see an easier way to manipulate the generated markup when you got embedded forms. As above, you write the HTML. You have all the power that you want. Bernhard -- 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] csrf token required
Probably you forgot to render the hidden fields. Check the HTML source whether a hidden field with the name __csrf_token is present. If not, add the following in your template: ?php echo $form-renderHiddenField() ? Bernhard -- 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] Symfony2 : Load files under Ressources/config to the DI container
Hi, i tried to load the ValidatorService, add this to my config file, but it doesn't work, web.config: validator: true This should be web.config: validation: true Bernhard -- 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] Symfony2 comments and questions
On 7/11/10 1:17 PM, Tarjei wrote: Hi, here are my initial questions and comments regarding Symfony2. Wow, that's a lot of feedback! Thank you very much. My answers below.. 1. Deployment. Are you planning a .phar deployment solution where the src directory gets bundled up as a .phar file and distributed to the server? Have you though through the different deploments scenarios for bundles? Possibly. Packaging and distribution is something we will take care of late in the Symfony2 timeline as this orthogonal to everything else. How do you plan to handle images and javascripts packaged with bundles? There is a command to install them under the web/ root directory. 2. Filters A killer feature I miss is the old filters framework for requests. Should events be used in the future? Yep, we have events now. There are more flexible. 3. Names The console command should start with a letter that no other directory in the same directory starts with. I.e. not console and config as that would reduce the number of redundant hits to tab. Any idea? Also, I find the separation of templates into Resources/views a bit strange. Templates are a very important part of every webapplication and should be easier to find- I.e. they should have a toplevel directory in a bundle. The reasonning behind this decision is to put all non-classes into one directory (the Resources/ directory). It contains templates, config files, assets, ... 5. Routing. How does a bundles routing fit within the routing of a complete system? As I understand it, each bundle may be routed to a suburl where it then has complete control over the namespace, but also that you can route a single uri into a bundle. Is this essentially the idea? Correct 6. Status of the security features. symfony has a nice and ready security system based on credentials. Will this system be used, or are you planning something new? Has development of sfGuard for 2.0 started? We will of course have something... probably for Symfony2 PR3... but I'm getting ahead of myself here ;) When do you think the first version of the admin generator will show up? Not planned yet as we need everything else before even thinking about it. 7. Bundles I like the concept of bundles and how they work, but one thing I found confusing when reading through the documentation and the examples is the difference between a bundle in src\Bundle and src\Application. The difference should be explained somewhere. src\Bundle is for generic bundles not related to the application (think third-party bundles) src\Application is for bundles tied to the application (they cannot be reused) Another thing I think you'll want is a tool for creating / working with bundles and applications that is outside the application directory( i.e. a bit like mvn). That's possible. You can host bundles anywhere you want (just change the getBundleDirs() in your kernel so that Symfony2 can find them). Versioning of bundles is also something I think you'll want to add already now. Also a way to declare dependencies. That's part of the distribution process as you don't want to check dependencies at runtime. So, that's something that we will work on after the first beta. Fabien -- 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] Customize admin generator to parse generator.yml with custom properties
Hi all, i cannot understand how to customize the admin generator : i am using propel, and i see that from the generator.yml the first line is the class used by the generator, therefore in my case sfPropelGenerator. I think that extending that class with a custom one is the first step, what i'd like to know, and i didn't find any information about it, is how to parse the yml with options i want, for example by adding some options list: display: [ title, _content, status, created_at ] batch_actions: { } custom_option1: true custom_option2: { attrib1: xyz, attrib2: aaa } etc.. could someone please address me toward the correct direction? what class do i have to look for? -- 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: Customize admin generator to parse generator.yml with custom properties
well,actually i need to heavily customize admin generators to create various functionalities, so i haven't got a single example, i provide some of them that i could use: batch_position: top # (top,bottom,both) toggable_fields: [ gallery, field1,field2 ] # fields who will have a jquery effect to toggle containers floating_components: [ component1,component2, component3 ] # ok ,maybe this is a bit too much, but is only for the sake of the example The goal i'd want to reach is to provide other developers in the company, admin generators already configured / built with some custom needs I looked in the built-in themes, and for example they look for $this-configuration-getValue('list.batch_actions') or again $this-configuration-getValue('list.display') or again $this-getI18NString ('list.title') i'd like to find a way to make $this-configuration-getValue('list.batch_position') parsable with a custom function... On 12 Lug, 12:25, Daniel Lohse annismcken...@googlemail.com wrote: This sounds much too abtract (custom_option1) — what use-case do you have? Cheers, Daniel Sent from my iPad On Jul 12, 2010, at 12:18 PM, Thor thorste...@gmail.com wrote: Hi all, i cannot understand how to customize the admin generator : i am using propel, and i see that from the generator.yml the first line is the class used by the generator, therefore in my case sfPropelGenerator. I think that extending that class with a custom one is the first step, what i'd like to know, and i didn't find any information about it, is how to parse the yml with options i want, for example by adding some options list: display: [ title, _content, status, created_at ] batch_actions: { } custom_option1: true custom_option2: { attrib1: xyz, attrib2: aaa } etc.. could someone please address me toward the correct direction? what class do i have to look for? -- 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] attributes can be customized
Hi, When I run the symfony command : symfony doctrine:insert-sql, I have this error : SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'sf_guard_group_permission_permission_id_sf_guard_permission_id_idx' is too long. So I think I need to change the size of my index name but I don't know the key for the size, so where can I find all the key name in symfony because I found only 6 KeyDescription Default Value 1 quote_identifier Whether to wrap identifiers with quotes false 2 use_native_enum Whether to use native enums false 3 validate Whether to enable data validation false 4 idxname_formatFormat for index names %s_idx 5 seqname_formatFormat for sequence names %s_seq 6 tblname_formatFormat for table names %s 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
[symfony-users] Help with model
Hi, I'm trying to over ride a base model value. Its super simple but im not sure how it should be done? /** * This class has been auto-generated by the Doctrine ORM Framework */ class Customer extends BaseCustomer { public function getFirstname() { return strtoupper($this-firstname); } } -- 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] Newbie question: where's the css?
I'm have just created my first Symfony project. According to this tutorial: http://www.symfony-project.org/getting-started/1_4/en/05-Web-Server-Configuration - there should be a nice-looking css in the project already when you have created the project. But in my project, the main.css is empty. How come? -- 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] symfony and Eclipse: I can not go to the function or class using F3.
On 07/11/2010 05:58 PM, Stéphane wrote: Hi, Check that your lib folders are source folders. Thanks, but how can i check that? On 07/11/2010 06:49 PM, Mariano Sola wrote: sorry for the question, but why using eclipse? I tried NB but when i wanted to go the declaration of a method, it shows the list of the methods of all the classes with that name of the function, so it's not being aware of the class of the object that calls the method. Eclipse go directly to the method Im calling. -- 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] Newbie question: where's the css?
There's a different css for the default symfony pages, you can find it at lib/vendor/symfony/data/web/sf/sf_default/css. This is partially the reason for the /sf alias during the webserver config. On Mon, Jul 12, 2010 at 10:32, finn finngruwierlar...@gmail.com wrote: I'm have just created my first Symfony project. According to this tutorial: http://www.symfony-project.org/getting-started/1_4/en/05-Web-Server-Configuration - there should be a nice-looking css in the project already when you have created the project. But in my project, the main.css is empty. How come? -- 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
Re: [symfony-users] symfony and Eclipse: I can not go to the function or class using F3.
Right click on the folder and Build PathUse as source folder Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jul 12, 2010 at 1:43 PM, Javier Garcia tirengar...@gmail.comwrote: On 07/11/2010 05:58 PM, Stéphane wrote: Hi, Check that your lib folders are source folders. Thanks, but how can i check that? On 07/11/2010 06:49 PM, Mariano Sola wrote: sorry for the question, but why using eclipse? I tried NB but when i wanted to go the declaration of a method, it shows the list of the methods of all the classes with that name of the function, so it's not being aware of the class of the object that calls the method. Eclipse go directly to the method Im calling. -- 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] forward does not work
I think in dev enviroment it should show the error instead of the blank page. On 07/05/2010 11:53 PM, jogep wrote: Hi, I try to use forward in my action class after an validation back to my action in special cases. This has works in an other part of my application. $this-forward('mymodul', 'actionx'); But when I execute this Action I only receive an blank page, in the symfony log is an forward message to my action the last entry. No error also not in my apache logs. The only thing witch is different to other actions where the same coe runs is that an action with the same name but in an other modul exists. Has anyone an suggestion? Thank you for reading this. Johannes -- Javi Ubuntu 8.04 - Symfony 1.3 -- 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: Symfony2 : Load files under Ressources/config to the DI container
Thanks for your response Berbhard, The solution who works for me is web.config: validation: enabled (see this post : http://groups.google.com/group/symfony-devs/browse_thread/thread/8d9950044759d1a/f0012d4deb3044a2#f0012d4deb3044a2) If you want to check what services could be enabled, have a look at: Symfony/Bundle/FrameworkBundle/DependencyInjection/WebExtension.php I have also another question: I tried to run the HelloControllerTest, there's a function createClient() who needs the service test.client, the file of this service is under Symfony\Framework\Ressources\config \test.xml How can i load the test.client service to run my phpunit tests ? many thanks in advance -- 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: Help with model
try return $this-get('firstName'); On Jul 12, 12:15 pm, davidsonrob rob.davidso...@gmail.com wrote: Hi, I'm trying to over ride a base model value. Its super simple but im not sure how it should be done? /** * This class has been auto-generated by the Doctrine ORM Framework */ class Customer extends BaseCustomer { public function getFirstname() { return strtoupper($this-firstname); } } -- 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] symfony and Eclipse: I can not go to the function or class using F3.
Thanks! works! On 07/12/2010 01:47 PM, Stéphane wrote: Right click on the folder and Build PathUse as source folder Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jul 12, 2010 at 1:43 PM, Javier Garcia tirengar...@gmail.com mailto:tirengar...@gmail.com wrote: On 07/11/2010 05:58 PM, Stéphane wrote: Hi, Check that your lib folders are source folders. Thanks, but how can i check that? On 07/11/2010 06:49 PM, Mariano Sola wrote: sorry for the question, but why using eclipse? I tried NB but when i wanted to go the declaration of a method, it shows the list of the methods of all the classes with that name of the function, so it's not being aware of the class of the object that calls the method. Eclipse go directly to the method Im calling. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com http://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 mailto:symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com mailto:symfony-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 -- Javi Ubuntu 8.04 - Symfony 1.3 -- 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 - 31 Messages in 13 Topics
Beste, Vrijdag 9 en maandag 12 juli ben ik niet aanwezig op kantoor. U kunt voor dringende zaken contact opnemen met Dimitri van Hees: dimi...@freshheads.com of 013 5448761. 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
[symfony-users] Frameworks CSS
Hi, I'd like to know if you use any kind of frameworks CSS in your sf projects. I'm working in a group with 4 programmers and 2 designers and I'm looking for a css framework to improve our productivity and quality of our designs. I think that the Jquery UI is the best option because we alrelady use a lof of jquery widgets. Thank you, -- Nei Rauni Santos http://www.linkedin.com/in/neiraunisantos http://www.facebook.com/nei.santos http://www.twitter.com/nrauni http://blog.inuar.com Curitiba - Paraná +55 41 85020985 -- 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: Frameworks CSS
Hi, i have used 2 css frameworks: GRID 960 benefits: - very simple, for small projects disadvantages: - you only havee one template (960 px large) - there is NO fluid template (no percentage only px), so if you want to have a backend template completely fluid, you will have to hack the css YUI GRID CSS benefits: - build for big projects (like Yahoo Health), fully customizable - zoom is availlable for all browsers - no pixel for grids only em and percentage disadvantages: - you cannot grab only the CSS components, you have to take it in the YUI library Jquery UI isn't really a full css framework, with full cms framework i talk about grids, grids are very usefull for many reasons: - improve productivity (less work) - work one most browsers (save you a headache) - is good for SEO (less HTML = more interesting content) - can improve javascripts performence when finding the DOM (ex: $ ('div') selector); i just discovered Yui grid css so i might have forgotten some great features, i think the best choice between both is YUI GRID CSS framework for his complementarity -- 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: Newbie question: where's the css?
Ah...thanks :-) Finn On Jul 12, 1:43 pm, Gábor Fási maerl...@gmail.com wrote: There's a different css for the default symfony pages, you can find it at lib/vendor/symfony/data/web/sf/sf_default/css. This is partially the reason for the /sf alias during the webserver config.On Mon, Jul 12, 2010 at 10:32, finn finngruwierlar...@gmail.com wrote: I'm have just created my first Symfony project. According to this tutorial: http://www.symfony-project.org/getting-started/1_4/en/05-Web-Server-C... - there should be a nice-looking css in the project already when you have created the project. But in my project, the main.css is empty. How come? -- 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] Re: Symfony 1.3 Issue with Doctrine_Table::createQuery and multiple databases
Hi Jon, Thanks for the quick reply: I've been trying to write the tests case... However, by looking into the code I have when I checkout a separate Doctrine instance, I've found that version 1.2 seems to correct this problem, since the code in the createQuery function is return Doctrine_Query::create($this-_conn, $class)... and therefore uses the instantiated connection. It might be that we simply need to update the Doctrine version of our Symfony framework. Tell me if you still need the test case anyway. Olivier. On Jul 6, 6:49 pm, Jonathan Wage jonw...@gmail.com wrote: Hi, I am working on the issue. Can you try and create a Doctrine test case that demonstrates the problem? So we can test patches against it. - Jon On Tue, Jul 6, 2010 at 10:04 AM, Olivier olivier.cha...@gmail.com wrote: Hello, We are using a Symfony/Doctrine setup with multiple databases... We've ran into a few issues concerning connection binding. There is also an issue with the createQuery function in the Doctrine_Table object. This function calls Doctrine_Query::create(null, $class), where null is the connection parameter. Therefore, whatever the binding or even the connection upon which the getTable function was called, the query is constructed with the current connection (using getCurrentConnection), which is often the wrong one. This causes issues for instance when you use a cache: the cache hash is computed using the 'dsn' string for the connection, which is always the one for the current connection, even if the query is later called against on the right database. One patch could be to use Doctrine_Query::create($this- getConnection(), $class) in the createQuery() function, but we are not sure this does not have side effect. Another possibility would be to define a specific table from which our table model would inherit, but this would make binding useless for models... Anyone can share ideas on this? Thanks, Olivier. -- 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...@goog legroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Jonathan H. Wagehttp://www.twitter.com/jwage -- 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: Frameworks CSS
+1 for YUI Grids 2010/7/12 gordonslondon jules.boussek...@gmail.com: Hi, i have used 2 css frameworks: GRID 960 benefits: - very simple, for small projects disadvantages: - you only havee one template (960 px large) - there is NO fluid template (no percentage only px), so if you want to have a backend template completely fluid, you will have to hack the css YUI GRID CSS benefits: - build for big projects (like Yahoo Health), fully customizable - zoom is availlable for all browsers - no pixel for grids only em and percentage disadvantages: - you cannot grab only the CSS components, you have to take it in the YUI library Jquery UI isn't really a full css framework, with full cms framework i talk about grids, grids are very usefull for many reasons: - improve productivity (less work) - work one most browsers (save you a headache) - is good for SEO (less HTML = more interesting content) - can improve javascripts performence when finding the DOM (ex: $ ('div') selector); i just discovered Yui grid css so i might have forgotten some great features, i think the best choice between both is YUI GRID CSS framework for his complementarity -- 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] Re: sfEasyGMapPlugin: Mulitple maps on one page
Ok so this is actually a working strategy ? I will implement it and name the function initialize 'intiialize_'.$map_name by default so that users don't need to actually change this parameter unless they need to. Concerning the javascript_name of the map, one soulution could be to generate automatically a new one for every new instance : 'map', 'map1', 'map2', etc. Do you people actually instanciate many times the same map or not ? Fabrice On Jul 11, 5:19 pm, Mathieu Comandon stryc...@gmail.com wrote: I've submitted a quick n'dirty patch on the plugin's bugtracker, for those who want to integrate it manually, here's what it looks like : -- --- GMap.class.php +++ GMap.class.php2 @@ -87,6 +87,7 @@ protected $parameters = array( 'js_name' = 'map', 'onload_method' = 'js', + 'init_function' = 'initialize', 'api_keys' = null ); @@ -298,6 +299,12 @@ { return $this-parameters['js_name']; + } + + + public function getInitFunction() + { + return $this-parameters['init_function']; } /** @@ -394,14 +401,15 @@ switch ($this-parameters['onload_method']) { case 'jQuery': - return 'jQuery(document).ready(function(){initialize();});'; + case 'jquery': + return 'jQuery(document).ready(function(){' . $this-getInitFunction() . '();});'; break; case 'prototype': - return 'document.observe(dom:loaded, function() {initialize();});'; + return 'document.observe(dom:loaded, function(){' . $this-getInitFunction() . '();});'; break; default: case 'js': - return 'window.onload = function(){initialize()};'; + return 'window.onload = function(){' . $this-getInitFunction() . '()};'; break; } } @@ -443,7 +451,7 @@ } $return .= ' // Call this function when the page has been loaded - function initialize() + function ' . $this-getInitFunction() . '() {'; foreach($init_events as $init_event) { -- It currently only works with the jQuery onload method, you'll have to instantiate your maps like this : $this-gMap = new GMap(array(),array(),array('id' = 'map1'),array('js_name' = 'map1', 'init_function' = 'init_map1', 'onload_method' = 'jQuery')); $this-gMap_2 = new GMap(array(),array(),array('id' = 'map2'),array('js_name' = 'map2', 'init_function' = 'init_map2', 'onload_method' = 'jQuery')); -- 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
AW: [symfony-users] Re: Frameworks CSS
We mostly use the yaml css framework. http://www.yaml.de/en/home.html Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Serkan Koyuncu Gesendet: Montag, 12. Juli 2010 16:25 An: symfony-users@googlegroups.com Betreff: Re: [symfony-users] Re: Frameworks CSS +1 for YUI Grids 2010/7/12 gordonslondon jules.boussek...@gmail.com: Hi, i have used 2 css frameworks: GRID 960 benefits: - very simple, for small projects disadvantages: - you only havee one template (960 px large) - there is NO fluid template (no percentage only px), so if you want to have a backend template completely fluid, you will have to hack the css YUI GRID CSS benefits: - build for big projects (like Yahoo Health), fully customizable - zoom is availlable for all browsers - no pixel for grids only em and percentage disadvantages: - you cannot grab only the CSS components, you have to take it in the YUI library Jquery UI isn't really a full css framework, with full cms framework i talk about grids, grids are very usefull for many reasons: - improve productivity (less work) - work one most browsers (save you a headache) - is good for SEO (less HTML = more interesting content) - can improve javascripts performence when finding the DOM (ex: $ ('div') selector); i just discovered Yui grid css so i might have forgotten some great features, i think the best choice between both is YUI GRID CSS framework for his complementarity -- 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 -- 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] Single Sign On Plugin
Hi, I need your help in identifying the plugin for the Single Sign On and if somebody has implemented the same in symfony based project. Thanx in advance. Regards Deepak Bhatia -- 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] Frameworks CSS
On Mon, 12 Jul 2010, Nei Rauni Santos wrote: I'd like to know if you use any kind of frameworks CSS in your sf projects. Anyone looked at any of these? http://www.blueprintcss.org/ http://www.1kbgrid.com/ http://www.tinyfluidgrid.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
[symfony-users] Routing problem for generate-admin with id: type string (128)...
Good dear group: I am writing to see if someone has this same error occurred and has solved, or if they are aware of it. Problem description: For reasons of replicate Master - Master, which is necessary for my system the identifier for each table it must be a varchar to type name_value Zera_3 after generating modules to generate-admin, when I give a save or update to an item, I get the error, let them then gave me this error even for a show, for an edit, for each share of the module, with the Xdebug I realized that the problem was that routingColection generated for each module, and as an alternative, we create a new routing for every action I leave an example here too with sfGuardUser for edit action. routing.yml: sf_guard_user_edit: url: /sf_guard_user/:id/edit class: sfDoctrineRoute options: model:sfGuardUser module: sfGuardUser type: object prefix_path: sf_guard_user column: id param: { module: sfGuardUser, action: edit} Error: Type: 404 | Not Found | sfError404Exception Action sf_guard_user/Zera_1 does not exist. stack trace * at () in SF_ROOT_DIR\lib\vendor\symfony\lib\controller \sfController.class.php line 202 ... 199. $this-dispatcher-notify(new sfEvent($this, 'application.log', array(sprintf('Action %s/%s does not exist', $moduleName, $actionName; 200. } 201. 202. throw new sfError404Exception(sprintf('Action %s/%s does not exist.', $moduleName, $actionName)); 203. } 204. 205. // create an instance of the action * at sfController-forward('sf_guard_user', 'Zera_1') in SF_ROOT_DIR\lib\vendor\symfony\lib\controller \sfFrontWebController.class.php line 48 ... 45. } 46. 47. // make the first request 48. $this-forward($moduleName, $actionName); 49. } 50. catch (sfException $e) 51. { * at sfFrontWebController-dispatch() in SF_ROOT_DIR\lib\vendor\symfony\lib\util\sfContext.class.php line 159 ... 156.*/ 157. public function dispatch() 158. { 159. $this-getController()-dispatch(); 160. } 161. 162. /** * at sfContext-dispatch() in SF_ROOT_DIR\web\administracion_dev.php line 13 ... 10. require_once(dirname(__FILE__).'/../config/ ProjectConfiguration.class.php'); 11. 12. $configuration = ProjectConfiguration::getApplicationConfiguration('administracion', 'dev', true); 13. sfContext::createInstance($configuration)- dispatch(); Greetings Rolian. -- 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: Frameworks CSS
YAML framework is really great ! the documentation is awesome -- 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: Frameworks CSS
someone has tried the oriented object css framework ? 2010/7/12 gordonslondon jules.boussek...@gmail.com YAML framework is really great ! the documentation is awesome -- 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
[symfony-users] [symfony2] first test and first question
Hello, I'm seeing in the symfony2 best practice : A bundle must not embed third-party libraries. What about javascript libraries ? I think they should forward the same logic and don't be present in the bundle, isn't it ? -- 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] somebody have worked with FormFilter? :: getting 'Array to String conversion' Notice
I have a sfWidgetFormFilterDate, and every time i 'click' Filter button i get and 'Array to String conversion' Notice If i remove de Date Filter the error disappear, what is going on ? 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
Re: [symfony-users] [symfony2] first test and first question
On 7/12/10 11:14 PM, samuel wrote: Hello, I'm seeing in the symfony2 best practice : A bundle must not embed third-party libraries. What about javascript libraries ? I think they should forward the same logic and don't be present in the bundle, isn't it ? Yes, you are right. Fabien -- 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