[symfony-users] Re: Doubts about translations in a plugin

2010-09-10 Thread Matthias N.
AFAIK this command does not work with plugins. You have to manually create a file in the i18n/ folder of your plugin. regards, Matthias On 8 Sep., 16:28, Juan wrote: > Hi every body, > > I made an app following the Jobeet tutorial and I packaged in a plugin > without I10N and I18N, currently I n

[symfony-users] Doctrine queries in web debug toolbar are not shown correctly (sf 1.4)

2010-06-22 Thread Matthias N.
Hi, when I look at my web debug toolbar I see the database panel with 6 queries. The time is always: 0.00s, "doctrine" connection which seems to be not correct. But there is a much bigger problem: It does not show all queries, because in the log file I see much more queries and when I open the

[symfony-users] Removing a cached template fragment does not work (sf 1.4)

2010-06-21 Thread Matthias N.
Hi, I have a template fragment (using the cache() helper) and the name of it is "foo/bar/baz". It is saved in the filesystem at my-domain/all/myModule/show/_sf_cache_key/foo/bar/baz/slug/home.cache I guess the slug/home is because there is a routing parameter "slug" with the value "home". So..

[symfony-users] Re: Question about Symfony 2.0

2010-02-23 Thread Matthias N.
On 22 Feb., 13:47, Fabien Potencier wrote: > On 2/22/10 11:53 AM, Gareth McCumskey wrote: > > > > Hey all, > > > I just finished watching the presentation by Fabien about Symfony 2.0, > > and it really looks great. You can see that the lessons learnt > > developing symfony 1.x have paid off for th

[symfony-users] Re: Symfony 2 and changing a Bundle in the Application

2010-02-22 Thread Matthias N.
standard to work around the lack of oo in > symfony. Now I am thinking the way to accomplish will be a much more natural > oo solution. Something like creating a new bundle that simply extends the > things inside the other bundle. > > - Jon > > On Sat, Feb

[symfony-users] Symfony 2 and changing a Bundle in the Application

2010-02-20 Thread Matthias N.
Hi, did I understand it right that the src/Bundle dir in Symfony 2 is what the plugins/ dir is in Symfony 1.4 ? And the src/Application contains all application Bundles - no matter in what application you enable it? So.. my question is how do I overwrite / change code from a bundle in src/Bundl

[symfony-users] how to pre-generate i18n cache?

2009-07-14 Thread Matthias N.
Hi, I'm working on a project what has pretty much i18n content and it becomes a problem to access the project from the web after clearing the cache. Is there a way to pre-generate the i18n cache from CLI? Or a workaround? Can I build the i18n cache by simply executing an action or getting a part

[symfony-users] hiding a field in admin generator by a credential?

2009-04-27 Thread Matthias N.
Hi, is it possible in the admin generator (sf 1.2 / Doctrine) to hide fields depending on credentials? I tried fields: myfield: { credentials: editMyField } But it doesn't work. Is it supported at all? regards, Matthias --~--~-~--~~~---~--~~ You received this

[symfony-users] symfony 1.2 with Doctrine 1.1?

2009-04-24 Thread Matthias N.
Hi, has anyone experience with using sf 1.2 and Doctrine 1.1 ? Does that combination work or are there incompatibilies one can not work around? I would like to use Doctrine 1.1 for the improved migration features. regards, Matthias --~--~-~--~~~---~--~~ You rec

[symfony-users] sf 1.2 admin generator and how to show the primary key field

2009-04-22 Thread Matthias N.
Hi, how do I have to setup the admin generator so I can enter the primary key (a string in my case) instead of using auto increment? Is there a switch somewhere to turn on the primary key field? regards, Matthias --~--~-~--~~~---~--~~ You received this message b

[symfony-users] Re: testing code in plugins

2009-04-04 Thread Matthias N.
On 4 Apr., 15:13, Bernhard Schussek wrote: > Hi Matthias, > > If you want to execute particular tests, you can just execute them > from the console using "php". E.g. > $ php plugins/myPlugin/test/unit/myClassTest.php Hi Bernhard, thanks for your detailed information! Let's hope the patch will m

[symfony-users] testing code in plugins

2009-04-04 Thread Matthias N.
Hi, can someone give some information about how to write and execute functional tests as well as unit tests in plugins and how to execute all or particular ones? I couldn't find any information about that. Any information would be very appreciated. regards, Matthias --~--~-~--~~

[symfony-users] Re: Plugins inside of a plugin

2009-03-02 Thread Matthias N.
On 2 Mrz., 21:41, Jonathan Wage wrote: > On Mon, Mar 2, 2009 at 12:15 PM, Matthias N. < > > > > matthias.nothh...@googlemail.com> wrote: > > > On 1 Mrz., 23:22, Jonathan Wage wrote: > > > In that case it would load the one in the project plugins folder,

[symfony-users] Re: Plugins inside of a plugin

2009-03-02 Thread Matthias N.
On 1 Mrz., 23:22, Jonathan Wage wrote: > In that case it would load the one in the project plugins folder, and > sfSympalPlugin wouldn't load the bundled plugin if it has already been > loaded. I think to solve this, two things must be changed in the sfProjectConfiguration class: - additionally

[symfony-users] Re: sfParseException with config handlers and testing using test/fixtures/project of a plugin

2009-02-28 Thread Matthias N.
On 28 Feb., 16:10, "Matthias N." wrote: > Hi, > > I have a plugin "myPlugin" created by the task from sfTaskExtraPlugin. > This contains a test project in test/fixtures/project. > > I created a config handler but when I configure it in myPlugin/config/ >

[symfony-users] sfParseException with config handlers and testing using test/fixtures/project of a plugin

2009-02-28 Thread Matthias N.
Hi, I have a plugin "myPlugin" created by the task from sfTaskExtraPlugin. This contains a test project in test/fixtures/project. I created a config handler but when I configure it in myPlugin/config/ config_handlers.yml I get the following exception: sfParseException: Configuration file "m

[symfony-users] Re: some ideas for sfGridPlugin

2009-02-10 Thread Matthias N.
least there should be an easy way to insert a row under the "column name row" so one could easily add this feature - but I think it would be cool to have it directly supported by the sfGridPlugin. ok.. that's it for now :-) regards, Matthias On 10 Feb., 20:59, "Matthias N.&qu

[symfony-users] some ideas for sfGridPlugin

2009-02-10 Thread Matthias N.
Hi Bernhard, I think it would be a good thing to have support for multi sort with sfGrid. And I have a suggestion how this could work and look like without Javascript: - there should be a link to switch between single and multi sort mode (and/or a config option) - in multi mode the sortable colu

[symfony-users] sfFormExtraPlugin - help with sfWidgetFormJQueryDate

2008-12-10 Thread Matthias N.
Hi, I'm desperately trying to use the sfWidgetFormJQueryDate widget from the sfFormExtraPlugin. I downloaded jquery-1.2.6.min.js and added it to the response but I always get the following error (copied from Firebug): $.datepicker has no properties [Break on this error] }, $.datepicker.regional

[symfony-users] Re: Will compat10 be taken out of symfony 1.2?

2008-12-04 Thread Matthias N.
Do you already have an idea when it will be there? End of 2009 / early 2010 or something like that? I'm addicted to it and need my monthly units. ;-) regards, Matthias On 4 Dez., 15:08, Fabien Potencier <[EMAIL PROTECTED] project.com> wrote: > The sfCompat10Plugin won't be removed before symfo

[symfony-users] sf 1.2: Can I safely remove the sfPropelPlugin plugin when only using Doctrine?

2008-12-04 Thread Matthias N.
Hi, I remember the old days when it was not possible to remove sfPropelPlugin as the sfDoctrinePlugin needed some type stuff or something like that. Is it possible now with the 1.2 version to completely remove the sfPropelPlugin? I'm thinking about to create my own symfony because for my projec

[symfony-users] sf 1.2 Doctrine Admin Generator and error on save with PK = language

2008-12-02 Thread Matthias N.
Hi, I'm trying to setup a language admin generator. I added these lines to the LanguageForm so the primary key (which is simply the language code) is displayed: public function configure() { $this->widgetSchema['id'] = new sfWidgetFormI18nSelectLanguage (array('culture' => 'de'));

[symfony-users] Testing with multiple sessions

2008-11-30 Thread Matthias N.
Hi, I didn't try it yet.. but: Is it possible to have different sessions in one functional test? How can I setup that? For example I need to test various things where the user can be signed in multiple times. Or where two users interact somehow. I want to instantly compare certan values in the s

[symfony-users] Re: Testing across applications

2008-11-30 Thread Matthias N.
I think there is something like a switchTo() method in sfContext and then you should be able to execute actions of another application. regards, Matthias On 27 Nov., 13:44, endor <[EMAIL PROTECTED]> wrote: > I want to run a lime functional test that first does something in one > application and

[symfony-users] upgrade question from 1.0 -> 1.2

2008-11-07 Thread Matthias N.
Hi, I plan to upgrade some projects from symfony 1.0 to 1.2. I read that I need to upgrade to 1.1 first but as the upgrade script of symfony 1.1 is also part of symfony 1.2 I wonder if it's also a good way to directly use symfony 1.2 and simply run both upgrade scripts and then start refactoring

[symfony-users] sfMixer and global hook for save() and delete()

2008-10-16 Thread Matthias N.
Hi list, is it possible with sfMixer to hook into the save() and delete() methods of all models? I mean with only one callback - one for save() and one for delete()? I need a way to reliably distribute statements between master and slave servers. Regards, Matthias --~--~-~--~~

[symfony-users] Re: ysfDimensionsPlugin 1.1 and application level dimensions

2008-07-04 Thread Matthias N.
atch it. Or try to forward to 404 action instead in setDimension() regards Matthias On 4 Jul., 09:32, "Matthias N." <[EMAIL PROTECTED]> wrote: > Hi, > > Today I wanted to setup dimensions for an api application. In this api > I would like to use dimensions for providing

[symfony-users] ysfDimensionsPlugin 1.1 and application level dimensions

2008-07-04 Thread Matthias N.
Hi, Today I wanted to setup dimensions for an api application. In this api I would like to use dimensions for providing different versions so the api can evolve while keeping old versions. But in the frontend/backend I either do not need dimensions or I need other dimensions than "version". So.

[symfony-users] Re: "Symfony 1.1, as a transition release..."

2008-07-02 Thread Matthias N.
On 1 Jul., 22:55, Eno <[EMAIL PROTECTED]> wrote: > On Jun 30, 3:02 am, Carl Vondrick <[EMAIL PROTECTED]> > wrote: > > > I recommend upgrading to 1.1 now and then 1.2 once its out. The > > transition from 1.0 --> 1.1 is bigger than 1.1 --> 1.2. > > So the admin generator in 1.1 is effectively the

[symfony-users] how to configure a custom edit action to be of type "submit" (post request)?

2008-05-24 Thread Matthias N.
Hi, in the admin generator (sf 1.0), edit actions: how can I setup a custom button to be of type "submit" ? I need to implement save_and_next/prev actions - but this isn't possible as the button is rendered as type "button" (GET request) which is not really what I want to be able to save the acti

[symfony-users] Re: tooltip plugin on mouseover instead of click?

2008-05-23 Thread Matthias N.
Strange.. "mouseover" now works.. But: how can I turn it to disappear after x seconds? On 23 Mai, 14:44, "Matthias N." <[EMAIL PROTECTED]> wrote: > Hi, > > what do I have to set for the showEvent parameter with the > dwPrototypeTooltipPlugin so the tooltip

[symfony-users] tooltip plugin on mouseover instead of click?

2008-05-23 Thread Matthias N.
Hi, what do I have to set for the showEvent parameter with the dwPrototypeTooltipPlugin so the tooltip appears "on mouse over"? 'absolute'), array('style.position' => 'absolute')) ?> I tried several options but didn't guess the right one.. :-( regards, Matthias --~--~-~--~~-

[symfony-users] Re: filter

2008-04-22 Thread Matthias N.
Are you using symfony 1.0.x ? Try to clear the cache from the command line: symfony cc On 21 Apr., 13:07, kusum <[EMAIL PROTECTED]> wrote: > hi > i have defined a filter class rememberFilter.class.php in apps/ > frontened/lib folder and and entered corresponding entry in > filter.yml, ap

[symfony-users] Re: how can I add a section to the debug toolbar?

2008-04-20 Thread Matthias N.
e code a bit, maybe I can even create a patch. regards Matthias > > > > > > Matthias N. wrote: > > Hi, > > > I would like to add some information in a separate section to the > > debug toolbar. Is there a way in sf 1.0? > > And.. to complete

[symfony-users] how can I add a section to the debug toolbar?

2008-04-18 Thread Matthias N.
Hi, I would like to add some information in a separate section to the debug toolbar. Is there a way in sf 1.0? And.. to complete my question: how can I do it with sf 1.1? regards, Matthias --~--~-~--~~~---~--~~ You received this message because you are subscribe

[symfony-users] Re: Help the core team save time!

2008-02-13 Thread Matthias N.
On 11 Feb., 10:05, Stefan Koopmanschap <[EMAIL PROTECTED]> wrote: > On Feb 9, 4:28 am, Carl Vondrick <[EMAIL PROTECTED]> wrote: > > > On Friday, February 08, 2008, Dustin Whittle wrote: > > > If we all work together, we can save Fabien & Francois a lot of time so > > > they can spend it on more im

[symfony-users] Are you using the sfPropelLoadbalancerPlugin?

2008-02-12 Thread Matthias N.
Hi all, is there anyone out there using my nice plugin? Does it work for you? Problems? Solutions? Thanks in advance for any feedback. Regards, Matthias --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony use

[symfony-users] Re: problem with mod_rewrite? and a missing slash

2008-02-09 Thread Matthias N.
;" is missing, so symfony generates http url instead of https with each redirect. Hm.. I can solve that by checking the requested domain name and set this if it matches, but this is then an ugly hack.. Maybe I'll find out why Apache doesn't set this even though the connection is SSL sec

[symfony-users] Re: problem with mod_rewrite? and a missing slash

2008-02-09 Thread Matthias N.
ea what I could do? regards, Matthias > > Matthias N. wrote: > > Hi, > > > I have problems with mod_rewrite or at least something with url > > stuff.. > > I have several modules with such a url schema: subdomain.mydomain.info/ > > de/ModuleName/action > >

[symfony-users] problem with mod_rewrite? and a missing slash

2008-02-09 Thread Matthias N.
Hi, I have problems with mod_rewrite or at least something with url stuff.. I have several modules with such a url schema: subdomain.mydomain.info/ de/ModuleName/action But when the admin generator makes the redirect for exmple to the list action it (or the browser) redirects to this url: subdo

[symfony-users] Re: use event "template.filter_parameters" to set a helper object in sf 1.1?

2008-02-09 Thread Matthias N.
On 8 Feb., 21:01, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > It's not really possible right now. > > That will be possible with the introduction of the sfConfiguration object. > > seehttp://groups.google.com/group/symfony-devs/browse_thread/thread/be06... > for reference. Yeah, I k

[symfony-users] use event "template.filter_parameters" to set a helper object in sf 1.1?

2008-02-08 Thread Matthias N.
Hi, I'm working on the sfPageControllerPlugin. This plugin needs some helper methods. As I can see from the sources the "replacement" for the good old use_helper() seems to be to attach a listener to the event "template.filter_parameters". Is that correct? If yes, where should I put the sfEventD

[symfony-users] Re: Problem with Doctrine, admin generator and m2m relation

2008-02-06 Thread Matthias N.
On 6 Feb., 14:27, "Philip Daly" <[EMAIL PROTECTED]> wrote: > Matthias, > > I ran into a similar issue a while ago, but it's entirely possible the > Doctrine or Admin Generator code has changed since then. > > However, I believe the problem was that the PK of one of the objects in the > M2M relatio

[symfony-users] Re: localize modules and actions?

2008-02-06 Thread Matthias N.
On 4 Feb., 11:58, pihentagy <[EMAIL PROTECTED]> wrote: > Hi! > > I'd like to know, wheter I can fully localize the url of a project > consisting more applications. > So, if I have an url like:http://mydomain.com/organization/viewand I > would like to localize it for Hungary, I'd like to > havehtt

[symfony-users] Problem with Doctrine, admin generator and m2m relation

2008-02-06 Thread Matthias N.
Hi list, I'm using the admin generator with Doctrine. I have a m2m relation "Users". This relation seems to be configured correctly but the problem is the form field is not displayed at all in the admin generator. Unfortunately I get no error message, the field simply is not there.. :-( Anyone

[symfony-users] Re: sfConfiguration... and some refactoring

2008-02-06 Thread Matthias N.
On 6 Feb., 10:39, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > Matthias N. wrote: > > On 6 Feb., 10:27, Fabien POTENCIER <[EMAIL PROTECTED] > > project.com> wrote: > >> As you can retrieve PHP version with PHP_VERSION, SYMFONY_VERSION seems > &g

[symfony-users] Re: sfConfiguration... and some refactoring

2008-02-06 Thread Matthias N.
On 6 Feb., 10:27, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > As you can retrieve PHP version with PHP_VERSION, SYMFONY_VERSION seems > the best compromise. > > If we want a class constant, the only possibility is > sfCoreAutoload::VERSION as this is the very first class to be loaded

[symfony-users] Re: sfConfiguration... and some refactoring

2008-02-06 Thread Matthias N.
On 5 Feb., 15:17, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > Hi all, > > The sfConfiguration refactoring is almost finished. It takes times but a > lot of problems arose during the refactoring. > > I still have some design decisions to take and to begin with, I need > your advice on

[symfony-users] finding the right action and template

2008-01-29 Thread Matthias N.
Hi, I'm working on a pretty big project. I wonder if there is a way to highlight the templates and put the name in one of the corners like it is already done with the cache if you run the application in dev/debug mode. This would speed up developement a bit as I wouldn't think about "what templa

[symfony-users] putting parameters in project/config/app.yml does not work

2008-01-10 Thread Matthias N.
Hi, I put an app.yml in my project/config dir. Getting parameters from that file works fine. But since I have this file there the parameters of myapp/config/app.yml are not read anymore. Can anyone confirm this bug? Or is there a trick to get it work? Regards, Matthias --~--~-~--~

[symfony-users] how to check enabled state of an application in a batch script?

2008-01-04 Thread Matthias N.
Hi, I want to take the enabled state of applications into account in my batch scripts. So they don't get executed (exit before the actual execution) as long as the associated application is disabled. How can I check this in my batch script? Regards, Matthias --~--~-~--~~---

[symfony-users] Re: unable to checkout sfDoctrinePlugin / SVN error

2007-12-04 Thread Matthias N.
On 4 Dez., 11:40, "Ian P. Christian" <[EMAIL PROTECTED]> wrote: > Matthias N. wrote: > > Hi, > > > trying to checkout sfDoctrinePlugin I get the following lines: > > Doctrine SVN has moved, tohttp://svn.phpdoctrine.orgnow, and is no > longer accessible

[symfony-users] unable to checkout sfDoctrinePlugin / SVN error

2007-12-04 Thread Matthias N.
Hi, trying to checkout sfDoctrinePlugin I get the following lines: svn co http://svn.symfony-project.com/plugins/sfDoctrinePlugin sfDoctrinePlugin U sfDoctrinePlugin/branches/1.0/lib Hole externen Verweis nach >>sfDoctrinePlugin/trunk/lib/doctrine<< svn: PROPFIND Anfrage fehlgeschlagen auf

[symfony-users] Re: Askeet source?

2007-11-24 Thread Matthias N.
On 24 Nov., 12:21, "Ian P. Christian" <[EMAIL PROTECTED]> wrote: > Piers Warmers wrote: > > > Ooops, > > > Sorry about that... > > > Maybe the recent domain changes have effected that? > > http://www.symfony-project.org/downloads/askeet_release_1_0.tgz This seems to be a very old version? What sy

[symfony-users] Re: Askeet source?

2007-11-24 Thread Matthias N.
On 24 Nov., 11:39, Piers Warmers <[EMAIL PROTECTED]> wrote: > Hi Matthais, > > Here is the source: > > http://www.symfony-project.org/downloads/askeet/askeet_release_1_0.tgz Hm.. I get a 404 error on that link. Any other ideas? :-) Regards, Matthias --~--~-~--~~~-

[symfony-users] Askeet source?

2007-11-24 Thread Matthias N.
Hi, where can I download/checkout the Askeet project? Thanks in advance! Regards, Matthias --~--~-~--~~~---~--~~ 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@

[symfony-users] Re: problems with sfSimpleForumPlugin

2007-11-21 Thread Matthias N.
AIL PROTECTED] project.com> wrote: > I'd say that you must set up the user class for the blog plugin in a > configuration file, and that you skipped this step. > > But this is an old bug, and it is normally fixed in the trunk. Which > version of the blog plugin do you use? >

[symfony-users] Re: problems with sfSimpleForumPlugin

2007-11-20 Thread Matthias N.
If I move the Blog plugin out of the project the model is successfully created. So it seems that the blog plugin is broken at the moment!? Regards, Matthias On 20 Nov., 19:23, "Matthias N." <[EMAIL PROTECTED]> wrote: > Hi, > > in a symfony 1.0 project I instal

[symfony-users] problems with sfSimpleForumPlugin

2007-11-20 Thread Matthias N.
Hi, in a symfony 1.0 project I installed the following plugins: sfFeed2Plugin sfGuardPlugin sfMediaLibraryPlugin sfSimpleBlogPlugin sfSimpleCMSPlugin sfSimpleForumPlugin sfThumbnailPlugin Is there a special order in which I have to install them? Trying a symfony propel-build-model leads to t

[symfony-users] How to cache template fragments in memory?

2007-11-12 Thread Matthias N.
Hi, I'm trying to cache template fragments in memory instead of the filesystem for performance reasons. But trying to set view_cache: class: sfProcessCache leads to Fatal error: Call to undefined method sfProcessCache::initialize() in /symfony/view/ sfViewCacheManager.class.php on lin

[symfony-users] strange issues with doctrine and views/templates

2007-10-12 Thread Matthias N.
Hi, I have problems whenever I have to deal with Doctrine relations in templates, for example $place->User. As soon as I delete the user (or any other related object) the template stops rendering at the place where I want to use $place->User and only a very small piece of html code (I guess only

[symfony-users] default routing settings

2007-09-24 Thread Matthias N.
Hi list, is there a way to define default settings for all routes? In my case my routing.yml is so that almost all routes have /:sf_culture as first parameter and a requirement that checks the format of the parameter. It would make my routing.yml more readable if I could move these tons of "req

[symfony-users] Re: Not able to download sfPropelLoadbalancerPlugin

2007-07-19 Thread Matthias N.
On 19 Jul., 11:45, Janak Jadeja <[EMAIL PROTECTED]> wrote: > Not able to download newly added plugin : sfPropelLoadbalancerPlugin There is no release available, yet. You have to check it out from subversion: change into your plugins dir and run: svn co http://svn.symfony-project.com/plugins/sfP

[symfony-users] Re: Deployment Method

2007-06-18 Thread Matthias N.
On 15 Jun., 18:54, "g0d br" <[EMAIL PROTECTED]> wrote: > that's how i do: > > # symfony freeze > # symfony sync production go > # symfony unfreeze But this only works for ssh accounts, doesn't it? A way to do this via ftp (maybe even a driver based approach) would be fine. Or did I overseen somet