[symfony-users] regarding resultset

2008-05-08 Thread kusum
hi, i am using a join query in action class and getting its recordset like this $conn = Propel::getConnection(); $stmt = $conn->prepareStatement($query); $this->rs=$stmt->executeQuery(); 1- i am using this rs in template like this next()) {

[symfony-users] Running Symfony on a subdomain

2008-05-08 Thread Marco Schierhorn
Hi, i have some problems with running symfony on a subdomain. I have created a subdomain which points to /kunden/80049_40667/webseiten/dcytest/web The domain is http://dcytest.esv-media.de/ Symfony is installed in /kunden/80049_40667/webseiten/dcytest This is my .htaccess File : RewriteEngi

[symfony-users] Re: i18n question

2008-05-08 Thread Thomas Rabaix
Tours & Activitées Thomas On Wed, May 7, 2008 at 8:26 PM, melz <[EMAIL PROTECTED]> wrote: > > Ah, nevermind. Figured it out. > > > > > > Products, Services & Publications > > Produits, Services et Publications > > > > I had to ca

[symfony-users] Re: symfony propel-dump-data - Maximum function nesting level

2008-05-08 Thread Marco Schierhorn
Hi, i have tried all your suggestions, but i didnt get it to work. Do you need some additional informations? I really appreciate any help / suggestions. Regards, Marco Weitergeleitete Nachricht Von: Olivier LOYNET <[EMAIL PROTECTED]> Antwort an: symfony-users@googlegroups.co

[symfony-users] Admin generator 1.1 uploaded file name

2008-05-08 Thread tom ee
Hi, Uploading a file using the admin generator, I can only see 2 ways to name it: - setting a string in generator.yml, but that's obviously not going to work for more than one file - the file name is an md5 + its extension I have "remixed" the core slightly to just give me the file name but th

[symfony-users] sfGuardDoctrine -> how do I check that I'm logged in, in my template

2008-05-08 Thread Johannes Frandsen
Hi I have now installed sfGuardDoctrine and the login feature seems to work. I would however like it to be optional to login, and show you some information based on whether you are logged in or not. How is this accomplished? If i try to access $sf_user->getGuardUser()->getUsername() when I'

[symfony-users] Re: the future of the admin generator??

2008-05-08 Thread Cédric Sadai
Mmmh... Why don't you test it? :) On May 7, 6:51 pm, Jonathan Bryan <[EMAIL PROTECTED]> wrote: > Can I just ask what is planned for the admin generator in symfony 1.1 > and beyond?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[symfony-users] sfPropelActAsSortable with multiple ranking, other options?

2008-05-08 Thread Gunnar Lium
Hi! If I have have a list of articles with several pictures each, is there a way to get sfPropelActAsSortable to work so that pictures are sorted in relation to articles? I want to be able to rank pictures for article A independently of pictures for article B. Is this possible with this plugin? O

[symfony-users] I18N/L10N and dates

2008-05-08 Thread Lee Bolding
I seem to be making a real mess of dates in combination with I18N. Dates are stored in the DB in the MySQL date format (-MM-DD). When I retrieve my date from the database using my models getDate (for instance), I use date_format to format the date according to the users culture, which in

[symfony-users] Re: User guide for symfony 1.1 form framework?

2008-05-08 Thread Cédric Sadai
In the meantime, you call still look at this: http://thatsquality.com/article/section/name/symfony/page/3 On May 7, 11:39 pm, "Sid Bachtiar" <[EMAIL PROTECTED]> wrote: > Does anyone know where I can get the user guide (or > documentation/tutorial) for symfony 1.1 form framework? > > I've been goo

[symfony-users] How is sfDoctrinePlugin and SF 1.1?

2008-05-08 Thread Bruno Reis
Hi there, Does anyone knows if the sfDoctrinePlugin is going to support SF 1.1? Is it going to have form generator either? Thanks, Bruno --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post

[symfony-users] Re: Running Symfony on a subdomain

2008-05-08 Thread [EMAIL PROTECTED]
Hi, the following might help you : http://trac.symfony-project.com/wiki/HowToRedirectPublicHtmlToWebFolder Regards Guy Marco Schierhorn wrote: Hi, i have some problems with running symfony on a subdomain. I have created a subdomain which points to /kunden/80049_40667/webseiten/dcytest/

[symfony-users] Re: [SPAM] [symfony-users] Running Symfony on a subdomain

2008-05-08 Thread Tom Haskins-Vaughan
Hi Marco, For some reason I have to comment out the following line to get mine to work: #RewriteRule .* - [L] Let me know if you have any luck with that. Tom Marco Schierhorn wrote: > Hi, > > i have some problems with running symfony on a subdomain. > I have created a subdomain which po

[symfony-users] Re: regarding resultset

2008-05-08 Thread Richix
Hi, and something like this: "> > >getString('propertyname');?> > ?> > > in this case it is not showing the recordset value in template . > > 2-other way > > while(true) > { > $rs->next(); > try { $rs->getString('listingid'); } catch(Exception $e

[symfony-users] Motivational Quote of the day!~

2008-05-08 Thread Sonia
*"A Butterfly lives only for a few days,* *but it still flies joyfully capturing many Hearts.* *Each moment in life is Precious. * *Live happy and win many Hearts" * * Forward it to all your friends and make their day brought to you b

[symfony-users] Re: problem with multiple pk

2008-05-08 Thread Richix
ohhh my schema say than the table dont have any pk, and is true, then, why symfony try to get one sequence id? On May 7, 1:28 pm, Whisller <[EMAIL PROTECTED]> wrote: > I'm not sure, I understand everything... > You have one table? And this table have two columns with PK? > Is your ta

[symfony-users] [PROBLEM] I18N/L10N and dates

2008-05-08 Thread Lee Bolding
OK, I know what is happening now It looks like the startdate is being POSTED literally - and that Symfony is splitting the date at the / - like it would any other URL, to create key/value pairs. Hence the month -> year pair. Not at all helpful! I'm surprised nobody has run into this bef

[symfony-users] sfThumbnail stops processing

2008-05-08 Thread Hadubard
Hi, I use the sfThumbnail Plugin to create thumbnails on the fly when uploading pictures to my project. Unfortunately it seems that the plugin stops without any obvious reason while processing the picture list. To describe what I did: I created a Queue Module with an own database table. Whe

[symfony-users] Re: [doctrine-user] How is sfDoctrinePlugin and SF 1.1?

2008-05-08 Thread Jonathan Wage
http://svn.symfony-project.com/plugins/sfDoctrinePlugin/trunk/ I have already ported everything from sfDoctrinePlugin for 1.0 to 1.1, and ported all sfPropelPlugin 1.1 functionality too. The Doctrine website is running symfony 1.1 and sfDoctrinePlugin. - Jon On Thu, May 8, 2008 at 8:26 AM, Brun

[symfony-users] sfDoctrineLucenePlugin and sfZendFrameworkBridge

2008-05-08 Thread gimler
Hello, i use the sfDoctrineLucenePlugin and now i wil use other components from the zend framework. so i set up in my settings.yml the sfZendFrameworkBridge. i get these error: Zend_Loader::include_once(Doctrine/Template/ sfLuceneDoctrineTemplate.php can anybody help me please. greetings Gimle

[symfony-users] Re: sfDoctrineLucenePlugin and sfZendFrameworkBridge

2008-05-08 Thread gimler
i get also a error when i won´t to extends a plugin class. class sfGuardAuthActions extends BasesfGuardAuthActions Zend_Loader::include_once(BasesfGuardAuthActions.php) greetings Gimler On 8 Mai, 17:53, gimler <[EMAIL PROTECTED]> wrote: > Hello, > > i use the sfDoctrineLucenePlugin and now i

[symfony-users] Re: How is sfDoctrinePlugin and SF 1.1?

2008-05-08 Thread thomas.s
On May 8, 5:39 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > http://svn.symfony-project.com/plugins/sfDoctrinePlugin/trunk/ > > I have already ported everything from sfDoctrinePlugin for 1.0 to 1.1, and > ported all sfPropelPlugin 1.1 functionality too. Thank you for your effort Jon. > > Do

[symfony-users] Re: How is sfDoctrinePlugin and SF 1.1?

2008-05-08 Thread Jonathan Wage
Hmm. Do symfony admin and form generators not handle composite primary keys? - Jon On Thu, May 8, 2008 at 11:49 AM, thomas.s <[EMAIL PROTECTED]> wrote: > > > > On May 8, 5:39 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > > http://svn.symfony-project.com/plugins/sfDoctrinePlugin/trunk/ > > > >

[symfony-users] Re: sfGuardDoctrine -> how do I check that I'm logged in, in my template

2008-05-08 Thread Jonathan Wage
$sf_user->isAuthenticated() - Jon On Thu, May 8, 2008 at 4:30 AM, Johannes Frandsen <[EMAIL PROTECTED]> wrote: > Hi > I have now installed sfGuardDoctrine and the login feature seems to work. > > I would however like it to be optional to login, and show you some > information based on whether yo

[symfony-users] Re: [doctrine-user] Re: How is sfDoctrinePlugin and SF 1.1?

2008-05-08 Thread Bruno Reis
Very nice to know. Here in my job, that is a Brazilian governamental organization, we are using SF 1.0 and Doctrine and we are getting very nice results. We have two projects being developed in the time planned. Both already passed tests on their first packages. I pretend to upgrade to 1.1 ASAP, bu

[symfony-users] Re: How is sfDoctrinePlugin and SF 1.1?

2008-05-08 Thread thomas.s
On May 8, 6:54 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > Hmm. Do symfony admin and form generators not handle composite primary keys? In sfDoctrineFormGeneratedTemplate, line 116: $obj->getLocalFieldName() ?> = $this->object- >getPrimaryKey(); ex.: $groupUser->user_id = array('id' => 47

[symfony-users] Re: the future of the admin generator??

2008-05-08 Thread Jonathan Bryan
Well, I am playing with it and as far as I can tell, it hasn't changed since symfony 1. For instance, it seems to be using the old form system. That's why I'm asking what the future plans for it are?? Regards, Jonathan On 8 May 2008, at 06:21, Cédric Sadai wrote: > > Mmmh... Why don't you t

[symfony-users] Re: the future of the admin generator??

2008-05-08 Thread Fabien POTENCIER
Jonathan Bryan wrote: > Well, I am playing with it and as far as I can tell, it hasn't changed > since symfony 1. For instance, it seems to be using the old form system. The admin generator will be rewritten to use the new form framework for symfony 1.2. Fabien > > That's why I'm asking wh

[symfony-users] Re: How is sfDoctrinePlugin and SF 1.1?

2008-05-08 Thread Jonathan Wage
If the admin generators and form generators have no concept of composite primary keys then simple changing sfDoctrineRecord::getPrimaryKey() to return the first array entry will fix the problem. I need someone to confirm this for me first though. - Jon On Thu, May 8, 2008 at 12:47 PM, thomas.s <[

[symfony-users] What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread James
Hello, I haven't started developing on 1.1 yet and probably won't for some time, but I am wondering what the thinking was behind not having helpers? I personally really like them and find them handy for a lot of things. Thanks, James --~--~-~--~~~---~--~~

[symfony-users] Re: What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread Fabien POTENCIER
Helpers are available in symfony 1.1 Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 James wrote: > Hello, > > I haven't started developing on 1.1 yet and probably won't for some > time, but I am w

[symfony-users] Re: What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread James
Weird I thought I had read in the mailing list that they were not going to be. Are some helpers being removed? James On May 8, 2008, at 3:54 PM, Fabien POTENCIER wrote: > > Helpers are available in symfony 1.1 > > Fabien > > -- > Fabien Potencier > Sensio CEO - symfony lead developer > sensi

[symfony-users] Re: What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread Fabien POTENCIER
James wrote: > Weird I thought I had read in the mailing list that they were not > going to be. Are some helpers being removed? The plan was to removed them and replace them with classes but we run out of time to make it happen in 1.1. Fabien > > James > > On May 8, 2008, at 3:54 PM, Fa

[symfony-users] Re: What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread naholyr
By the way, having "Url::linkTo" instead of "link_to" wouldn't be such a pain (especially if you have a sfCompat10 option which still provides functions as wrappers). And this would permit overriding, if this is made like Model for example : .Symfony directory ...lib .helper ...sfUrl.php

[symfony-users] Re: What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread Sebastian Busch
+1 I'd also like to have simple, static class methods as helpers. In that case, autoloading can also be used (which is a huge step forward compared to plain helper functions, having to call use_helper() is an outdated concept, annoying and error-prone (hey helper functions, sorry, I like you any

[symfony-users] Re: What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread John Singleton
+1 Totally. I always prefer static methods inside classes, anyway. You can take advantage of constants and all of that good stuff without having to pollute the namespace. On May 8, 2008, at 2:40 PM, Sebastian Busch wrote: > > +1 > > I'd also like to have simple, static class methods as help

[symfony-users] Re: sfDoctrineLucenePlugin and sfZendFrameworkBridge

2008-05-08 Thread Carl Vondrick
On Thu, May 08, 2008 at 08:53:00AM -0700, gimler wrote: > i use the sfDoctrineLucenePlugin and now i wil use other components > from the zend framework. Are you using the Doctrine branch for sfLucene? --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] sfPropelBehavior::add bug

2008-05-08 Thread Vincent
Hi, Is this a bug or I'm doing something wrong? This happen to any models or behaviors. Let say, in sfGuardUserProfile.php, I put below code at the end sfPropelBehavior::add('sfGuardUserProfile', array('sfPropelActAsCommentableBehavior')); Then in command line, I do symfony propel:build-all-al

[symfony-users] select_month_tag() not respecting NULL default

2008-05-08 Thread Daevid Vincent
I am new to symfony. In some page that already existed, I've been tasked to fix a bug. There is this block of code: 'margin-left: 10px;')) ?> - - '1900', 'year_end'=>'2008', 'include_custom'=>__('Year'))) ?> But what happens is that when we load the page, the select boxes are all set to the c

[symfony-users] SSL only with GET?

2008-05-08 Thread Richtermeister
Hi All, I'm using the SSL plugin on a project, and it's working great. My question is, why does it only work with GET request? Is that sufficient? Say I have a form that posts a credit card number to another action.. The action that displays the form would be secure, but the receiving action wou