Re: [symfony-users] Firefox cache problem - routing

2009-12-02 Thread Guychmyrat Amanmyradov
Thanks for answer. i have checked my cache.ymls.  all default caches are disabled. on my module config. and on my application config. But on my settings.yml cache is on. i disabled ( cache off) on there and worked fine. Thanks. Strange thing is that, only on firefox. i checked on ie 7 8. on

Re: [symfony-users] Firefox cache problem - routing

2009-12-02 Thread Gareth McCumskey
Doesn't surprise me. Its very possible that IE might not follow some of the standard caching mechanisms employed by other browsers. In other words, you had a caching option enabled, Firefox understood it and followed orders whereas IE because it doesn't yet respond to that option. In effect this

[symfony-users] Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread ridcully
Hi, after updating from symfony 1.2.9 to symfony 1.3.0 i can't call parent Methods Call anymore when i've overload the method: Class XY extends BaseXY{ public function getWebUser($load=true){ $webUser = parent::getWebUser($load); if . } } I get an segmation Fault and

[symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread ridcully
Forget to say that i'm using doctrine. On Dec 2, 10:12 am, ridcully ohnhei...@googlemail.com wrote: Hi, after updating from symfony 1.2.9 to symfony 1.3.0 i can't call parent Methods Call anymore when i've overload the method: Class XY extends BaseXY{  public function

[symfony-users] Re: CSRF form_tag questions

2009-12-02 Thread Tommy
I found the answer myself. FYI http://www.symfony-project.org/forms/1_2/en/01-Form-Creation http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designers creating your form class extended from sfForm. lastly just echo $form...that form has csrf_token. thanks the documentation :) On Dec

[symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread Florian
Hi! For me, it's a problem of __magic : You maybe come from Propel's ORM ( who generates *real* getters and setters ) so you can overload these defined in BaseClass in the final Class. But with Doctrine, it uses magic __call method for get* and set*, and delegates to Doctrine_Record::get ( and

Re: [symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread Jörg Ohnheiser
Ok does the Getter and Setter generator works for 1.3 ? I've used this Patch in 1.2.9 On Wed, Dec 2, 2009 at 11:15 AM, Florian sideral.undergro...@gmail.comwrote: Hi! For me, it's a problem of __magic : You maybe come from Propel's ORM ( who generates *real* getters and setters ) so you

[symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread Florian
sorry, I didn't answered your question! I've used this technique with Doctrine1.2 (IHMO both sf 1.2.9 and 1.3 use doctrine 1.2 ) On 2 déc, 11:15, Florian sideral.undergro...@gmail.com wrote: Hi! For me, it's a problem of __magic : You maybe come from Propel's ORM ( who generates *real*

[symfony-users] Form Validation

2009-12-02 Thread WEB-CHALLENGE
Hi everybody! I'm a new Symfony User. I want to setup a form where the user can enter many values. But, in the validation, the form won't be valid unless a certain data [an integer field] is greater than an other also entered by the user. I think it's simple but I'm really novice in Symfony

[symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread WEB-CHALLENGE
Just rename one of the two methods. Hope it will resolve the problem! Bye On 2 déc, 10:19, ridcully ohnhei...@googlemail.com wrote: Forget to say that i'm using doctrine. On Dec 2, 10:12 am, ridcully ohnhei...@googlemail.com wrote: Hi, after updating from symfony 1.2.9 to symfony 1.3.0 i

[symfony-users] Re: Using routes in forms

2009-12-02 Thread Leonoff
I was use this solution for complicated routes: ?php echo url_for('route_name', array(module = mymodule, action = myaction, id = (!$form-getObject()-isNew()) ? $form- getObject()-getId() : '' )) ? If route name already have predefined `module` and `action` then you can not determine their in

Re: [symfony-users] Firefox cache problem - routing

2009-12-02 Thread Alexandre Salomé
When you press F5, Internet explorer will make a new request for the main page. When you press F5, Firefox will reload the page, but not make a new request (if cache is enabled). Behaviors are differents, but to make a fresh reload (CSS, images, etc.) in Firefox : CTRL + MAJ + R. Have fun,

[symfony-users] Re: DBFinderPlugin future

2009-12-02 Thread MoUeTtE
+1 I really do like symfony because I can develop plugins for everything and easily re-use code in every applications that needs it. As I remember, jobeet tutorial encourages you to do so, Pirum release let me think that Sensio labs wants us to create our own repository too, so everything

[symfony-users] Re: propel. how to retrieve

2009-12-02 Thread Massimiliano Arione
On 1 Dic, 15:23, Daniel Lohse annismcken...@googlemail.com wrote: This will get messy very fast. Imagine only 20 categories and for this simple count, you'll already have 20 queries. Not good. :( Normally, you'd do a count on the category_id column and group by the same category_id column.

[symfony-users] Re: semantic web

2009-12-02 Thread Massimiliano Arione
On 1 Dic, 23:43, vegoi...@alumni.uv.es wrote: someone knows which parts I have to change if I need a semantic web. If I use xml, is it enough? You're a bit offtopic... Anyway, to do semantic web just respect the separation of concerns between structure (HTML/XHTML), presentation (CSS) and

[symfony-users] Re: funky select behavior

2009-12-02 Thread pghoratiu
Hi! Thanks for your feedback. As you said the problem was with edit vs. new object creation, where with edit the value was taken from the object itself. Best regards, gabriel On Dec 2, 1:23 am, Alexandre Salomé alexandre.sal...@gmail.com wrote: Hello,   Your default value is English, so

[symfony-users] Re: DBFinderPlugin future

2009-12-02 Thread Tom Boutell
DbFinder is a bad choice for plugins that use the database in a nontrivial way. Yes, it unifies things at the simplest level (queries), but if you want to use the features that really distinguish one ORM from another (column aggregation inheritance, behaviors, migrations), you're out of luck. And

[symfony-users] Re: DBFinderPlugin future

2009-12-02 Thread MoUeTtE
thanks for answering, and of course each ORM has it's good parts. For sure specific data logic has to be developed directly using ORM, and I never said we have to ban ORM specific dev nor that DbFinder has to implement nested set or geocode behavior. I just find it's a pity it is no more

[symfony-users] Re: doctrine - Jonathan.Wage - what is wrong in my ticket ?

2009-12-02 Thread dziobacz
Unfortunately it doesn't work. It works only if I have relation one to many but not when I have relation many to many. On 1 Gru, 18:22, Jonathan Wage jonw...@gmail.com wrote: Maybe this? $this-setDefaults(array(        'authors_list' = array(2) )); On Tue, Dec 1, 2009 at 7:52 AM,

[symfony-users] Error using sfFacebookConnectPlugin and sfGuardPlugin

2009-12-02 Thread Zach
I am attempting to set up a new project using Facebook Connect and thought I would give the sfFacebookConnectPlugin a try. It looks like a great plugin and I would like to thank Fabrice and all the other contributors for their hard work to make this plugin available. I just hope I can get it all

[symfony-users] Admin Generator Custom themes : is it possible to override only a few templates ?

2009-12-02 Thread theredled
Hi, In The Definitive Guide, it is written that Admin Generator Themes are overridable *file by file* : you can bootstrap a new theme by copying the files you want to override from the default theme But it seems that it's not the case anymore : I've created a theme, but only theme files are

[symfony-users] sfDoctrineGuardPlugin install problem

2009-12-02 Thread wueb
Hello. I'm having problems installing sfDoctrineGuardPlugin. When i do symfony plugin:install sfDoctrineGuardPlugin to install it, he give me a list of Deprecated php functions warnings and in the end it says: Unable to get plugin license information for plugin sfDoctrineGuardPlugin: Unknow

[symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread wueb
Hi Daniel. Thanks for your answer. i run that commands you show me but they didn't work. nothing happened when i executed them, say wasn't found nothing. any idea? On 2 Dez, 16:22, Daniel Lohse annismcken...@googlemail.com wrote: Hello, I think the PEAR channel was updated to use Pirum, see

Re: [symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread Daniel Lohse
Hmm, I'm sorry, it was mostly a shot in the dark by me. Maybe Fabien knows what's going on? Daniel On 2009-12-02, at 2/December, 6:08 PM, wueb wrote: Hi Daniel. Thanks for your answer. i run that commands you show me but they didn't work. nothing happened when i executed them, say wasn't

[symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread wueb
Thank you Daniel, i appreciate your help. I never used symfony before, so i belive i think all the procedures correct. 1-download package 2-extract to plugins folder in symfony 3- run the installation command On 2 Dez, 17:10, Daniel Lohse annismcken...@googlemail.com wrote: Hmm, I'm sorry, it

[symfony-users] sfDynamics::load('jquery.SCRIPTNAME') not loading in the result div, after an ajax action

2009-12-02 Thread artmajeur
Hi, I am using a fancybox script with sfDynamics, basically, I use the fancybox lightbox to select a contact, and then fill a contact_div with the appropriate info, as selected in the lighbox. Problem: after the lighbox action is hidden, the contact_div is filled with the appropriate info, but

[symfony-users] Re: DBFinderPlugin future

2009-12-02 Thread Frosty
+1 for a DbFinderPlugin support for Symfony = 1.3. I even think that such a piece of code should be part of Symfony core. I don't mind if I work with Propel, Doctrine or AnyOtherSuperFutureORM. I just want it to query my DB. I shouldn't rewrite all queries and schemas if I need to switch ORM,

Re: [symfony-users] Re: DBFinderPlugin future

2009-12-02 Thread Fabien Potencier
Frosty wrote: +1 for a DbFinderPlugin support for Symfony = 1.3. I even think that such a piece of code should be part of Symfony core. I don't mind if I work with Propel, Doctrine or AnyOtherSuperFutureORM. I just want it to query my DB. You don't mind? Are you kidding? Then, use plain

Re: [symfony-users] sfDynamics::load('jquery.SCRIPTNAME') not loading in the result div, after an ajax action

2009-12-02 Thread Eno
On Wed, 2 Dec 2009, artmajeur wrote: Problem: after the lighbox action is hidden, the contact_div is filled with the appropriate info, but the modify link, supposedly the same as the one used in first place to trigger the lighbox, does not work. It looks like symfony does not load the

[symfony-users] Question about the upgrade1.3 process and custom admin generator themes

2009-12-02 Thread Alex Gilbert
In one of our plugins, I have a custom admin generator theme that I based off of the admin theme in symfony 1.2's sfDoctrine plugin (lib/ plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/). After upgrading symfony to 1.3 I got the following warning message in the admin generator

Re: [symfony-users] DBFinderPlugin future

2009-12-02 Thread Pablo Godel
Back when I started doing symfony projects, using Propel, I started using DbFinder for some complicated queries. It was nice. But since I started using Doctrine on newer projects, I found that there is no need to use DbFinder any more. I never looked at it to develop an ORM-independent app, I

[symfony-users] Re: admin generator

2009-12-02 Thread Antoine S.
ok it s here http://www.symfony-project.org/reference/1_4/en/06-Admin-Generator it just that few functionality dont exist anyore -- 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] Re: doctrine_admin_double_list doesn't work in sf1.4?

2009-12-02 Thread Antoine S.
I have never used type refClass tell the class to do the relation n:m and so the local_id and the foreign_id of refClass that make the relation. not clear maybe .. see my example, it works On Dec 1, 2:38 am, Haris Zukanović ha...@eu-softing.com wrote: Hi, I have generated doctrine schema.yml

[symfony-users] Doctrine Actas plugin

2009-12-02 Thread Antoine S.
hi, I am trying to write a plugin to make a table actas Commentable. so in class Doctrine_Commentable extends Doctrine_Record_Generator { } I create a table that contain the comments (ORIGINALTABLE_comment), so I have more than one table, because I have different commentable table (ex: blog,

Re: [symfony-users] Question about the upgrade1.3 process and custom admin generator themes

2009-12-02 Thread Alexandre Salomé
Not yet fixed in symfony. Apply the patch attached to ticket, it will be fixed when a member of the symfony core team will apply it. 2009/12/2 Alex Gilbert a...@valueneutral.com In one of our plugins, I have a custom admin generator theme that I based off of the admin theme in symfony 1.2's

[symfony-users] Re: Where to clear the cache

2009-12-02 Thread Timmipetit
On Dec 1, 11:02 pm, Lee Bolding l...@leesbian.net wrote: Whilst I'm still not convinced it's the best approach (but one that I'm currently using... for now), you could fire an event from your model, which an observer would use to clear the cache. This is a little cleaner as it loosely

Re: [symfony-users] Form Validation

2009-12-02 Thread Alexandre Salomé
Hi, Welcome to symfony :) You must set a postValidator on the validatorSchema of your form. In the configure() method of your form : public function configure() { $this-setPostValidator(new sfValidatorSchemaCompare(left_field, sfValidatorSchemaCompare::GREATER_THAN, right_field)); }

Re: [symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread Alexandre Salomé
sfDoctrinePlugin is bundled with symfony. Just enable it in your project configuration ;) 2009/12/2 wueb webmaster@gmail.com Thank you Daniel, i appreciate your help. I never used symfony before, so i belive i think all the procedures correct. 1-download package 2-extract to plugins

Re: [symfony-users] Admin Generator Custom themes : is it possible to override only a few templates ?

2009-12-02 Thread Alexandre Salomé
Assume you have a module my_user for the model myUser. You can put in apps/frontend/modules/my_user/templates folder files from cache/frontend/dev/modules/automy_user/templates folder (something like it). Just generate the first time the module by going to the generated page in your browser. Am

[symfony-users] Re: Admin Generator Custom themes : is it possible to override only a few templates ?

2009-12-02 Thread Richtermeister
I think he is referring to customizing the admin generator itself via a theme, and from what I remember there is an issue with that. It should allow you selective overrides, but so far you still have to copy the entire generator and make changes there.. I believe the corresponding ticket is this

[symfony-users] Re: sfDynamics::load('jquery.SCRIPTNAME') not loading in the result div, after an ajax action

2009-12-02 Thread artmajeur
all required files (CSS and JS) are well included in first place, but they seem unavailable when in the updated div context. Here is a typical chain of actions: - fooAction: sfDynamics::load('jquery.fancybox') - fooActionSuccess: a class=some_fancybox_class

Re: [symfony-users] Re: Admin Generator Custom themes : is it possible to override only a few templates ?

2009-12-02 Thread Daniel Lohse
Yes, count me in. I'm doing regular searches if something changed in the default theme bundled with symfony so I can pull these changes in. :) This happened yesterday when Jonathan Wage added something. :) Overall, I'm pretty happy with my custom theme. Looks good and does its job. I'm just a

[symfony-users] Strange sfGuard bug/problem

2009-12-02 Thread Patrick Fong
Hi all, I'm having a strange issue when trying to login using sfGuard. For some reason, and this only happens randomly, it will redirect to http://domain/css/main.css. I can't seem to figure out why this would be happening in the first place and the fact that it only happens on a

[symfony-users] Re: Admin Generator Custom themes : is it possible to override only a few templates ?

2009-12-02 Thread theredled
You're right Richtermeister, that's what I way saying. Thanks for the ticket, cool to sse that I'm not alone with that issue :D However, after having posting here, I've made a bit dirty hack in my own Generator class, so that overriding is selective, at least for templates. For configuration and

Re: [symfony-users] Strange sfGuard bug/problem

2009-12-02 Thread ReynierPM
Patrick Fong wrote: Has anyone experienced this or able to point me in the right direction. Yes, I have this problem in the past and off course you're missing add some routes. Look at docs for the topic Customize sfGuardAuth redirect handling there is your solution. Just add this: all:

Re: [symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread Christopher Schnell
He is talking about sfDoctrineGuardPlugin. Not sfDoctrinePlugin. Alexandre Salomé schrieb: sfDoctrinePlugin is bundled with symfony. Just enable it in your project configuration ;) 2009/12/2 wueb webmaster@gmail.com Thank you Daniel, i appreciate your help. I never used symfony

Re: [symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread Christopher Schnell
No, you can either 1-download package 2-extract to plugins folder in your Symfony Project, not the Symfony lib! or Install them directly via PEAR. If you get an error when using Pear, you should first check, that PEAR is running correctly. BTW, what error did you get, you never mentioned.