[symfony-users] Re: Doctrine, query arguments while fetching relations objects

2008-09-22 Thread Thomas Rabaix
Hello, I used the dql callback function preDqlSelect in order to automatically fetch elements ordered. (solved one part of the problem) But in some case it will be great to do : $model->getLastActivatedComments(); function getLastActivatedComments() { $sub_query = Doctrine_Query_Part::Create

[symfony-users] Accessing class variables and methods in Actions class.

2008-09-22 Thread Ridvan Lakas ng Bayan S. Baluyos
Hi list, I'm currently having a problem on how to make this run. How do I access a class variable or method in the actions class from my custom class found in the modules/lib folder? I'm doing this because I want to make my classes more organized and avoid a long list of functions within the actio

[symfony-users] Re: I use sf1.1 with sfDoctrine and I would like to know which search engine plugin I can use

2008-09-22 Thread Bernhard Schussek
Hi Jeremy, I cannot answer your question, since I too am waiting for the new search plugin. Maybe you can use the Searchable behaviour in Doctrine though to build your own search. http://www.doctrine-project.org/documentation/manual/1_0/en?chapter=behaviors#core-behaviors:searchable Bernhard

[symfony-users] Re: Doctrine, query arguments while fetching relations objects

2008-09-22 Thread Bernhard Schussek
Hi Thomas, Why don't you just query the comments independently of the blog article? $comments = Doctrine_Query::create() ->from('Comment c') ->where('c.article_id = ?', $yourArticleId) ->orderBy('c.created_at DESC') ->execute(); If you put this code in the CommentTable you really don't

[symfony-users] Re: plugins in the new admin generator?

2008-09-22 Thread Bernhard Schussek
You are basically right. The new generator will not generate much code anymore, but will be based on the form framework and a new datagrid class. Bernhard On Mon, Sep 22, 2008 at 8:54 PM, Saganxis <[EMAIL PROTECTED]> wrote: > > Hi i 'd like to know how will work the admin generator?? There wi

[symfony-users] Re: Symfony clear-cache locking the CLI environment ?

2008-09-22 Thread Nicolas Perriault
On Tue, Sep 23, 2008 at 2:23 AM, Cristiano Betta <[EMAIL PROTECTED]> wrote: > I still haven't for the reason as described before Open a ticket: - for the correct milestone (1.1.3 here) - flag is as major It will be reviewed really quickly ;) ++ -- Nicolas Perriault http://prendreuncafe.com

[symfony-users] Re: simple question about form elements definitions

2008-09-22 Thread Sid Bachtiar
My guess is that a widget might not be a form element, so that's why there's sfWidget and sfWidgetForm On Tue, Sep 23, 2008 at 8:27 AM, Saganxis <[EMAIL PROTECTED]> wrote: > > Just a simple question: > > Why the 'Widget' word in form elements like sfWidgetFormSelect?? > > > > -- Visit my webs

[symfony-users] Re: where can i open tickets for the symfony site??

2008-09-22 Thread Saganxis
ok i go here http://trac.symfony-project.org/report but in which category can i report the issue about the site?? On 22 sep, 17:34, "Dmitry Nesteruk" <[EMAIL PROTECTED]> wrote: > http://trac.symfony-project.org > > 2008/9/22 Saganxis <[EMAIL PROTECTED]> > > > > > Hi to all, I 'd like to know if t

[symfony-users] Re: Symfony on ubuntu...

2008-09-22 Thread Peter Van den Wildenbergh
Never mind... figured it out. fixtures directory in ./data and symfony propel-load-data ... An up-to-date how-to would still be nice. Will this method change in the upcoming new version of the framework? Peter On Mon, Sep 22, 2008 at 1:13 PM, PeterLinux <[EMAIL PROTECTED]>wrote: > > Hi List,

[symfony-users] simple question about form elements definitions

2008-09-22 Thread Saganxis
Just a simple question: Why the 'Widget' word in form elements like sfWidgetFormSelect?? --~--~-~--~~~---~--~~ 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@goog

[symfony-users] Re: sfEasyGMapPlugin: a new plugin to quickly add a Google Map to a symfony project

2008-09-22 Thread James
Cool, I'll give it a download and give it a try. :-D James On Sep 22, 2008, at 7:40 PM, Fabrice B wrote: > > I have not fully understood how to configure pear install for both > symfony 1.0 and 1.1 at the same time. > > So in the meantime, just use the "easy way", the svn checkout > > svn co h

[symfony-users] Re: Symfony clear-cache locking the CLI environment ?

2008-09-22 Thread Cristiano Betta
I still haven't for the reason as described before On 23 Sep 2008, at 01:21, peterVG wrote: > > We're reproducing the same error on our 1.1.2 copies. Has anyone filed > a ticket for this yet as per Nicolas' suggestion? If so, please post > URL. If not, I'll open one tomorrow (i'm late for din

[symfony-users] Re: Symfony clear-cache locking the CLI environment ?

2008-09-22 Thread peterVG
We're reproducing the same error on our 1.1.2 copies. Has anyone filed a ticket for this yet as per Nicolas' suggestion? If so, please post URL. If not, I'll open one tomorrow (i'm late for dinner now :-) --peter On Sep 20, 4:24 am, Cristiano <[EMAIL PROTECTED]> wrote: > Yeah, that's not really

[symfony-users] Re: sfEasyGMapPlugin: a new plugin to quickly add a Google Map to a symfony project

2008-09-22 Thread Fabrice B
I have not fully understood how to configure pear install for both symfony 1.0 and 1.1 at the same time. So in the meantime, just use the "easy way", the svn checkout svn co http://svn.symfony-project.com/plugins/sfEasyGMapPlugin/trunk/ plugins/sfEasyGMapPlugin ln -s ../plugins/sfEasyGMapPlugin/

[symfony-users] Re: where can i open tickets for the symfony site??

2008-09-22 Thread Dmitry Nesteruk
http://trac.symfony-project.org 2008/9/22 Saganxis <[EMAIL PROTECTED]> > > Hi to all, I 'd like to know if there are any place to open tickets > for the symfony site??? > > For example in the snippets page the header is outdated. There is no > link for the plugin page. So is this the right way to

[symfony-users] Symfony on ubuntu...

2008-09-22 Thread PeterLinux
Hi List, NewBie question, if I install symfony using PEAR I get version 1.1.2 (Preferred) But I run into trouble. example I cannot locate sfCore.class.php (Needed in a load_data.php script) If I follow the apt-get install php5-symfony path I get the older version 1.0.17 Now there is a /usr/share

[symfony-users] Re: sfEasyGMapPlugin: a new plugin to quickly add a Google Map to a symfony project

2008-09-22 Thread James
How hard would this be to make compatible with Symfony 1.0? Looking at the instructions for installation I don't see anything specific to 1.1. Is it using anything that is specific to the 1.1 APIs? Thanks James Who for the time being is stuck in Symfony 1.0 land. On Sep 22, 2008, at 3:1

[symfony-users] sfEasyGMapPlugin: a new plugin to quickly add a Google Map to a symfony project

2008-09-22 Thread Fabrice B
Hello, following a conversation on the French symfony group, I worked to release my pernosal Google Maps plugin. I tried to make it as simple as possible while leaving most of the functionalities I have developed for my personal needs. Here is the link: http://www.symfony-project.org/plugins/sfE

[symfony-users] where can i open tickets for the symfony site??

2008-09-22 Thread Saganxis
Hi to all, I 'd like to know if there are any place to open tickets for the symfony site??? For example in the snippets page the header is outdated. There is no link for the plugin page. So is this the right way to inform the team about this little mistake??? --~--~-~--~~---

[symfony-users] plugins in the new admin generator?

2008-09-22 Thread Saganxis
Hi i 'd like to know how will work the admin generator?? There will be a grid plugin to diaplay the data in tables?? there will be a tree plugin to diaply trees??? and so on Becuase I think it'd be useful to have a datagrid plugin(for example ), and other functionality that can be used in or

[symfony-users] Re: Adding project to server

2008-09-22 Thread Eno
On Sat, 20 Sep 2008, torso wrote: > I need help with synchronization. I have a project which is done with > clear php, with out any framework. Now I have done simple admin > project with symfony. Is it possible to add the symfony project to > address.com/admin. Both projects use same database. Ho

[symfony-users] Re: Adding project to server

2008-09-22 Thread Eno
On Mon, 22 Sep 2008, Cindy Cullen wrote: > I have to use ./symfony command in the root directory after the freeze. Actually, after freezing you should prefix and command-line with "php" when running CLI commands on the production server. -- --~--~-~--~~~---~--~

[symfony-users] Re: Shared hosting, Symfony and PHP

2008-09-22 Thread Eno
On Fri, 19 Sep 2008, Ant Cunningham wrote: > Well yeah. But thats not the point. The point was he specifically said > "Shared" hosting. Im jsut sayign there are options out there if your > willing to pay say $15-20/mo. instead of $5, which still isnt as much > as $60 :-) linode.com is $20/

[symfony-users] Doctrine, query arguments while fetching relations objects

2008-09-22 Thread Thomas Rabaix
Hello, In propel it is possible to provide a Criteria objet when fetching relations. This can be used to fetch, for instance, all blog comments ordered by date. How can we achieve this with doctrine ? I quickly look to the code and maybe the Doctrine_Relation::fetchRelatedFor should get a secon

[symfony-users] I use sf1.1 with sfDoctrine and I would like to know which search engine plugin I can use

2008-09-22 Thread Jeremy Benoist
Hello, I always used Doctrine for all my symfony project. But before symfony 1.1, it were easy to find a great search engine plugin : I used the 1.0-Doctrine branche of sfLucenePlugin (even if Carl and/or Jonathan tells that this version isn't stable). And it works pretty good. But today, I'm wo

[symfony-users] Re: Adding project to server

2008-09-22 Thread Cindy Cullen
I have to use ./symfony command in the root directory after the freeze. On Sep 21, 2008, at 9:34 AM, torso wrote: > > I used the freeze, but when I am testing it with mamp I get error > > Warning: require_once(/Users/Torso/Desktop/www/guru/config/../lib/ > symfony/util/sfCore.class.php) [functio

[symfony-users] Re: Adding project to server

2008-09-22 Thread torso
I solved the problem. On Sep 21, 5:03 pm, torso <[EMAIL PROTECTED]> wrote: > Okey. But could I use freez command if I like to add it same domain? > > On 21 syys, 00:44, Frank Stelzer <[EMAIL PROTECTED]> wrote: > > > I would create a new subdomain and run the new symfony stuff there,   > > when it

[symfony-users] Criteria Object

2008-09-22 Thread [EMAIL PROTECTED]
Can somebody tell me if it is possible to translate a SQL UNION with Criteria. This is my sql request: SELECT place_city.id, place_city.city_long_name_FR AS name, place_country.country_short_name_FR, place_city.code FROM place_city LEFT JOIN place_country ON place_city.country_id = place_country.

[symfony-users] sfDoctrinePlugin Versions/Documentation

2008-09-22 Thread Jonathan Wage
Just letting you all know, I have updated http://www.symfony-project.org/plugins/sfDoctrinePlugin to show what versions of the plugin you should be using with each version of symfony. The pear packages and official symfony/Doctrine documentation are coming soon. I will continue to maintain the 1.1

[symfony-users] Re: getUri() does not include port number? :(

2008-09-22 Thread Thomas Rabaix
Can you please reply to our question ? Are you behind a proxy or are your connections tunnelings through a specific port ? like 4550 (public) to 80 (dev server ) Thomas On Mon, Sep 22, 2008 at 12:01 PM, Sumedh <[EMAIL PROTECTED]> wrote: > > Can someone put some light plase? :) > > On Sep 20

[symfony-users] Re: getUri() does not include port number? :(

2008-09-22 Thread Sumedh
Can someone put some light plase? :) On Sep 20, 10:42 am, Sumedh <[EMAIL PROTECTED]> wrote: > Yeah, the SERVER_PORT in the debugging panel shows 80...  :( > > And actually it is 8085, 8086 etc (one for every developer)... > > May be it has to do with how we have configured Apache? > > On Sep

[symfony-users] Re: Autoloading problem with Propel 1.3

2008-09-22 Thread Nicolas CHARLOT
Le 9 sept. 08 à 14:36, Eric Fredj a écrit : > Hi, > > It seems it should work fine because in SfNestedSetBuilder and > SfNestedSetPeerBuilder classes, the call to addIncludes() method > depends on the addInclude properties so the require() line should > not be generated. > > http://trac.symf