Re: [symfony-users] Re : missing first data in data list

2011-06-20 Thread Vincent Lechemin
it's a problem of encoding, make sure your database settings use utf8, and use utf8_encode/decode to display or write back into the database -- Vincent On Jun 20, 2011 1:35 PM, "Jérémy Simonklein" wrote: > Sorry, I've founded the solution. > It came from the accents o

[symfony-users] [sf2] Another folder for entities

2011-06-07 Thread Vincent Lechemin
hanks, -- Vincent -- 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@goog

Re: [symfony-users] Months in date field not always in same format

2011-06-05 Thread Vincent Lechemin
Maybe it's because he has the intl extension enabled and you don't. -- Vincent -- 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&

Re: [symfony-users] [SF2] Question on security password encoding

2011-05-30 Thread Vincent Lechemin
Ops, the forced parameter in the constructor is not a good idea for an entity :p -- Vincent On May 30, 2011 9:29 AM, "Vincent Lechemin" wrote: > Hi, > you could use doctrine events such as preUpdate and prePersist. Then adding > the encoder service in the constructor could

Re: [symfony-users] [SF2] Question on security password encoding

2011-05-30 Thread Vincent Lechemin
Hi, you could use doctrine events such as preUpdate and prePersist. Then adding the encoder service in the constructor could be a way to enforce the encryption. For the fixtures, you have access to the container so it should not be a problem. -- Vincent -- If you want to report a vulnerability

Re: [symfony-users] doctrine2 numRows

2011-05-16 Thread Vincent Lechemin
Just use the php function count on the results, it is O(1). -- Vincent -- 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 po

Re: [symfony-users] AuthenticationEntryPoint questions

2011-05-13 Thread Vincent Lechemin
I'm not sure if it is the right way either, but my way to do this is to define a custom path for 403 errors, security: access_denied_url: /error/403 and then use the custom controller to handle the wanted behavior. -- Vincent -- If you want to report a vulnerability issue on sy

Re: [symfony-users] [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Vincent Lechemin
I am using the route name to do that and it works most if the time, except when there is an internal redirection. It is better than the path because it is not parameter dependant. But I'm still looking for a better way. -- Vincent -- If you want to report a vulnerability issue on sy

[symfony-users] Re: How to overload the method which load the values in an edit form ?

2011-05-11 Thread Vincent B.
Thank you very much ! On 11 mai, 08:16, Gábor Fási wrote: > Overwrite the updateDefaultsFromObject > function.http://trac.symfony-project.org/browser/branches/1.4/lib/plugins/sfDo... > > On Tue, May 10, 2011 at 13:46, Vincent B. wrote: > > Hi, > > > I work with Symfo

Re: [symfony-users] [FORM] Multitple Entity type

2011-05-11 Thread Vincent Lechemin
yes I did :( -- Vincent -- 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 sym

[symfony-users] How to overload the method which load the values in an edit form ?

2011-05-10 Thread Vincent B.
efault value is the mysql date value. I need to format this mysql date with date_format helper. The problem is that I don't know where can I apply date_format function to influence the "edit" form. Any idea ? Regards, Vincent B. -- If you want to report a vulnerability issue on

Re: [symfony-users] [Symfony2]: Twig: How to access array value by decimal key?

2011-05-10 Thread Vincent Lechemin
Try the array access, test.foo[0] -- Vincent -- 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, sen

[symfony-users] [FORM] Multitple Entity type

2011-05-10 Thread Vincent Lechemin
Hi, I'm trying to use the entity type with a OneToMany relationship, but it's not working. Is there anything special to do? Thanks, -- Vincent -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message b

Re: [symfony-users] Forms - ChoiceType "empty_value" + "required"?

2011-05-05 Thread Vincent Lechemin
to do that I redefined the template of the choice list -- Vincent -- 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 po

Re: [symfony-users] Re: Symfony2 forms : can I show/hide fields

2011-05-05 Thread Vincent Lechemin
for now I'm doing that too, multiple forms with different actions and javascript to hide, but I was wondering if there was another solution -- Vincent -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this me

Re: [symfony-users] [AsseticBundle][Compass] Compile for production?

2011-05-05 Thread Vincent Lechemin
> > Thanks, > Try this: ./app/console assetic:dump -env=prod -- Vincent -- 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" g

Re: [symfony-users] Re: Symfony2 forms : can I show/hide fields

2011-05-05 Thread Vincent Lechemin
On Thu, May 5, 2011 at 9:41 AM, Manu wrote: > How does Symfony2 handle inheritance ? This also interests me, what's the best way to make a form with inheritance having multiple possibilities for data_class? -- Vincent -- If you want to report a vulnerability issue on symfony, please

[symfony-users] Re: Switching roles with moderation

2011-04-28 Thread Vincent Lechemin
I found a solution, maybe it could help someone. It is possible to do that by implementing your own event listener as a service on the event onSecuritySwitchUser. You also need to add the services security.context and security.access.decision_manager as arguments to your service. -- Vincent

[symfony-users] Re: Switching roles with moderation

2011-04-28 Thread Vincent Lechemin
framework without changing its code. Because the decision managers don't get asked if the user has all the role the target user has. And this listener is the only one called when switching user. Could anyone point me out how to? Thanks, -- Vincent -- If you want to report a vulnerability is

Re: [symfony-users] New form system questions

2011-04-27 Thread Vincent Lechemin
On Tue, Apr 26, 2011 at 4:00 PM, Vincent Lechemin wrote: > 'data' => array('value1' => true, 'value2' => true) After checking ArrayToBooleanChoicesTransformer, the right way to do it was: 'data' => array('value1', 'value2'

[symfony-users] Switching roles with moderation

2011-04-27 Thread Vincent Lechemin
a way to limit that? Thanks, -- Vincent -- 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, se

Re: [symfony-users] New form system questions

2011-04-27 Thread Vincent Lechemin
I looked into the code and I found: $builder->addEventListener(Events::onBindClientData, function (FilterDataEvent $event) { ... }); Maybe it could help someone :) -- Vincent -- If you want to report a vulnerability issue on symfony, please send it to security at symf

Re: [symfony-users] New form system questions

2011-04-27 Thread Vincent Lechemin
And also, how can I replace the previous preprocessData? -- Vincent -- 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 po

Re: [symfony-users] New form system questions

2011-04-26 Thread Vincent Lechemin
code but it is always overridden just before buildView is called. My way was to set the data in buildForm from ChoiceType so CheckBoxType has the correct data at the creation. Could you please hint me on where to look at? Thanks, -- Vincent -- If you want to report a vulnerability issue on sym

Re: [symfony-users] New form system questions

2011-04-26 Thread Vincent Lechemin
=> true) but I don't know why it is not rendered. It is weird because I don't see any reference to the option 'data' in the source code. Thanks for your quick reply, -- Vincent -- If you want to report a vulnerability issue on symfony, please send it to security at symf

[symfony-users] Re: New form system questions

2011-04-26 Thread Vincent Lechemin
On Tue, Apr 26, 2011 at 3:26 PM, Vincent Lechemin wrote: > Is there a replacement to the data option with choice field type? It > allowed to preset data. Correction, the data option does exist, but it is not shown in the template? -- Vincent Lechemin -- If you want to report a vulnera

[symfony-users] New form system questions

2011-04-26 Thread Vincent Lechemin
Hi, While updating to the new system, I got some problems. In twig, how can I test if a field has an error? Is there a replacement to the data option with choice field type? It allowed to preset data. Thanks, -- Vincent -- If you want to report a vulnerability issue on symfony, please send

Re: [symfony-users] Symfony2 extends twig -> creating a new filter

2011-04-22 Thread Vincent Lechemin
On Thu, Apr 21, 2011 at 3:41 PM, melopoeia wrote: >            'my_filter'   => new > \Twig_Filter_Function('twig_my_new_filter'), Try this instead: 'my_filter' => new \Twig_Filter_Method($this, 'my_filter'), -- Vincent Lechemin -- If

[symfony-users] keywords meta helper in templates

2011-04-04 Thread Vincent Régnard
g standard way to do that in order to have a full inhéritance with agregation of the values from application down to module level ? Vincent. -- 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 a

Re: AW: [symfony-users] doctrine:generate:entities duplicates entity file

2011-03-29 Thread Vincent Lechemin
Do you have getters setters for your class? -- Vincent Lechemin -- 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

Re: [symfony-users] Security + Entity + Fixtures + Encoding How do I encode in fixture

2011-03-24 Thread Vincent Lechemin
You can access it by implementing the interface ContainerAwareInterface -- Vincent Lechemin On Mar 24, 2011 12:29 PM, "badllama77" wrote: > Ok so the scenario is pretty simple, I want to create some dummy users using > fixtures, I need to encode their passwords. > How d

Re: [symfony-users] Symfony2 authentication with User Entity

2011-03-24 Thread Vincent Lechemin
Hi, On Wed, Mar 23, 2011 at 4:34 PM, Sergi wrote: >    public function getSalt() >    { >        return $this->getId(); >    } Did you encrypt your password with this salt? -- Vincent -- If you want to report a vulnerability issue on symfony, please send it to secu

Re: [symfony-users] Re: Question about sfFormObject::saveEmbeddedForms()

2011-03-19 Thread Vincent Lechemin
-- Vincent Lechemin On Mar 19, 2011 5:44 AM, "Richtermeister" wrote: > I think the silence is your answer.. we're all suffering from this, > and I believe the SF2 form system won't have this issue any more. > > Daniel > > > On Mar 15, 8:47 p

Re: [symfony-users] Production environment

2011-03-11 Thread Vincent Lechemin
Did you enable mod_rewrite? Or just check php_error.log -- Vincent Lechemin -- 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.

[symfony-users] ignoring innodb foreign key constraints

2010-10-11 Thread Vincent Régnard
Hi all, During the first stage developpement of my project, I frequently insert-sql and I would appreciate ignoring the foreign key constraint checks when importing sql data. I wouls like to benefit from the SQL FOREIGN_KEY_CHECKS feature somewhere. Is there a way to either set this globally

[symfony-users] Sf2 - PR3 -> embed actions

2010-09-15 Thread Vincent UNG
Hi !!! I'm using Sf2 PR2 and PR3 I was looking at the view quick tour especially the "2.4. Embed other Actions" section I just copy-paste the snippet of code for embed my fancyAction but the action helper returns me a "NULL" value. Am I doing it wrong ? Is this possibly a bug ? Thanks !! See ya

[symfony-users] Re: Symfony2 - upload files

2010-08-11 Thread Vincent UNG
sorry, I sent the message before finishing write it so, you have my "php code" And now my html code (just in case) " method="post" enctype="multipart/form-data"> " /> Can someone help me please ? Thanks ! bye ! (my english might be wrong. Sorry...) -- If you wa

[symfony-users] Symfony2 - upload files

2010-08-11 Thread Vincent UNG
Hi !! i'm trying to use an upload file action. I trie my code without Symfony2, and it works fine. but, when i'm trying to do this winthin Sf2, with the same code, my move_uploaded_file() function doesn't works. I have this error "Warning: move_uploaded_file(/egoodealer/web/uploads/ avatar.PNG) [f

[symfony-users] Symfony2 - upload files

2010-08-11 Thread Vincent UNG
Hi !! i'm trying to use an upload file action. I trie my code without Symfony2, and it works fine. but, when i'm trying to do this winthin Sf2, with the same code, my move_uploaded_file() function doesn't works. I have this error "Warning: move_uploaded_file(/egoodealer/web/uploads/ avatar.PNG) [f

[symfony-users] Re: Symfony2 - database query in the model

2010-07-26 Thread Vincent UNG
On 26 juil, 11:49, Fabien Potencier wrote: > On 7/26/10 11:47 AM, Vincent UNG wrote: > > > Hi ! > > > I'm using Symfony2 for personal project and for fun too ! > > Well... it's more for testing this new version. > > > Anyway, I was wondering

[symfony-users] Re: Symfony2 - database query in the model

2010-07-26 Thread Vincent UNG
Okay, thanks ! On 26 juil, 11:49, Fabien Potencier wrote: > On 7/26/10 11:47 AM, Vincent UNG wrote: > > > > > > > Hi ! > > > I'm using Symfony2 for personal project and for fun too ! > > Well... it's more for testing this new version. > >

[symfony-users] Symfony2 - database query in the model

2010-07-26 Thread Vincent UNG
Hi ! I'm using Symfony2 for personal project and for fun too ! Well... it's more for testing this new version. Anyway, I was wondering, how can I execute a database query inside my models Actually, when I create an instance of an object, I give the $this- >container->getService('database_connect

[symfony-users] Re: jQuery and Ajax, DOM problem

2010-06-04 Thread Vincent UNG
Thanks a lot Tom I'm using live now, and It perfectly works ! Thanks again :) -- 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

[symfony-users] jQuery and Ajax, DOM problem

2010-06-02 Thread Vincent UNG
Hello symfony users !! I have a problem with symfony and ajax (i'm using jQuery) When I click on a button, I send an ajax query that load an other module. The problem is I can't act on these new element with jQuery, for example in this new content (load with Ajax) I can't define a $ ('selector').c

[symfony-users] Jobeet Tutorial | Day 17 with sf1.4.4

2010-05-28 Thread Vincent UNG
catch (Exception $e) { $conn->rollBack(); throw $e; } }" Did I doing this wrong ? I guess I don't have to modify Doctrine_Table model... So what can I do ? Thanks for helping Bye~~ Vincent -- If you want to report a vulnerability

[symfony-users] Strange generate schema.sql

2010-05-07 Thread Vincent UNG
Hi ! I'm using Doctrine and MySQL. I wrote my schema.yml and tried to generate sql file with symfony doctrine:build-sql Here is an example of my schema.yml Table 1 : Window: connection: doctrine columns: id_window: type : integer(2)

[symfony-users] Include css and js without layout

2010-01-27 Thread Vincent UNG
Hi !! In my project, I have many _from that I have to view withou layout (I already set the $this->setLayout method at false), and I woul like to include a specific CSS and a specific JS file. I tried use_javascript('form') and use_stylesheet('form'), maybe I passed the wrong parameter... How can

Re: [symfony-users] symfony 1.4 install plugin

2009-12-27 Thread vincent Cassé
Hello Vincent, Did you have pear installed ? You use XAMPP ? What is the directory of XAMPP or apache and php ? Look php.ini file if "pear" is written and look if the directory is true. I'm sorry with my english ... I'm French ! :) Merry Christmas 2009/12/25 Vincent UNG

[symfony-users] Re: Symfony 1.3 - Range year

2009-12-27 Thread Vincent UNG
I already use it with sfFromExtraPlugin, a symfony plugin that let me to use datepicker of jQuery UI In the widget class, I set option changeMonth, and changeYear as true. and I set the option yearRange as '1980:2010' doesn't work... -- You received this message because you are subscribed to the

[symfony-users] Symfony 1.3 - Range year

2009-12-27 Thread Vincent UNG
Hi, it's me again I have many field as a date field, actually, I use sfWidgetFormJQueryDate and sfWidgetFormDate In my case, this date field is for record the bird date. But the min value for year is 2004, I can't record a date like 1990/12/12. How can I change the range of year ? Thanks ! Pour

[symfony-users] Re: symfony 1.4 install plugin

2009-12-25 Thread Vincent UNG
Done, it's workt ! Thanks a lot ! -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. Fo

[symfony-users] Re: symfony 1.4 install plugin

2009-12-25 Thread Vincent UNG
Sorry, I use symfony1.3 -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more opt

[symfony-users] symfony 1.4 install plugin

2009-12-25 Thread Vincent UNG
Hello I have a problem with installing a plugin in symfony 1.4 With "php symfony plugin:install sfFormExtraPlugin" I have this error : Failed to opening required 'PEAR.php' 'include_path=';C:\php\pear'). And I don't have any folder php in C:\ or pear. Someone can help me please ? Thanks -- You

[symfony-users] Change redirecting method for "credentials required" page (or login required)

2009-11-23 Thread Vincent UNG
Hi... Actually, when I try to execute an action that I don't have credential, I'm redirect to the default page of symfony. Can I change this page, or redirect automatically to my login page ? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To p

[symfony-users] Re: Different main template

2009-11-23 Thread Vincent UNG
Try with method return::sfSuccess and return::sfError (check for synthax at syfony-project.org, I'm not sure). So, you can have two differents templates for one action. Hope I was clear Bye -- You received this message because you are subscribed to the Google Groups "symfony users" group. To p

[symfony-users] Re: Redirection after submitting a New form

2009-11-23 Thread Vincent UNG
Hi ! First, excuse me for my english, I don't have a very high level... So, i've already meet this problem before. You just have to change the value, the parameter of setTemplate() method, which call the template pasted as a parameter. For example, if you want to redirect to the index template, ju

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-29 Thread Vincent Jousse
the class name. You have the class, you want to know what you can do with it. My 2cts, -- Vincent Jousse http://www.devorigin.fr Le 28/09/09 17:03, Lee Bolding a écrit : > You're all forgetting about http://snippets.symfony-project.org/ which > has all of these features already.

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-29 Thread Vincent Jousse
class name. You have the class, you want to know what you can do with it. My 2cts, -- Vincent Jousse http://www.devorigin.fr On 28 sep, 17:03, Lee Bolding wrote: > You're all forgetting abouthttp://snippets.symfony-project.org/which   > has all of these features already. > > All tha

[symfony-users] combining sfGuardUserProfile and sfGuardUser in admin backend

2009-01-27 Thread vincent
Is there any way to combine sfGuardUserProfile and sfGuardUser into one from just to make it easy when adding new user? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, s

[symfony-users] Admin Generator, Embeded form, and create form ...

2008-12-10 Thread Vincent
Let's see this example, 2 objects: Artist: id: user_id: discographie: longvarchar User: id: name: varchar(255) Ok, let's imagine, we have a form UserArtistForm.class.php, extending sfPropelForm for the object User, and with an embeded form Artist. I found this excellent article : ht

[symfony-users] Dynamic configurable fields/columns

2008-11-14 Thread Vincent
Hi Basically, I want to build a distributable application, and one of the most important feature is Dynamic configurable profile fields/columns by Admin user (the application customer) Let say site XXX is about business, so the site owner (Admin) would probably config user profile fields to have

[symfony-users] How to correctly set primary key ?

2008-11-01 Thread Vincent Lemaire
Hi, I have a problem with Symfony 1.1 and Propel 1.2. In fact, I make an data load from an old application not made by Symfony and I want to keep old data's primary keys but it doesn't works! I use setId() and setPrimaryKey() but Propel automatically recalculates the primary key when primary key

[symfony-users] Re: Fatal error: Cannot instantiate interface

2008-09-23 Thread Vincent Majer
oh, ok, thanks for the explanation ! === Cordialement, Vincent Majer, Travelinks Thomas Rabaix a écrit : > Connection is a reserved class name. you cannot have a class name > called Connection. > > Thomas > > On Tue, Sep 23, 2008 at 12:56 PM, Vincent Majer &

[symfony-users] Fatal error: Cannot instantiate interface

2008-09-23 Thread Vincent Majer
ntend connection Connection The error shows when i try to call the page : http://pwdmanager..com/frontend_dev.php/connection/create I'm using Propel 1.3 plugin. Where can be the problem ? -- === Cordialement, Vincent Majer,

[symfony-users] Re: start with debug web bar minimized in v1.0.16? [SOLVED]

2008-08-18 Thread Daevid Vincent
bject: [symfony-users] Re: start with debug web bar minimized in v1.0.16? In your layout.php do some logic like: if SF_ENVIRONMENT == dev write some javascript to call sfWebDebugToggleMenu() on page load. endif On Thu, Jul 24, 2008 at 12:16 AM, Daevid Vincent <[EMAIL PROTECTED]> wrote: &

[symfony-users] How do I put an "AND" clause in the LEFT JOIN statement?

2008-07-18 Thread Daevid Vincent
How do I put an "AND" clause in the LEFT JOIN statement part? Symfony/Propel/Whatever wants to put it in the WHERE clause... This is the SQL I'm trying to re-create: select * from team_schedule left join team_member_schedule on team_schedule_id = team_schedule.id and team_

[symfony-users] How can I see the raw SQL that a Criteria() object is going to execute?

2008-07-11 Thread Daevid Vincent
I have this code (symfony 1.0.16): $start_id = 5; $end_id = 10; $c = new Criteria(); $c->addAscendingOrderByColumn(VideoPeer::ID); $c->add(VideoPeer::ID, $start_id, Criteria::GREATER_EQUAL); $c->add(VideoPeer::ID, $end_id, Criteria::LESS_EQUAL);

[symfony-users] Re: a _partial rant

2008-06-18 Thread Daevid Vincent
s to $mytotal. > Look at the partials section here: > http://www.symfony-project.org/book/1_0/07-Inside-the-View-Layer > > I don't mind you discussing symfony's problems and shortcomings, but > your problems sound a bit premature. > All frameworks start with a steep le

[symfony-users] Re: How do I access a validate .yml setting in my template?

2008-06-18 Thread Daevid Vincent
_field: > required: > msg: "" > > Then you can easily access the error messages from the FormErrors > class in your templates. > > I'm just trying to be helpful, by the way. > > Kris > > On Jun 17, 10:01 pm, "Daevid Vincent"

[symfony-users] Re: How do I access a validate .yml setting in my template?

2008-06-17 Thread Daevid Vincent
any error messages. This can easily be accomplished with > the handleErrorFoo() methods. > > Kris > > On Jun 13, 7:22 pm, "Daevid Vincent" <[EMAIL PROTECTED]> wrote: > > *sigh* > > > > Thanks for the reply Richtermeister. I thought I was pretty

[symfony-users] Re: How do I access a validate .yml setting in my template?

2008-06-13 Thread Daevid Vincent
t; To: symfony users > Subject: [symfony-users] Re: How do I access a validate .yml > setting in my template? > > > Hi Daevid, > > other than parsing the file into an array via the Yaml class I don't > think you can get to it. > Out of interest, what are you try

[symfony-users] Re: How do I access a validate .yml setting in my template?

2008-06-12 Thread Daevid Vincent
I asked this before and got no real answer. Is this not possible? Can I not access values of the validate/update.yml file? -Original Message- From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daevid Vincent Sent: Tuesday, June 03, 2008 1:58 PM To: symfony-users

[symfony-users] Re: blog and or email platform needed to incorporate into our social site

2008-06-03 Thread Daevid Vincent
email platform needed to incorporate into our social site On May 29, 9:24 pm, "Daevid Vincent" <[EMAIL PROTECTED]> wrote: > Wondering if anyone knows of, or can recommend (or avoid for that matter), > any kind of web logging (blogging as the kids call it) and / or email >

[symfony-users] Re: How do I access a validate .yml setting in my template?

2008-06-03 Thread Daevid Vincent
m: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stereo Sent: Monday, June 02, 2008 5:51 PM To: symfony users Subject: [symfony-users] Re: How do I access a validate .yml setting in my template? Hi Daevid, I haven't used it myself but you may want to try this plugin

[symfony-users] How do I access a validate .yml setting in my template?

2008-06-02 Thread Daevid Vincent
I asked this before, but got no replies. Surely this is possible no? I wish to use JS to validate the form first before bogging down my server, it would be nice to use the same .yml entries rather than hard-code them into the page. Sent: Monday, May 19, 2008 7:00 PM In my modules\user\v

[symfony-users] Re: Website uptime

2008-06-02 Thread Daevid Vincent
http://mon.itor.us @ 11:57AM PST The irony. Mon. itor. us Error Internal server error. Please, try later. BAH BAHHAHA HAHAHAHHAHAHA Seriously, just install Nagios http://www.nagios.org on a few servers that point at each other and don't waste your time with thes

[symfony-users] Re: symfony and Vim

2008-05-30 Thread Daevid Vincent
FYI: http://www.e-texteditor.com/ -Original Message- From: Tom Haskins-Vaughan I have just started using Vim for my symfony development and so far (touch wood) I find it very good. (I did try Textmate once and loved it, but I can't justify buying a Mac for that sole purpose). --~-

[symfony-users] blog and or email platform needed to incorporate into our social site

2008-05-29 Thread Daevid Vincent
Wondering if anyone knows of, or can recommend (or avoid for that matter), any kind of web logging (blogging as the kids call it) and / or email system. By "email system", I refer to the kind like you'd find on MySpace - compose, inbox, sent, folders for things like friend requests, comments, etc

[symfony-users] Problem with sfPager and sfPropelActAsTaggableBehaviorPlugin

2008-05-22 Thread Vincent Lemaire
Hi, First, I apologize for my approximate English and I hope you will understand me! I have a problem with sfPager and sfPropelActAsTaggableBehaviorPlugin. I want to retrieve all of items tagged by a keyword. For this, I use the following code: $pager = new sfPropelPager('Item', 10); $c = TagPe

[symfony-users] Re: How do you sync your production db ?

2008-05-21 Thread Daevid Vincent
> -Original Message- > symfony has nice features to deploy your applications and to create > the database from the schema files etc. > > However, once you got data on your production machine its not that > easy to keep the database layout in sync, so how do you do it ? > > Since my symfo

[symfony-users] IDE for symfony?

2008-05-21 Thread Daevid Vincent
Not to start a holy war, but is there an IDE out there that will work well with symfony. By that I mean parse the files and show me what my methods are available, variables, built in symfony helpers, etc. Not just color coding and that basic crap that any PHP editor will do. I'm old school and us

[symfony-users] How can I tell if a $user is "my" user?

2008-05-21 Thread Daevid Vincent
In my user/templates/viewSuccess.php I have a block of HTML that I don't want to show if I'm looking at my own profile (Add friend / Email user). How can I tell if the user I'm looking at is the one I'm logged in as? In normal PHP, I'd have saved my user's database ID in a $_SESSION upon login a

[symfony-users] How do I know in a template if this is the first time the page was shown, or a re-submit?

2008-05-20 Thread Daevid Vincent
In my template/registerSuccess.php I want to do something like this, however I am getting undefined method errors for $this (no matter what incantation I've tried) All I want to do is have the checkbox checked by default (upon entering the registration page), but if the user un-checks it, then

[symfony-users] How do I bypass symfony to make my own editor section page?

2008-05-20 Thread Daevid Vincent
I need to create a web page accessible from /editor/foo.php How can I do that without all the symfony overhead and involvement? Is there some routing rule I need to add? Where would I put foo.php then (there is no web directory)? --~--~-~--~~~---~--~~

[symfony-users] How do I access a validate .yml setting in my template?

2008-05-19 Thread Daevid Vincent
In my modules\user\validate\register.yml file I have: usernameSizeValidator: class: sfStringValidator param: min:4 min_error: Username must be 4 or more characters max:15 max_error: Username must be 15 or less characters How can I acce

[symfony-users] Javascript form validation built in?

2008-05-19 Thread Daevid Vincent
I'm curious if there is a standard library or practice for form validation using JS just as there is for PHP. It is sort of baffling to me as to why symfony would omit something as useful as this. Seems silly that if symfony knows a form field is required, what kind of form element it is, what

[symfony-users] How to prevent validation errors on first view of the form (before any submit)?

2008-05-10 Thread Daevid Vincent
We have a system where the user puts in an invitation code and then is redirected to a registration page. I can't figure out how to prevent this from happening the first time the user see's the page. In case the image doesn't go though the list, it is basically. ? Username is required

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

2008-05-10 Thread Daevid Vincent
--Original Message- > From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of Daevid Vincent > Sent: Thursday, May 08, 2008 4:57 PM > To: symfony-users@googlegroups.com > Subject: [symfony-users] select_month_tag() not respecting NULL default > > &

[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] 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] http://www.symfony-project.org/ is down. again.

2008-05-01 Thread Daevid Vincent
I'm new to symphony (but a guru at PHP) and this is my "frist post". I've been taking the tutorial off and on since 04/21 (between reading the paper book I purchased and doing my other job duties), and in that time, I've been frustrated by the number of times the http://www.symfony-project.org/ sit