Re: [symfony-users] Re: All new symfony developers please read...

2010-10-28 Thread Alexandru-Emil Lupu
Hello!
+1 to this

For a long long time, i have stopped to read most of the features her, because 
is just noise...  I have even done a filter to skip my inbox, as i do not have 
enough time to read and fix all the documentation related problems  

When had the time, i have entered on #symfony channel on freenode and helped 
the guys there ... also, when i have read this list and knew where to fast find 
the right piece of information just put the link there. 

maybe it would worth the time, to make a Knowledge base with most asked 
questions ... for fun or to point the new users there...


Alecs 


On Oct 28, 2010, at 9:32 PM, Reo wrote:

 Agree, don't stop yourself to jobeet tutorial, others books are even
 more usefull !
 
 On 28 oct, 17:10, James DeMichele james.demich...@redfin.com wrote:
 Totally agreed. In fact, I think the Gentle Introduction should be
 highlighted more on the Symfony web pages than the Jobeet tutorial. The
 Gentle Introduction is fantastic.
 
 -Jamie
 
 -Original Message-
 From: symfony-users@googlegroups.com
 
 [mailto:symfony-us...@googlegroups.com] On Behalf Of Diego Bello
 Sent: Thursday, October 28, 2010 9:27 AM
 To: symfony-users@googlegroups.com
 Subject: Re: [symfony-users] All new symfony developers please read...
 
 On Thu, Oct 28, 2010 at 3:16 AM, Gareth McCumskey gmccums...@gmail.com
 wrote:
 I thought I'd point something what a lot of new symfony developers don't
 seem to realise. There is a great piece of documentation on the symfony
 site
 that can answer 90% of questions for anyone new to symfony. It is the
 Gentle
 Introduction to
 symfony. http://www.symfony-project.org/gentle-introduction/1_4/en/
 Personally, I would highly recommend that anyone new to symfony at least
 read through the book and use it later as a reference. Just by simply
 reading through the book and exposing yourself to what symfony is
 capable
 of, you will be able to later remember that the book contained details
 about
 something you are trying to do and use it as a reference instead of
 trying
 to get answers out of the mailing list. The mailing list is great but
 its
 slow. By knowing what symfony is capable of you are one step ahead and
 have
 what I believe is the best resource for new symfony developers available
 to
 you to help get your work done faster.
 Seriously, just read it. You will save yourself a ton of time.
 
 --
 Gareth McCumskey
 http://garethmccumskey.blogspot.com
 twitter: @garethmcc
 
 +1
 
 Following the Jobeet tutorial for an introduction and using A Gentle
 Introduction to symfony for more detail on all features of Symfony
 has helped me a lot ;)
 
 --
 Diego Bello Carreño
 
 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/symfony-users?hl=en
 
 -- 
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-10-28 Thread Alexandru-Emil Lupu
Hello!

Why don't you move your i18n to your database? this allows you / your team to 
easily add / remove / change the texts without any deploy / cache-clearing 
or other kind of task ...

Alecs

On Oct 28, 2010, at 1:46 PM, cestcri wrote:

 Actually this was even easier then expected, I just moved the i18n to
 a new plugin directory, included it in the
 ProjectConfiguration.class.php and that's it.
 
 Thank you symfony!
 
 Have a nice day,
 Christian
 
 
 
 On Oct 28, 12:13 pm, cestcri cest...@yahoo.fr wrote:
 Thanks for your immediate reply, Damien!
 
 I actually looked already into the nice and neat sfView extension, but
 a whole new application is the better way in my case.
 
 I will try my luck with a private i18n plugin... and will report back
 if this turns out to be a good choice.
 
 Thanks again,
 Christian
 
 On Oct 28, 12:09 pm, Damien Alexandre dalexan...@clever-age.com
 wrote:
 
 The main goal is to avoid code duplication,
 for your mobile version, if the changes are only different templates, you
 can extend sfView to return a myView::MOBILE_SUCCESS and create your
 indexMobileSuccess.php views right to your indexSuccess.php.
 
 If you have change to make in your actions, then a new app is a good way to
 do,
 but again, avoid code duplication.
 
 For the shared datas like i18n, auth modules, etc a private plugin IS
 actualy the right way to go.
 
 Cheers.
 Damien.
 
 On Thu, Oct 28, 2010 at 12:01 PM, cestcri cest...@yahoo.fr wrote:
 Hi all,
 
 I am currently building a mobile version for my symfony site. I chose
 to create a new app next to the frontend, since the mobile version
 will be very different, basically with fewer features.
 
 I wonder now if:
 
 a) this is a good choice
 b) how to access shared data like my i18n files
 
 Thanks in advance for your opinions. This is a critical point and I
 would like to hear if there is a sort of best practice regarding
 mobile (or whatever other sub-) application. Is the private plugin
 the way to go (http://www.symfony-project.org/jobeet/1_4/Propel/en/
 20)?
 
 Have a nice day,
 Christian
 
 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en
 
 -- 
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Day 3 output does not show graphically

2010-10-20 Thread Alexandru-Emil Lupu
Hello!

Maybe you have forgot to svn checkout the assets (images, js, and css ) from
the jobeet repository.

Alecs

On Tue, Oct 19, 2010 at 2:26 PM, mrhassan rakib...@gmail.com wrote:

 Hi,

 I have installed Symfony and followed all the instructions upto the
 end of day 3. Everything worked fine. But at the last step, if I want
 to see the output of the following page:

 http://www.jobeet.com.localhost/frontend_dev.php/job

 the output is not shown. The page shows some data in text format all
 over the page instead showing graphically. I tried to solve it but
 couldn't solve it.

 How can I solve it? Thanks in advance.

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privately, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: deploy on cPanel shared host

2010-10-01 Thread Alexandru-Emil Lupu
Check this out ...

http://www.alecslupu.ro/blog/Installing-a-symfony-project-on-a-shared-host

Alecs

On Fri, Oct 1, 2010 at 2:23 PM, aninffected aninffec...@gmail.com wrote:

 Hello,

 I am having the same problem as mr. Martin Henits above.I'd like to
 ask you what you mean by modify the routes in the index.php file of
 symfony to point
 to the lib directory., because I didn't understand.Specifically,
 which index.php file do you mean, and which lib directory? :)
 I looked at index.php of the web root but the only path there is the
 one to ProjectConfiguration.class.php which is correct.

 Thanks in advance!

 On 12 Σεπτ, 21:03, Diego Bello dbe...@gmail.com wrote:
  On Sun, Sep 12, 2010 at 7:20 AM, Gábor Fási maerl...@gmail.com wrote:
   I never used the pear method, let's hope someone else can help you out.
   My *guess* is you'll only need to change the required file in your
   ProjectConfiguration.
 
   On Sun, Sep 12, 2010 at 13:09, Martin Henits martin.hen...@gmail.com
   wrote:
Thanks for the reply.
 
the thing is I already have developed my project based on the .tgz
installation method.
is there any way to easily convert it to a PEAR installation?
 
On Sep 4, 7:07 pm, Gábor Fási maerl...@gmail.com wrote:
If you check the last mod of that page, you'll see it was 2 years
 ago.
Back then installing via pear was the recommended way to go.
 
Since sf1.2 (afaik) the best practise is to include symfony under
lib/vendor for each project.
 
On Sat, Sep 4, 2010 at 18:39, Martin Henits 
 martin.hen...@gmail.com
   wrote:
 Hi,
 
 I was wondering if it is possible to deploy a project that has
 been
 developed based on a .tgz symfony installation method (the
 preferred
 method as mentioned on documents) on a shared cPanel hosting.
 
 I looked athttp://
   trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh,
 but it says that symfony installation with PEAR is a requirement.
 
 any clue?
 
 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com
 
 For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
 
--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com
 
For more options, visit this group at
   http://groups.google.com/group/symfony-users?hl=en
 
   --
   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@googlegroups.com
   To unsubscribe from this group, send email to
   symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
  I deployed a site using the .gz installation of Symfony 1.4. That I did
 is
  to create a directory outside the public_html (www) directory and put
  everything there except by the web directory which goes, obviously, in
 the
  www directory of your cpanel account.
 
  Then you have to modify the routes in the index.php file of symfony to
 point
  to the lib directory.
 
  Regards,
 
  --
  Diego Bello Carreño
  Powered by Mandriva Linux

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privately, unless i have
allowed to. Further 

Re: [symfony-users] Re: sfValidatorString returing text Array when used as form filter validator

2010-10-01 Thread Alexandru-Emil Lupu
Hello!
Maybe this would help 


$this-validatorSchema['name']= new
sfValidatorSchemaFilter('text', new sfValidatorString(array(
  'required' = false,
  'min_length' = 4)));


On Thu, Sep 30, 2010 at 7:47 PM, Keith Mendoza panthe...@gmail.com wrote:

 I was actually expecting an array that would have the 'text' key when I
 discovered this. I have no issues with using the sfValidatorString class on
 objects derived from sfForm, just with objects that are based on
 sfFormFilterDoctrine. That's where I'm confused. I also noticed that classes
 generated by the symfony command-line in the filter directory use
 sfValidatorPass for table fields that are strings; while those in the form
 directory were actually using sfValidatorString.

 I'm not sure if it matters but I'm actually using something along the lines
 of $filterForm['afield']-render() to render the text boxes. Are there any
 differences in how sfForm-derived objects handle validation that's different
 from sfFormFilterDoctrine-derived objects?

 Thanks


 On Thu, Sep 30, 2010 at 8:15 AM, Gustavo Adrian 
 comfortablynum...@gmail.com wrote:

 I think it might be because the widget used for the text fields on a
 filter form contains an array with a text element, which contains the
 value entered by the user. The validator is not prepared to receive an
 array, but a plain value. That's why you receive the array string instead
 of the value itself.

 You could override the sfValidatorString so you can return the value
 instead of the array itself.



 Cheers.

 On Thu, Sep 30, 2010 at 11:07 AM, Keith Mendoza panthe...@gmail.comwrote:

 It literally returns the string Array instead of what was entered by the
 user in the text box.

 Sent from my android

 On Sep 29, 2010 11:19 PM, Tom Ptacnik to...@tomor.cz wrote:

 What is in this array?

 On 28 zář, 18:49, pantherse panthe...@gmail.com wrote:
  What I want to do is replace the validator for a field to
  sfValidatorString instead of the sfValidatorPass in the base form
  filter class. However, when I do that the field's value becomes the
  text Array instead of the actual cleaned array that I'm getting on
  form classes.

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

  --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


  --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


  --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privately, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more 

Re: [symfony-users] Re: a good IDE for Symfony

2010-08-06 Thread Alexandru-Emil Lupu
i use :

vi, Netbeans, nano or mcedit ... :)

On Fri, Aug 6, 2010 at 5:05 PM, Phil Moorhouse moorhouse.p...@gmail.comwrote:

 Aptana Studio v3 is now open source and currently in beta - it has
 reintroduced it's own PHP editor (i.e. not using PDT as in v2) as well
 as including excellent CSS / JS / HTML / Ruby editors.

 http://www.aptana.com/products/studio3

 It's stable and mostly usable, there are a few small non-critical bugs
 now and again, but they're releasing a new build every week or two and
 so far it's pretty promising. You can get it as an Eclipse plugin or
 as a standalone, both based on Eclipse Helios (3.6) - so it is Java -
 but it certainly doesn't feel sluggish like PDT.

 Pros are:
 Fast
 Decent GIT integration (much better than EGIT)
 Properly themeable (light on dark themes - yay!)
 Quick turnaround on bug / feature requests from the devs
 still compatible with other eclipse plugins (subclipse, etc)
 Write your own bundles (in Ruby)

 Cons are:
 No yaml editor as yet (but it's coming soon)
 No goto declaration (F3 / ctrl-click) of function names yet (also
 coming)

 Anyways, give it a try.



 On Aug 4, 12:22 am, Julian Reyes Escrigas
 julian.reyes.escri...@gmail.com wrote:
  Hi
 
  I need help for find a new editor for PHP, I'm using Netbeans 6.9 but I
  don't know for what is slow, always start very well but when the project
  grows it's turns unstable
 
  I need only 3 characteristics
 
  1.   Faster and lightweight
 
  2.   With autocomplete for all classes in a folder and include
 folders
 
  3.   Support for PHP, html, CSS, JavaScript and YAML (auto colored,
  syntaxes and turn tabs into spaces )
 
  Some one knows any similar NO JAVA editor.
 
  I use Windows 7 64bits, have AMD Phenom II X4 965 3.4Ghz, 6Gb DDRIII, and
  SATAII HD

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Calling stored procedures with SF and Doctrine

2010-07-08 Thread Alexandru-Emil Lupu
show us the stored procedure you have ... that way we could say 

On Wed, Jul 7, 2010 at 7:38 PM, Ricardo Jose Guzman Milanes 
guzman.ricardoj...@gmail.com wrote:

 Hello

 I was searching in Google about how to call stored procedures, I found
 this post in this group:

 http://groups.google.com/group/symfony-users/browse_thread/thread/099b770555a061cf/9fc9c7a67d69cda1?hide_quotes=no

 There Praveen recommended to use the following sintax:

 $wt=Doctrine_Manager::getInstance()-getCurrentConnection()-
 fetchAssoc
 ('SELECT your_function()');


 I was testing around and pasted it in the executeNew action in
 actions.php.Don't know if it is the correct place.

  public function executeNew(sfWebRequest $request)
  {
$this-form = new personasForm();
$wt=Doctrine_Manager::getInstance()-getCurrentConnection()-
 fetchAssoc
 ('stored_proc_name_goes_here()');
  }


 What I want to do is the following:

 When a new user is inserted into the sfGuardUser table and that user
 belongs to a group on sfGuardUserGroup (doctors ),
 the id of that user is inserted into a table that have the following
 fields :
 userID and Value, an example:
 1(userID), 0 (default value, Value)

 Can that be done via Doctrine without calling the stored procedure?

 Thanks for your help.

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] can someone take a look--sfWidgetFormDoctrineChoice problem

2010-06-17 Thread Alexandru-Emil Lupu
Hi!
implement a __toString method in your category model.
That way, you will be able to customize your display text


public function __toString(){
   return $this-getCategoryid();
}

On Wed, Jun 16, 2010 at 6:41 PM, Andro Fumero fugitive...@yahoo.com wrote:

 hello there,

 I'm a newbie here and need help, I'm stack with this problem.

 table: Category
 columns: id,categoryid,category,description,active

 when I created a form:

 $this-setWidgets(array(
   'boxhere'= new sfWidgetFormDoctrineChoice(array('model' =
 'category','query' = @Category::retrieveCategory(),'add_empty' = false,))
 );

 I need to display category column and selected value of categoryid..
 but why is it displaying as description? and selected value is id?
 when my query is select categoryid,category only?

 Thanks.
 Andrew


  --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] practical symfony guide 1.4 routing (or apache?) question

2010-06-11 Thread Alexandru-Emil Lupu
HI!
Most probably, you don't have the mod_rewrite enabled in your apache.
Use a phpinfo(); and check if you have it enabled. If it is not, then edit
your apache.conf / httpd.conf file, restart your server and retry .

Alecs

On Thu, Jun 10, 2010 at 2:48 AM, Marvin Frederickson 
marvin.frederick...@gmail.com wrote:

 I'm up to day 5 (page 69) in the guide.  When I browse to
 http://jobeet.artemisu.local/ the job list comes up fine.  But when I
 click on the first job in the list, I get an apache page not found
 error.  The url is this:

 http://jobeet.artemisu.local/job/sensio-labs/paris-france/1/web-developer

 It works fine if I include the index.php or frontend_dev.php filename
 in the url, but not if I omit it.  Why is that?  And how can I fix it?

 Thanks.

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: sf 1.4: How can execute a task within another task? (tasks in a task)

2010-06-01 Thread Alexandru-Emil Lupu
$this-runTask($name, $arguments, $options)


On Tue, Jun 1, 2010 at 3:52 PM, benlancaster ben.lancas...@holler.co.ukwrote:

 Here's how I do it:

$task = new sfDoctrineBuildTask(clone $this-dispatcher, clone
 $this-formatter);
$task-setCommandApplication($this-commandApplication);
$task-setConfiguration($this-configuration);
$task-run(array(),array('all' = true, 'and-load' = true));


 On Jun 1, 10:25 am, Robert Schoenthal seros...@googlemail.com wrote:
  sure u can:
 
  $this-commandApplication-getTask('TASKTOEXECUTE')-run();
 
  greetz
  robert
 
  On May 31, 11:17 pm, Fernando Navarro Páez
 
  fernando.navarro.p...@gmail.com wrote:
   Can I execute symfony build --all --no-confirmation --and-load in
   MyTask?
 
   Thanks in advance
 
 

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] __tostring

2010-06-01 Thread Alexandru-Emil Lupu
Find the alias that you are using to reference those 2 models, and just do
a plain __toString in your *paiement table

Like
class paiment extends BasePaiment
{
public function __toString()
{
return $this-getPerson()-__toString();
}
}
*
On Tue, Jun 1, 2010 at 4:39 PM, safa boubekri boubekri.s...@gmail.comwrote:

 Hello,

 In my database, I've a table *paiement * that contains a foreign key  *
 id_person * that refers to a table  person.

 I've created a module with the admin generator for each one. I've modified
 the *generator.yml* of my module *phone* to replace the phone type *id_person
  * by the  nom  prenom  of personne

   how can i   get  nom  person in the Id pf person in the table  paimenet

 thank you



 and implemented classically the __toString() method in my model for the
  person  class:

 class Personne extends BasePersonne
 {


 public function __toString()
 {
  return $this-getNom().'  '.$this-getPrenom();
 }
 }


  --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: why not host symfony1.4 on shared-hosting?

2010-05-29 Thread Alexandru-Emil Lupu
Well ... you can try a VPS for a start.

I have a provider that gives me 10 E / month the smallest packet
http://www.intovps.com/

Alecs

On Sat, May 29, 2010 at 2:29 PM, Sela Yair tzi...@gmail.com wrote:

 what is the cheapest i can get for a dedicated server?


 On 29 May 2010 14:20, comb sa...@gmx.net wrote:

 Thanks for your detailed answers pghotariu  rooster (Russ),

 I have a managed server for my business projects, but for a more or
 less private page I have a shared host, too. They use mod_php5 +
 chroot jails + open_basedir and no ssh. So this is ok with me. The
 mentioned performance issues seems to be not symfony-related.
 My deployment isn't critical, since it's a small page, with decent
 updates! :)

 Thank you!!


 On 29 Mai, 12:46, rooster (Russ) russmon...@gmail.com wrote:
  The biggest issue is security... You have a cache folder with 777
  permissions which anyone else on the same host can write to and
  execute arbitrary PHP code.
 
  Some shared hosting providers get round this by using chroot jails and
  a number of other tricks, but you need to make sure the one you are
  using also takes these measures.
 
  Try navigating to /home and seeing if you can list the other home
  folders... Then think about guessing /home/somewebsitename/cache/
  frontend/.../etc
 
  Also if the cache folders not 777 but are owned by the web user
  (normally www-data or something like that) then are the other users of
  the shared system using the same user? I could write a php script on
  my site which runs as the same user and uses file_put_contents to
  throw php files into your cache folder (if I can guess the path) since
  my script also runs as www-data.
 
  There are a bunch of posts about this stuff, have a look around - best
  to find a hosting provider that gives you a virtual server so you are
  isolated from the other users, or at least takes measures to protect
  you from the kind of issues above (by giving each user their own
  Apache user/process for example).
 
  Russ.
 
  On May 29, 9:46 am, comb sa...@gmx.net wrote:
 
   Hi!
 
   Obiously it takes some tweaks to run symfony 1.4 on a shared host, but
   what's wrong with it?
   One can add a .htaccess files to prevent unauthorized access for the
   hole symfony project folder, another one for the web/-directory to
   enable normal access there and then pointhttp://domain.comtothe
   web/-dir.
   Why not?
 
   The only thing I can imagine is that the uploads mostly have to be
   done by hand, but that's ok with me since it'll usually be a small
   project if it runs on a shared host.
 
 

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


  --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Affordable managed hosting for use with symfony

2010-05-28 Thread Alexandru-Emil Lupu
VPS
or:
Shared :
http://alecslupu.ro/blog/Installing-a-symfony-project-on-a-shared-host


On Fri, May 28, 2010 at 11:46 PM, Eno symb...@gmail.com wrote:

 On Fri, 28 May 2010, Daniel Lohse wrote:

  Take a look at what Servergrove has to offer. All their VPS instances
  are alright and they come pre-configured with symfony. Shared hosting
  is not an option, obviously (don't even consider it). :)

 Ive been happily using Linode (linode.com) for virtual servers. The only
 thing is that most VPS setups are not managed in the traditional sense.
 You are expected to maintain the server yourself.



 --


 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Multiple i18n XLIFF Files for one Language

2010-05-17 Thread Alexandru-Emil Lupu
For the forms i don't think you can't to use other translations files than
messages.

However, you could  use:

?php echo __('Translation string', array(), 'my-custom-dictionary')?

When you run i18n:extract, it should be saved in 'my-custom-dictionary.xml'.

However, the default language would not use the XLIFF files.

Alecs


On Fri, May 14, 2010 at 1:19 PM, Robert Schoenthal
seros...@googlemail.comwrote:

 Greetings symfonians,

 recently i tried to split up my i18n XLIFF Files into multiple Files.
 The reason was a massive amount of translatable Strings, and i wanted
 to structure them in multiple XLIFF Files.

 I thought of something like this:

 #DE
 i18n/de/form-helps-messages.xml
 i18n/de/form-label-messages.xml
 i18n/de/form-errors-messages.xml

 #EN
 i18n/en/form-helps-messages.xml
 i18n/en/form-label-messages.xml
 i18n/en/form-errors-messages.xml


 i tried it with various combinations, but it wouldnt work.

 The next Question is, am i able to define Project-wide Translation
 Tables?
 Is it possible to define them in a global way?

 Anybody has an idea how to achieve this structure?

 Greetz
 Robert

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] sfFormLanguage displaying languages in their respective language

2010-05-12 Thread Alexandru-Emil Lupu
I don't think that is possible. However, you could create your own widget to
do it.
All what you have to do is to create your own select box, and play with
sfCultureInfo...
Alecs

sent via htc magic

On May 12, 2010 11:39 AM, HiDDeN davidmoralesmoj...@gmail.com wrote:

Is there a way to display languages using sfFormLanguage, but in their
respective language?

I mean, instead of this: English, French, Spanish
I want this: English, Français, Español

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] urgen_send_mail

2010-05-12 Thread Alexandru-Emil Lupu
Safa,
i don't wanna say that i think that i have seen your problem a while ago,
and i have suggested you  to use the sf mailer / factories.yml

however, if you want to do it like that (you're code), i would suggest you
to do this:


mail($mail, $object, $message, $head);

*sfView::NONE;*

}

Alecs

On Wed, May 12, 2010 at 3:21 PM, abbbassi abidi 
abbbassi.recrutemen...@gmail.com wrote:
 hi Safa ,
 perhaps this errors have relation of routing.yml you must be sure that
this
 module exist in routing.yml.
 good luck

 2010/5/12 safa boubekri boubekri.s...@gmail.com

 thank you i test it and i will  reply  you

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: sf/doctrine performance

2010-05-07 Thread Alexandru-Emil Lupu
Or, you can try to install php 5.3. It has a better garbage collector,
so, your script will not die because of the memory issue ...
I haven't seen you code or xml format, but after you parse each game
... unset() it (in php 5.3 works nice, and you have some nice results
)

On Fri, May 7, 2010 at 10:30 AM, Stéphane stephane.er...@gmail.com wrote:
 And do || processing on multiple servers if possible/needed.
 Use stdin to retrieve to-compute xml parts for each segment. So you can pipe
 your commands.
 Cheers,

 Before Printing, Think about Your Environmental Responsibility!
 Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


 On Fri, May 7, 2010 at 4:34 AM, ken marfillas...@gmail.com wrote:

 Or you can add optional argument offset and limit for your task. This
 however is not for sql but for the xml. The idea is to process only a
 part of the xml for a given run. This will allow you to run the task
 in many segments.

 On May 7, 10:17 am, dan dan.wil...@gmail.com wrote:
  Hmm - I don't think this is going to work.
 
  I ran the script and it got killed after 51 of 700+ games, with 21000
  TyperefGame relationship records. It was consuming over 1.5GB of RAM.
  I understand PDO is a memory hog, so may have to refactor using
  mysql_query() etc. :(
 
  Any ideas are more than welcome :)
 
  Cheers,
 
  Dan.
 
  On May 7, 8:31 am, dan dan.wil...@gmail.com wrote:
 
 
 
 
 
   Hi all,
 
   I have a large XML file (140+MB) which I'm parsing with an sf Task.
 
   It's a complicated structure, and contains some interesting
   relationships.
 
   The approach I'm using is to open the XML file with XMLReader, and
   when I find a node of interest, convert that node to a SimpleXML
   object, and then build my sf Records.
 
   Without going into too much detail, I have a few record types that are
   of primary interest; Game, Handset, Category.
 
   Relating Games to Categories is easy, however Games and Handsets are
   related via a Typeref, i.e. Games are published for certain Typerefs,
   while each handset supports one or two different Typerefs.
 
   So I've also created tables for Typeref, TyperefGame and
   TyperefHandset in order to manage the relationships.
 
   Here's my real question:
 
   As my Task parses each Game, it looks up each of the Typerefs (approx
   450 per game) associated with the game and creates the TyperefGame
   relationship record. With 700+ games, that's about 315000 records.
 
   As you can imagine, this takes some time, and I'm looking for every
   opportunity to speed it up.
 
   My first attempt was simply to create a new Doctrine Record for each
   Typeref, setting the necessary attributes and then saving it. This was
   slow. (around 450 save()s per game)
 
   My second attempt was to create a Typeref Doctrine Collection for each
   game, and then do one save() on the collection once all Typerefs had
   been parsed. I expected this to be faster that my first method, but if
   anything, it appears slower.
 
   What should my third attempt be?
 
   Should I be building a single large raw SQL statement for each game-
   load of Typerefs?
 
   Is there an even better way to approach this whole Task?
 
   Your thoughts and advice would be greatly appreciated.
 
   Cheers,
 
   Dan.
 
   --
   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@googlegroups.com
   To unsubscribe from this group, send email to
   symfony-users+unsubscr...@googlegroups.com
   For more options, visit this group
   athttp://groups.google.com/group/symfony-users?hl=en
 
  --
  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@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group
  athttp://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from 

Re: [symfony-users] form_backend

2010-05-07 Thread Alexandru-Emil Lupu
Something like
$this-configuration-getForm()

Have a look in the cache.. you will see there.
Alternatively,
new Form()

sent via htc magic

On May 7, 2010 1:08 PM, safa boubekri boubekri.s...@gmail.com wrote:



hello

how can i instance form   in the backend

thank  you


 --
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] form_backend

2010-05-07 Thread Alexandru-Emil Lupu
Please read the manual. You have there a mailer thing which might help you

sent via htc magic

On May 7, 2010 1:49 PM, safa boubekri boubekri.s...@gmail.com wrote:

 like to recover   the  email of  person in order to send him message

in the action of   persson  wich  is intk backend  i  put this code

public function executeCreate(sfWebRequest $request)
 {

 $this-form = $this-configuration-getForm($this-personne);

$head = From: Admin .$email_admin.\n;
 $mail =   $this-form['email']-getValue();
 $object  = 'inscription reussite';
 $message='je vous informe  que vous êtes  inscrit dans  votre association';


mail($mail, $object, $message, $head);



 }

please  help me

-- If you want to report a vulnerability issue on symfony, please send it to
security at symfony-pr...

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] How to use a script without any display

2010-05-07 Thread Alexandru-Emil Lupu
use sfView::NONE in your action :)

function executeFooo($request)
{
// a lot of code here

sfView::NONE;
}

On Fri, May 7, 2010 at 12:40 PM, Alain Baudry tanat...@gmail.com wrote:
 Hi everybody,

 my problem is quite simple:
 I am connecting a payment solution to my symfony project. This payment
 solution needs to call a script wich will record that the payment has
 been done without any display.

 So what is the best way to do it inside symfony? Shoud I call an
 action and if so, how can I avoid my action to send an HTML output?

 Thanx for reading and for your answers :)

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless
i have allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] form_backend

2010-05-07 Thread Alexandru-Emil Lupu
ok:
let us see your factories.yml settings

Alecs

On Fri, May 7, 2010 at 4:46 PM, safa boubekri boubekri.s...@gmail.com wrote:
 after i configurate  factories.yml i have this msg:

 Catchable fatal error: Argument 1 passed to
 Swift_Transport_AbstractSmtpTransport::registerPlugin() must be an instance
 of Swift_Events_EventListener, instance of sfMailerMessageLoggerPlugin
 given, called in
 D:\SF_Project\PFE\lib\vendor\symfony\lib\mailer\sfMailer.class.php on line
 140 and defined in

 thank you a lot

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless
i have allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] form_backend

2010-05-07 Thread Alexandru-Emil Lupu
and the symfony version you are using...

On Fri, May 7, 2010 at 5:15 PM, Alexandru-Emil Lupu
gang.al...@gmail.com wrote:
 ok:
 let us see your factories.yml settings

 Alecs

 On Fri, May 7, 2010 at 4:46 PM, safa boubekri boubekri.s...@gmail.com wrote:
 after i configurate  factories.yml i have this msg:

 Catchable fatal error: Argument 1 passed to
 Swift_Transport_AbstractSmtpTransport::registerPlugin() must be an instance
 of Swift_Events_EventListener, instance of sfMailerMessageLoggerPlugin
 given, called in
 D:\SF_Project\PFE\lib\vendor\symfony\lib\mailer\sfMailer.class.php on line
 140 and defined in

 thank you a lot

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 Have a nice day!

 Alecs
 Certified ScrumMaster

 P.S. If you are on a list, please don't contact me privatelly, unless
 i have allowed to. Further messages will be ignored.

 There are no cannibals alive! I have ate the last one yesterday ...
 I am on web:  http://www.alecslupu.ro/
 I am on twitter: http://twitter.com/alecslupu
 I am on linkedIn: http://www.linkedin.com/in/alecslupu
 Tel: (+4)0722 621 280




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless
i have allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] form_backend

2010-05-07 Thread Alexandru-Emil Lupu
check :
http://groups.google.fr/group/symfony-devs/browse_thread/thread/5457d3d99296fc2d

http://www.symfony-project.org/jobeet/1_4/Doctrine/en/16

and plese read my email signature ... line by line ...

Alecs

On Fri, May 7, 2010 at 5:25 PM, safa boubekri boubekri.s...@gmail.com wrote:
 OK THAK YOU SIR I   USE SYMFONY 1.3:
 # You can find more information about this file on the symfony website:
 # http://www.symfony-project.org/reference/1_4/en/05-Factories
 prod:
   logger:
     class:   sfNoLogger
     param:
       level:   err
       loggers: ~
 cli:
   controller:
     class: sfConsoleController
   request:
     class: sfConsoleRequest
   response:
     class: sfConsoleResponse
 test:
   storage:
     class: sfSessionTestStorage
     param:
       session_path: %SF_TEST_CACHE_DIR%/sessions
   response:
     class: sfWebResponse
     param:
       send_http_headers: false
   mailer:
     param:
       delivery_strategy: none
 dev:
   mailer:
     param:
       delivery_strategy: none
 all:
   routing:
     class: sfPatternRouting
     param:
       generate_shortest_url:            true
       extra_parameters_as_query_string: true
   view_cache_manager:
     class: sfViewCacheManager
     param:
       cache_key_use_vary_headers: true
   response:
     class: sfWebResponse
     param:
     send_http_headers: false
   mailer:
     class: sfMailer
     param:
       logging:           %SF_LOGGING_ENABLED%
       charset:           %SF_CHARSET%
       delivery_strategy: realtime
       transport:
         class: Swift_SmtpTransport
         param:
           host:        localhost
           port:        25
           encryption: ~
           username:   ~
           password:   ~

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless
i have allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Making Software for shared hosting market

2010-05-07 Thread Alexandru-Emil Lupu
have a look here about installing on shared hosting

http://www.alecslupu.ro/blog/Installing-a-symfony-project-on-a-shared-host

Alecs

On Fri, May 7, 2010 at 8:54 PM, BizHat.com i...@bizhat.com wrote:
 @Tom Ptacnik, i know symfony is a framework. I am asking about
 application made in symfony. Just want to make sure if i made
 application with symfony, customers will be able to run the
 application on shared hosting with out special changes or ssh access.

 @Pablo Godel, thanks for the detailed reply. Symfony specific shared
 hosting is not always possible for customers. Many of them have
 existing hosting.

 I see suggestion about porting phpBB to symfony2.

 http://area51.phpbb.com/phpBB/viewtopic.php?f=78t=32433

 Stefan Koopmanschap, Symfony Community Manager suggest using Symfony.

 http://area51.phpbb.com/phpBB/viewtopic.php?f=78t=32433start=10#p205215

 Preseently phpBB works on any shared hosting with out any custom
 changes. So if phpBB accept the suggestion and make phpBB in Symfony,
 current users won't be able to use it with out help from server admin
 or moving to symfony friendly hosting ?

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless
i have allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] [RFC] sfUnifiedGuard for Symfony 2

2010-05-06 Thread Alexandru-Emil Lupu
+1

On Thu, May 6, 2010 at 9:41 AM, Alan Bem alan@gmail.com wrote:
 thumbs up

 On Wed, May 5, 2010 at 6:44 PM, Daniel Lohse annismcken...@googlemail.com
 wrote:

 Yes, that really is awesome!

 +1

 Sent from my iPhone

 On May 5, 2010, at 5:34 PM, Javier Garcia tirengar...@gmail.com wrote:

 On 05/04/2010 01:16 PM, Michał Piotrowski wrote:

 Sounds interesting?

 Yes, i think would be interesting merging sfDoctrineGuardPlugin,
 sfDoctrineGuardExtraPlugin and sfDoctrineApplyPlugin.

 --
 Javi

 Ubuntu 8.04

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless
i have allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] How I can share some functionality between models

2010-05-06 Thread Alexandru-Emil Lupu
??? what exactly do you mean ?


On Thu, May 6, 2010 at 11:40 AM, amit amit@gmail.com wrote:
 How I can share some functionality between models?

 --
 Amit

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless
i have allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] User free-subscription: is possible?

2010-05-02 Thread Alexandru-Emil Lupu
Yeah ... is possible to do it automatically. Check sfDoctrineGuardExtraPlugin

On Sun, May 2, 2010 at 9:31 PM, nazgul17 nazgu...@gmail.com wrote:
 Hello to everyone. I am new to Symfony, so I ask you to forgive me if
 my question is a noob question. Anyway, looking in documentation /
 tutorials I couldn't find a solution.

 The problem is the following:
 I want to build a website where I have only a few pages free to view
 for every one. Those who wants to see all the other page have to
 register. This is something like a normal forum.

 Is that possible? All I found is the sfDoctrineGuardPlugin plugin, but
 all it says is that for creating useres I must use a task, and this is
 not what I want: I want everyone to feel free to subscribe whenever
 they want, without my confirmation.

 Than you in advance
 Marco, Italy

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Directory locked after svn pe svn:externals lib/vendor/

2010-05-01 Thread Alexandru-Emil Lupu
I do not have access to my computer atm, but see the svn ext on
svn.sfshop.net
Also ... please show us what have you wrote in that pe setuo

sent via htc magic

On May 1, 2010 11:36 PM, pghoratiu pghora...@gmail.com wrote:

Try running a
svn cleanup
and see if that resolves the problem with locked directories.

   gabriel

On May 1, 6:49 pm, Pau Peris sibok1...@gmail.com wrote:  Hi, i have a
local copy of a svn proje...
 For more options, visit this group athttp://
groups.google.com/group/symfony-users?hl=en

-- If you want to report a vulnerability issue on symfony, please send it to
security at symfony-p...

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Doctrine - nested set - node deletion

2010-04-30 Thread Alexandru-Emil Lupu
Check http://redotheoffice.com/?p=74
It implements a dragdrop admin...

sent via htc magic

On Apr 29, 2010 10:29 PM, Alessandro Massignan ff...@gmail.com
wrote:

Hi all,

i've set up a nested set behaviour and generate the admin section for
this one, but something doesn't
work at all: node deletion.
I've updated the executeDelete() to handle node deletion:

 public function executeDelete(sfWebRequest
$request)

{
   $request-
checkCSRFProtection();

   $this-dispatcher-notify(new
sfEvent($this,

'admin.delete_object',
 array(object
=
   $this-
getRoute()
   -
getObject(;

   $object = $this-getRoute()-
getObject();

   if ($object-getNode()-isValidNode())
{
 $object-getNode()-
delete();
   } else
{
 $object-
delete();
   }

   $this-getUser()-
setFlash(notice,
  The item was deleted
successfully.);

   $this-
redirect(@typology);
 }

As i read in a couple of tutorial on the Internet, but when i click
the delete link, nothing changes,
the node supposed to die is still there...
Any hints on what i could miss?


Cheers,
ff

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] How to store data for the relation?

2010-04-28 Thread Alexandru-Emil Lupu
Well is a problem of perception  but i think you can do this:


Company Table (has a M:N relation to) Service Table
Service Table (has a M:N relation to) Service Prices
Service Prices (has a 1:1 unique relation on Company Table + Service Table)

Aletrnativelly, you can use Service Table as M:N table .

Company Table  is related to Service Table on a M:N relation defined
in Service Prices  table.
Service Prices table would contain following fields: company_id,
service_id, price .
You can create an unique index on the company_id, service_id fields to
make sure you do not end up with 2 or more faulty records, getting
this way a funny behavior

Ex:

Without the unique index

Company_1, Service_1, Price_1
Company_1, Service_1, Price_2
Company_1, Service_1, Price_3
Company_1, Service_1, Price_4

With unique index

Company_1, Service_1, Price_1


If you wonder for example what to do if you have more types of Hosting
services, then try thinking that each Hosting Service (let's name it
Pack ) is a different Service:

Service_1 = Hosting UK Servers 100 MB Quota
Service_2 = Hosting UK Servers 250 MB Quota
Service_3 = Hosting UK Servers 500 MB Quota
Service_4 = Hosting UK Servers 1000 MB Quota

I think you got the ideea ...

Alecs

On Wed, Apr 28, 2010 at 12:05 PM, saki sakrame...@gmail.com wrote:
 Hi!

 I don't really understand how to store data for the relations. I give
 an example...

 Service table
 
  Hosting
  Programming
  Administrator works

 Company table
 
  Company1
  Company2
  Company3

 One company has one or more services. One service can be related to
 several companies. If think this is many-many relation isn't is? Okay,
 I've already made many-many relations some weeks ago (there is a
 service-company connection table with service and company ids), but I
 would like to store the service price for the relations! How can I do
 this?

 Company1 - Hosting(200$)
 Company2 - Hosting(100$)

 Of course, there will be other services in the future, so it's NOT a
 solution to add the hosting price to the company table (as a new
 column) or to add it to the service table, because prices are not the
 same in other companies.

 Thank you so much in advance!

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] help_nahoMailPlugin

2010-04-28 Thread Alexandru-Emil Lupu
Why don't you check this ?

http://www.symfony-project.org/tutorial/1_3/en/whats-new

Alecs

On Wed, Apr 28, 2010 at 1:37 PM, safa boubekri boubekri.s...@gmail.com wrote:

 hi thank you  the version is 1.1.3


 should you  give me the  steps  to confgurate  appl.yml and how can  i
 send  msg  with  this plugin

 i m grateful  of your help


 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Question about sfValidatorDate

2010-04-28 Thread Alexandru-Emil Lupu
well, try this:

$years = range(1900,date('Y'));

 'fecha_nac' = new sfWidgetFormDate(array('years' =
array_combine($years, $years,

it will give you an array like array('1901'=1901, '1902'=1902  )

On Wed, Apr 28, 2010 at 2:13 PM, Javier Garcia tirengar...@gmail.com wrote:
 Hi,

 i have this widget and this validator



   'fecha_nac' = new sfValidatorDate (array('min' = 01-01-1990,
 'required' = 'Your born date is required.')),

 When i choose in the form for example 04/03/1906

 I get this

 array
   'month' = string '4' (length=1)
   'day' = string '3' (length=1)
   'year' = string '6' (length=1)

 in

 class sfValidatorDate extends sfValidatorBase
 {

   protected function doClean($value)
   {
   var_dump($value);

 But i was expecting this to operate my form correctly:

 array
   'month' = string '4' (length=1)
   'day' = string '3' (length=1)
   'year' = string '1906' (length=1)

 Any idea?

 --

 Javi

 Ubuntu 8.04

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: How to store data for the relation?

2010-04-28 Thread Alexandru-Emil Lupu
try embed forms :)

On Wed, Apr 28, 2010 at 1:56 PM, saki sakrame...@gmail.com wrote:
 OK, i've added the fee column to the connection table. I can show/
 list all the services
 in the company form with this:

 ?php echo $form['services_list'] ?

 in the form i use this:

 $this-widgetSchema['services_list']-setOption('multiple', true);
 $this-widgetSchema['services_list']-setOption('expanded', true);

 This makes a checkbox list form me. Unfortunately I have no idea how
 to
 add prices to these relations. Perhaps I shouldn't use chechboxes.
 What should I do to get a list similar like this?

 Checkbox (input) | Service1 | price (input)
 Checkbox (input) | Service2 | price (input)

 or do you have better solution?
 Thank you so much in advance!

 On ápr. 28, 11:20, NOOVEO - Christophe Brun c.b...@nooveo.fr
 wrote:
 Hi Saki,
 why don't you add your column to the service-company connection table ?

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] sf directory problem

2010-04-26 Thread Alexandru-Emil Lupu
http://symfony-check.org/

On Mon, Apr 26, 2010 at 3:12 PM, Ámon Tamás ta...@amon.hu wrote:
 Hello,

 I have the following line in my apache settings file:

 Alias /sf /usr/share/php/data/symfony/web/sf

 Then when I write to the URL the following:

 http://mysite/sf/something I get an apache 404 not found error. How
 can I get my own symfony 404 error, or redirect to an other page?

 --
 Ámon Tamás

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] sf directory problem

2010-04-26 Thread Alexandru-Emil Lupu
1.

That tool allowed you to see how you can build a sf 404 module ...
http://symfony-check.org/permalink/customize-the-oops-page-not-found-page

2.
however, i think you have to add a directory or location parameter

Alias /sf/ /path/to/sf/data/web/sf/

Directory /path/to/sf/data/web/sf/
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
/Directory

3. Check your mod_rewrite / .htaccess settings.
When a file does not exists on the server, apache will redirect you to
the symfony controller if the file does not exists. If the settings
are ok, then you can do  whatever is at step 1.

4.
Anyway, i think you have to see ErrorDocument Directive , because the
/sf directory is handled by apache.

http://httpd.apache.org/docs/2.0/mod/core.html#errordocument


On Mon, Apr 26, 2010 at 4:09 PM, Tamas Amon sajta...@gmail.com wrote:
 Hmm. I do not really understand it. How can I use this tool? And my
 problem is I have en apache 404 error, not symfony.

 On 26 April 2010 14:15, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
 http://symfony-check.org/

 On Mon, Apr 26, 2010 at 3:12 PM, Ámon Tamás ta...@amon.hu wrote:
 Hello,

 I have the following line in my apache settings file:

 Alias /sf /usr/share/php/data/symfony/web/sf

 Then when I write to the URL the following:

 http://mysite/sf/something I get an apache 404 not found error. How
 can I get my own symfony 404 error, or redirect to an other page?

 --
 Ámon Tamás

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 Have a nice day!

 Alecs
 Certified ScrumMaster

 There are no cannibals alive! I have ate the last one yesterday ...
 I am on web:  http://www.alecslupu.ro/
 I am on twitter: http://twitter.com/alecslupu
 I am on linkedIn: http://www.linkedin.com/in/alecslupu
 Tel: (+4)0722 621 280

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 Ámon Tamás

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: performance problem with sfDoctrinePage on symfony 1.2

2010-04-21 Thread Alexandru-Emil Lupu
Switch to dev env and see if any of the view files is responsable

sent via htc magic

On Apr 21, 2010 8:59 AM, Tom Ptacnik to...@tomor.cz wrote:

Which line of code causes this performance problems?

On 19 dub, 17:20, mehdi hadef mehdi.ha...@gmail.com wrote:  Hi all,   I
have a performance pr...
 For more options, visit this group athttp://
groups.google.com/group/symfony-users?hl=en

-- If you want to report a vulnerability issue on symfony, please send it to
security at symfony-p...

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: :-( please help. ajax problem - noob to ajax -probably simple

2010-04-21 Thread Alexandru-Emil Lupu
well i do:

inside the controller:
$this-hasLayout(false);

inside the view:

?php echo json_encode($my_json_content_variable)?

Alecs

On Wed, Apr 21, 2010 at 2:51 PM, Paul Burdon p...@clearintent.co.uk wrote:
 Thanks for all input everyone.

 Finally got it working, had to mess around with the javascript aswell and
 that is always tricky for someone who really has never gone very far with
 it.

 Anyway, it looks and works great, who would have thought that old dirty
 javascript would turn out to be such a useful thing :-)



 On 21 April 2010 07:58, Gareth McCumskey gmccums...@gmail.com wrote:

 Its not javascript code its just a JSON encoded string.

 On Wed, Apr 21, 2010 at 8:22 AM, Massimiliano Arione garak...@gmail.com
 wrote:
  On 19 Apr, 16:46, Tofuwarrior psbur...@googlemail.com wrote:
  As a general principle is my approach ( ie pull the data from an
  action into the jQuery) correct.
 
  I don't think your approach is fully correct.
  You should never mix javascript and php code.
  You should write php (and so html) as if javascript wouldn't exist.
  Then, in a second step, add user interface enhancement with pure
  javascript files.
  It's a matter of separation of concerns: html (php) for structure, css
  for presentation, javascript for behavior
 
  cheers
  Massimiliano
 
  --
  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@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 



 --
 Gareth McCumskey
 http://garethmccumskey.blogspot.com
 twitter: @garethmcc

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] How to stop doctrine creating tables for a single model?

2010-04-20 Thread Alexandru-Emil Lupu
Hi!
You can add:

YourModel:
  options:
symfony:
  model: false

sent via htc magic

On Apr 20, 2010 8:07 PM, sromano88 sroman...@gmail.com wrote:

Hi John,

I am facing the same problem you stated in How to stop doctrine
creating tables for a single model?
I can''t get the solution, and I think that stop executing build-all-
reload should be a good one when you are telling not to export that
model.

Hope you can give me a hand.

Best regards,
Sergio.

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] sfGuardUserProfile fixtures file population - possible?

2010-04-19 Thread Alexandru-Emil Lupu
It is possible, but from what i am seeing, your schema is malformed.
sfGuardUser:
  sfGuardUser_1:
username:   clearintent
password:   Muaddib
is_super_admin: true
sfGuardUserProfile:  # here you had several spaces more than it was needed
  first_name: Clear # here you had several spaces more than it was needed
  last_name: Intent # here you had several spaces more than it was needed
  email: m...@mail.com # here you had several spaces more than it was needed



On Mon, Apr 19, 2010 at 5:50 PM, Tofuwarrior psbur...@googlemail.com wrote:
 Hi all,

 Perhaps I'm being dumb but shouldn't it be possible to do this?

 sfGuardUser:
  sfGuardUser_1:
    username:       clearintent
    password:       Muaddib
    is_super_admin: true
      sfGuardUserProfile:
        first_name: Clear
        last_name: Intent
        email: m...@mail.com

 in the sfGuard fixtures file so it populates the profile table as
 well.

 schema is:

  sf_guard_user_profile:
    _attributes: { phpName: sfGuardUserProfile }
    id:
    user_id:     { type: integer, foreignTable: sf_guard_user,
 foreignReference: id, required: true, onDelete: cascade }
    email:
      type: varchar(100)
      notnull: true
      unique: true
    first_name:
      varchar(30)
    last_name:
      varchar(50)

 I get Unable to parse line 7 (  sfGuardUserProfile:)  - :-(

 Anyone?

 P

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Security user problem[New to Symfony] sfBasicSecurityUser

2010-04-19 Thread Alexandru-Emil Lupu
Read the doc, and wont be bad to have a look in the auth plugins.
The rest is up to symfony internals.

sent via htc magic

On Apr 20, 2010 2:50 AM, Andro Fumero fugitive...@yahoo.com wrote:

hello users-helpers,

Im already done with setting up security:

all:
  is_secure: true
  credentials: [admin]

can someone give me a hint where to start in creating security of the page.
I don't want to use any plugins which i already read of few like
sfDoctrineGuardPlugin
, i want to understand the concept about this one before moving on.

 public function executeUser(sfWebRequest $request)
  {
$q = Doctrine_Query::create()
-select('u.username, u.profileid,u.realname')
-from('User as u')
-leftJoin('u.Profile p')
-where('u.username = ?', $request-getParameter('username'))
-andWhere('u.pword = ?', $request-getParameter('pword'));
$this-users = $q-execute();
}

what will i need to do next since I already had the result of the following
query?
when do i start using
   $user-setAuthenticated(true);
and how does it become global?

can some one make me understand. im very fresh and very frustrated in
understanding this.

Thank you in advance.
God bless helping symfony-users.


 --
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Taille d'un Array dans doctrine

2010-04-19 Thread Alexandru-Emil Lupu
Please use english on this list, or look for french list.
Thanks.

sent via htc magic

On Apr 19, 2010 8:46 PM, kassak albin.kes...@gmail.com wrote:

Bonjour,

Je voudrais connaître le taille (nombre d'élément maximal) pour un
champ de type Array dans doctrine.
Car j'ai beau mettre :
words: { type: array(1000) }
le champ reste toujours mediumtext.

Peut être que je m'y prend mal...

Merci d'avance !

Cordialement,

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Doctrine NestedSet Bug?

2010-04-18 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

is not a bug.
Internally, Doctrine will arange the information. However what you
should look at is to check lft value. You will see that lft is
ascending. I would recomend you to have a look on Documentation.
Alecs

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAkvLPREACgkQIdlZQSANiuZ8VwCgoer2yDiGV2OyZ48kW7T7q9yp
imwAni6rV2ix4PyrIVo/ge/az9b5rQZn
=LNgJ
-END PGP SIGNATURE-

On Sun, Apr 18, 2010 at 7:08 PM, comb sa...@gmx.net wrote:
 schema.yml:
 Category
  actAs: [NestedSet]
 ...

 fixtures.yml:
 Category:
  NestedSet: true
  c0:
    name: cat0
  c1:
    name: cat1
    children:
      c2:
        name: cat2
  c3:
    name: cat3
    children:
      c4:
        name: cat4

 A query SELECT * FROM .. ORDER BY lft asc results in an incorrect
 ordering c0,c1,c3,c2,c4.

 It should be c0,c1,c2,c3,c4

 The problem is, that c0, c1 and c3 get 1 as lft-value which is
 incorrect: http://en.wikipedia.org/wiki/Nested_set_model

 You can workaround with hasManyRoots = true and .. ORDER BY root_id
 asc, lft asc
 But doctrine shouldn't assign a value multiple times to lft since it's
 not a nestedSet anymore?!

 Or what's up here?

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Doctrine NestedSet Bug?

2010-04-18 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jon ?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAkvLiUwACgkQIdlZQSANiuZltQCfbddngxQtR4l13qrabPhpx6IA
QUcAnj7Xp7rvhtDp6mIpWtLVsSg+dfNx
=zXTm
-END PGP SIGNATURE-

On Sun, Apr 18, 2010 at 10:11 PM, comb sa...@gmx.net wrote:
 Yeah I read the docu multiple-times :-)
 If doctrine would handle the information internally then I would
 like to know, why one would expect a correct ordering, but get it
 messed-up in the following simple example:

 Same schema and fixtures as above. The Doctrine-documentation gives an
 example usage, to render a simple tree (many-roots=false):

 $treeObject = Doctrine::getTable('Category')-getTree();
 $tree = $treeObject-fetchTree();

 foreach ($tree as $node) {
    echo str_repeat('nbsp;nbsp;', $node['level']) . $node['name'] .
 \n;
 }

 The order is messed-up as described above. why? Well one could say
 that the fixture file has many roots and it does not fit the
 schema.yml, but if that's the reason, I would like to know, WHY it's
 NOT handled correctly and what the advantages of none-unique ltr-
 values are?! And of course I would then like to know what the proper
 way would be to fix the example.
 I thought NestedSets are supposed to have a asc ltr with UNIQUE
 values.


 Good night :-)

 On 18 Apr., 19:10, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 is not a bug.
 Internally, Doctrine will arange the information. However what you
 should look at is to check lft value. You will see that lft is
 ascending. I would recomend you to have a look on Documentation.
 Alecs

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Use GnuPG with Firefox :http://getfiregpg.org(Version: 0.7.10)

 iEYEARECAAYFAkvLPREACgkQIdlZQSANiuZ8VwCgoer2yDiGV2OyZ48kW7T7q9yp
 imwAni6rV2ix4PyrIVo/ge/az9b5rQZn
 =LNgJ
 -END PGP SIGNATURE-



 On Sun, Apr 18, 2010 at 7:08 PM, comb sa...@gmx.net wrote:
  schema.yml:
  Category
   actAs: [NestedSet]
  ...

  fixtures.yml:
  Category:
   NestedSet: true
   c0:
     name: cat0
   c1:
     name: cat1
     children:
       c2:
         name: cat2
   c3:
     name: cat3
     children:
       c4:
         name: cat4

  A query SELECT * FROM .. ORDER BY lft asc results in an incorrect
  ordering c0,c1,c3,c2,c4.

  It should be c0,c1,c2,c3,c4

  The problem is, that c0, c1 and c3 get 1 as lft-value which is
  incorrect:http://en.wikipedia.org/wiki/Nested_set_model

  You can workaround with hasManyRoots = true and .. ORDER BY root_id
  asc, lft asc
  But doctrine shouldn't assign a value multiple times to lft since it's
  not a nestedSet anymore?!

  Or what's up here?

  --
  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@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 Have a nice day!

 Alecs
 Certified ScrumMaster

 There are no cannibals alive! I have ate the last one yesterday ...
 I am on web:  http://www.alecslupu.ro/
 I am on twitter:http://twitter.com/alecslupu
 I am on linkedIn:http://www.linkedin.com/in/alecslupu
 Tel: (+4)0722 621 280

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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

Re: [symfony-users] sort with paging

2010-04-16 Thread Alexandru-Emil Lupu
use the sfPager, sfPropelPager or sfDoctrinePager. It has a option
like : addSortOrder or, you can use a custom Query to solve the
problem.

On Fri, Apr 16, 2010 at 12:34 PM, kim thechosendra...@gmail.com wrote:
 hi,

 I made a program with a table that you can search on and use
 pagination
 but now i want to sort it (like in the admin control but when i look
 at this code i can't finde the templates to see how it is done in
 there) and i couldn't use the admin because then i wouldn't have the
 liberty to change things and this is really needed for this project

 does anyone know how to do this sorting in symfony? i tried the jquery
 sorter but this one only sorts the page that is shown but i need to
 sort everything.

 Thanks
 greetings

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] cache invalidation on server cluster

2010-04-15 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Well it is up to you.


Use centralized (share folder over NFS ) if this is ok with you.
However, think that you get into troubles (A server invalidates the
cache while the other one  is trying to read it ).

I don't like that cache manager ideea.

I would rather use Memcache to cache small amounts of data, because
then the whole stuff would be done in memory, and i think is quickly
and also ... you won't have issues about File permissions / file write
while reading ... etc.

This is my oppinion ...
Alecs
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAkvHQCAACgkQIdlZQSANiuaC1wCfRoqvgyab1EphedFbUFzg0Es9
VDQAn3a4InHDPUkqPQM/V3vL3QSkDdWB
=gsnZ
-END PGP SIGNATURE-

On Thu, Apr 15, 2010 at 7:10 PM, pghoratiu pghora...@gmail.com wrote:
 Hi!

 I have a web application distributed among multiple web servers (2
 servers) with a central DB for sessions. Cache is used for some
 objects and for invalidation I override the save() method to delete
 the local cache. This worked fine for a single server but does not
 scale to multiple servers.

 So as a solution I'm thinking to either:
 1. Moving to a centralized cache - using memcache, sqlite on a shared
 directory,  ...
 2. Making the cache invalidation more complex - develop some sort of
 cache manager that would remove caches by calling a URL on each
 server.

 My question is how do you deal with cache invalidation when deploying
 a symfony application across mutiple servers?
 Which solution would you choose to perform the cache invalidation
 (centralized cache vs. distributed cache manager)?

 My environment is Symfony 1.0.X so if you have some technique that can
 be applied to that version it would be great.

 Thanks,

    gabriel

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe, reply using remove me as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] new to Symfony: need help for a simple query

2010-04-15 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Try:

   $q = Doctrine_Query::create()
   -select('u.username, u.profileid,u.fullname,p.profile')
   -from('Users as u')
   -leftJoin('u.Profile p')
   -where('u.username = ?', $request-getParameter('username'))
   -andWhere('u.pword = ?', $request-getParameter('pword'));
   $this-users = $q-execute();

Or:

   $q = Doctrine_Query::create()
   -select('u.username, u.profileid,u.fullname,p.profile')
   -from('Users as u')
   -leftJoin('u.profileid')
   -where('u.username = ?', $request-getParameter('username'))
   -andWhere('u.pword = ?', $request-getParameter('pword'));
   $this-users = $q-execute();

I think second should would work...

Alecs

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAkvHYtMACgkQIdlZQSANiuaYpQCfYc00s0EP5KFBLveQ6jOzuD88
rMIAn3sAsHz+soKtxkb7pmtXg/MO/beH
=c9dp
-END PGP SIGNATURE-

On Thu, Apr 15, 2010 at 9:22 PM, tatskie fugitive...@yahoo.com wrote:
 hello there, my schema.yml was generated from mysql table:

 Users:
  connection: doctrine
  tableName: users
  columns:
    id:
      type: integer(4)
      fixed: false
      unsigned: false
      primary: true
      autoincrement: true
    userid:
      type: string(50)
      fixed: false
      unsigned: false
      primary: false
      notnull: true
      autoincrement: false
    profileid:
      type: string(50)
      fixed: false
      unsigned: false
      primary: false
      notnull: true
      autoincrement: false
    username:
      type: string(50)
      fixed: false
      unsigned: false
      primary: false
      notnull: false
      autoincrement: false
    pword:
      type: string(50)
      fixed: false
      unsigned: false
      primary: false
      notnull: false
      autoincrement: false
    fullname:
      type: string(100)
      fixed: false
      unsigned: false
      primary: false
      notnull: false
      autoincrement: false
  relations:
    Profile:
      local: profileid
      foreign: profileid
      type: one
 Profile:
  connection: doctrine
  tableName: profile
  columns:
    id:
      type: integer(4)
      fixed: false
      unsigned: false
      primary: false
      notnull: true
      autoincrement: true
    profileid:
      type: string(50)
      fixed: false
      unsigned: false
      primary: true
      autoincrement: false
    profile:
      type: string(50)
      fixed: false
      unsigned: false
      primary: false
      notnull: true
      autoincrement: false
    description:
      type: string()
      fixed: false
      unsigned: false
      primary: false
      notnull: false
      autoincrement: false
  relations:
    Users:
      local: profileid
      foreign: profileid
      type: many
 ---
 I have this simple query but it gives me error
 Unknown relation alias Profile

    $q = Doctrine_Query::create()
    -select('u.username, u.profileid,u.fullname,p.profile')
    -from('Users as u')
    -leftJoin('u.Profile p on p.profileid=u.profileid')
    -where('u.username = ?', $request-getParameter('username'))
    -andWhere('u.pword = ?', $request-getParameter('pword'));
    $this-users = $q-execute();
 -
 please help.

 Thank you
 ---

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe, reply using remove me as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Fatal error: Class 'sfWidgetFormReCaptcha' not found

2010-04-14 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The problem was the fact he uploaded all the project, except config
folder, and he forgot to enable plugin in
ProjectConfiguration.class.php

Alecs

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAkvGmSMACgkQIdlZQSANiuaOvgCZAa1jGzonm8r5cCrcAcnzccJ0
Jd0Anju661ynPIwMbP5nkTdUXJSiV3fh
=IAZw
-END PGP SIGNATURE-

On Thu, Apr 15, 2010 at 4:55 AM, rekarnar rekar...@gmail.com wrote:
 I assume you are using sfFormExtraPlugin. Check to make sure it is in
 your project on the server. Also remember to publish the plugin assets
 on the server.

 On Apr 14, 11:03 am, Belgacem TLILI belgacem0...@gmail.com wrote:
 i'm using Sf1.4

 i have a form that contain a captcha fiels

 in my computer all things work perfect.

 i have upload my projet to my server
 when i open my form i get this error

 Fatal error: Class 'sfWidgetFormReCaptcha' not found

 i have check all files have exist in the server
 i have do symfony cc
 but the problem persist

 Plz help me , i cant' find the source of the problem

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe, reply using remove me as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: i18n - translation urls ?

2010-04-10 Thread Alexandru-Emil Lupu
Hi
I have told you about apostrophe in order to see the routing config...

Hope that i will be able to compose an email to tell you how can you do it..
just be patient... i hope i will be able to do it. I have busy day...

Alecs

sent via htc magic

On Apr 10, 2010 9:16 AM, alexmm misiekaleksan...@gmail.com wrote:

But I would like to know how can I translate url and in their
tutorial: http://trac.apostrophenow.org/wiki/ManualI18N#Internationalization
there is nothing about that

On 9 Kwi, 20:10, Peter Petrik zil...@gmail.com wrote:  I think  
http://www.apostrophenow.com/...

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] i18n - translation urls ?

2010-04-09 Thread Alexandru-Emil Lupu
Yes... you need a custom url.

Check apostrophe. I am on mobile and i can't copy paste stuff

sent via htc magic

On Apr 9, 2010 8:40 PM, alexmm misiekaleksan...@gmail.com wrote:

I have interesting question. Customer asked me if it is possible to
have links in two languages. For example I have module JOB and I have
Symfony appliaction in two lanuages: english and polish. 'job' ==
'praca' in polish language. Is it possible to show url:
http://xyz.com/job  - in english language
http://xyz.com/praca  - in polish language
???

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Strange Error: no output, no errors in logs. Symfony 1.2, Facebook-App, Apache2, MySQL on Ubuntu 9.10

2010-04-08 Thread Alexandru-Emil Lupu
i think you do not have the display_errors and also, check
error_reporting = E_ALL directive set in your php.ini ... and this
might be the source of all of your problems.
No logs = no debugging ..
Alecs

On Thu, Apr 8, 2010 at 3:36 PM, Don_Busi dominik.busin...@gmail.com wrote:
 Hi all,

 I guess I found the problem. I increased the amount of memory the
 script was allowed to use (in the php.ini) and the error was gone.

 The script was probably using to much memory and just died
 silently. :-/

 Cheers,
 Don

 On Apr 8, 11:24 am, Don_Busi dominik.busin...@gmail.com wrote:
 Hi everybody,

 I'm kind of lost here and hope that any of you has some ideas on what
 could be wrong with my app/setup.

 I have a Facebook-Connect Application deployed that works perfectly
 fine. (http://www.socialtravelguide.net)

 As I continue development on my new laptop (running ubuntu 9.10,
 apache2  mysql, all up-to-date), I have a local installation of the
 same code-base to implement, debug  test new features.

 The code-base (my application code + symfony code) for the two
 installations are identical, but my local installation doesn't work
 properly.

 Some pages just produce no output at all (zero-character-in-the-page-
 source-code), there are no errors in the logs (neither symfony nor
 apache). All looks fine, there is just nothing being shown in the
 browser. Other pages show the right output.

 Any ideas on where to look are highly appreciated!

 Thanx in advance,
 Don

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe, reply using remove me as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] REST webservices

2010-04-05 Thread Alexandru-Emil Lupu
Hi!
If you are using the same project, you can define the global schema which
will create forms for both applications.
You could better create a plugin and put whole the logic there. That will
allow you to keep it modular. Also the logic will be groupped. The rest will
be just enable and disable the plugin modules.

sent via htc magic

On Apr 5, 2010 11:51 AM, Beo pietrino.atz...@gmail.com wrote:

Hi, which is the best suggested practice to develop webservices and
applications using them in symfony?

I mean, I want to define a set of API in application A, and use these
in application B.

My basic approach should be:

for application A:
 - define a schema (Doctrine rules)
 - define some modules/actions with XML responses (ala Facebook)

for application B:
 - copy part of the schema and build only models/forms? I couldn't
use some of the Doctrine validations?
 - define models and forms by hand?

What would you do?

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Fatal error: Cannot instantiate abstract class BaseNewsGeneratorConfiguration

2010-04-04 Thread Alexandru-Emil Lupu
Check the filename. If you have developed on windows, then it might be a
filename problem

sent via htc magic

On Apr 4, 2010 4:06 PM, comb sa...@gmx.net wrote:

Hi

when I try to access backend_dev.php I get this error:

Fatal error: Cannot instantiate abstract class
BaseNewsGeneratorConfiguration in /home/www/webxx/html/xx/lib/vendor/
symfony/lib/generator/sfModelGenerator.class.php  on line 429


what's wrong? on my localhost it works fine..

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: I want to independent module :)

2010-04-03 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

or, you could make it a plugin.
You'd have the yml schema, the routing, the actions, the forms, the model ...
Alecs

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAku27fIACgkQIdlZQSANiubCwwCeOf8/3HW4A/+LXlyKjWZLjkrV
L4oAoI6zl1DA+ZpnTuohP1Q8ku9gO78d
=DqRV
-END PGP SIGNATURE-

On Sat, Apr 3, 2010 at 9:58 AM, Andrzej aohra...@gmail.com wrote:
 so I don't need to extends Doctrine_Table - so this is normal class
 without inheritance - ok - You could write that at the beginning :)
 But thx :)

 On 3 Kwi, 01:24, Rodrigo rru...@gmail.com wrote:
 Use static public function to declare it.

 2010/4/2 Andrzej aohra...@gmail.com



  But now I have error:
  Non-static method Test::getNews() should not be called statically,
  assuming $this from incompatible context

  On 2 Kwi, 19:52, Rodrigo rru...@gmail.com wrote:
   Hi Andrzej.
   Try with $this-nevs = test::getNews();

   I suggest you to call class with Caps... 'class Test extends
   Doctrine_Table', same with filename, Test.class.php, just following
   standars.

   Blesses.-

   2010/4/2 Andrzej aohra...@gmail.com

I have model News. I would like to build independent module with forms
and queries inside because then I would like to send it to my friend.
So I have module with name 'fresh_news'. Inside module 'fresh_news' I
created folder 'lib' and there file 'test.class.php' with code (I
think I should extends Doctrine_Table):

class test extends Doctrine_Table
{
 public function getNews()
 {
       $q = Doctrine_Query::create()
         -from('News');

       return $q-execute();
 }
}

In actions.class.php I have:
$this-nevs = Doctrine::getTable('test')-getNews();

But I have an error:
Catchable fatal error: Argument 2 passed to
Doctrine_Table::__construct() must be an instance of
Doctrine_Connection, none given...

what can I do ?

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@goog
 legroups.com
  symfony-users%2bunsubscr...@goog legroups.com
For more options, visit this group at
   http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using remove me as the subject.

  --
   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@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@goog
   legroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: question about cache

2010-03-30 Thread Alexandru-Emil Lupu
?php include_partial('user/my_partial', array(
  'user' = $user,
  'sf_cache_key' = $user-getId()
) ?


http://www.symfony-project.org/book/1_2/12-Caching

Alecs

2010/3/30 Michał Piotrowski mkkp...@gmail.com:
 2010/3/30 Antoine S. antoine.spodobal...@gmail.com:
 Hi,

 First you don't really need the doc.
 The most important is : you can have a cache.yml file at different
 level and refine for any module, action, partial.

 Second, the contextual option is very important. If it's true, it
 will parse the parameters to store the cache file.
 Ex: if you cache a product page with contextual true, for any id in
 the url (so each product) will have its own cache.

 This will not work in my case - for the same url I may have a
 different content in _list partial for different user.


 You can sometimes force to use the contextual.
 Ex. I have a partial : _header_layout.php with a basic menu and a
 text : Hello Username.
 Because I can't store this partial for all user, I have to make it
 contextual to the user.
 include_partial('header_layout', array($user=$sf_user-getId());

 Same situation here - but I don't cache layout.


 For your application, you probably don't want a cache for the editor
 (you will spend time to delete the cache),
 but a cache for the visitor.

 Good poit. But I need to delete cache after each edition - because
 something may become visible or not visible for visitors.

 I extend sfViewCacheManager, overrride ignore() to ignore the cache on
 special credential (ex. editor)


 I can't help you more I think. It depends then of your application and
 choice.
 Then, you have sometimes to restructure (/isolate) to be able to use a
 cache.

 Yes, this is what I need to do in my case.

 Thanks for your answer

 Regards,
 Michal



 On Mar 30, 2:41 am, Michał Piotrowski mkkp...@gmail.com wrote:
 2010/3/29 Massimiliano Arione garak...@gmail.com:

  The solution is to not cache the entire action. Just cache parts of it
  (e.g. partials)

 It is not possible in my case - for example I've got

 indexSuccess.php that include
  _list.php that include
   _show.php

 I need to change some design concepts and use normal cache.

 Regards,
 Michal



  cheers
  Massimiliano

  On 28 Mar, 22:42, Micha³ Piotrowski mkkp...@gmail.com wrote:
  2010/3/28 Antoine S. antoine.spodobal...@gmail.com:

   Hi,

   You can refine the cache (cache.yml) at any level : application,
   module, action, component, partial

   see the doc

  Can you point me to the doc that you are referring?

  I have checked in symfony 1.4 refernece The cache.yml Configuration 
  File,http://www.symfony-project.org/book/1_2/12-Cachinghttp://www.symfony-...
  and few others returned by google.

  It always works in this 
  wayhttp://www.symfony-project.org/images/jobeet/1_4/21/flow_cache_page.png

  Maybe I'm blind, but I don't see any way to execute an action here...

  Regards,
  Michal

  --
  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@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

  To unsubscribe from this group, send email to 
  symfony-users+unsubscribegooglegroups.com or reply to this email with the 
  words REMOVE ME as the subject.

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to 
 symfony-users+unsubscribegooglegroups.com or reply to this email with the 
 words REMOVE ME as the subject.


 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to 
 symfony-users+unsubscribegooglegroups.com or reply to this email with the 
 words REMOVE ME as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I 

Re: [symfony-users] Re: Custom Under Maintenance page

2010-03-30 Thread Alexandru-Emil Lupu
http://www.symfony-check.org/



On Tue, Mar 30, 2010 at 11:42 AM, wueb webmaster@gmail.com wrote:
 Do you redirect the default in routing.yml to the module you created?


 On 29 Mar, 22:51, ruigoncalves skcra...@gmail.com wrote:
 Hi there!

 I'm trying to add a custom page to my web application for the times
 I'm performing maintenance. I'm trying to test the referred page on my
 development environment but always appear the symfony page. I had
 already created a module with a proper action and template and also
 configured those on the settings.yml file.

 Can anyone give me some help?

 Thanks in advance,
 Best regards!

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to 
 symfony-users+unsubscribegooglegroups.com or reply to this email with the 
 words REMOVE ME as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: [symfony-users] demande_aide

2010-03-30 Thread Alexandru-Emil Lupu
english please

On Tue, Mar 30, 2010 at 12:47 PM, safa boubekri boubekri.s...@gmail.com wrote:



   bonjour svp  j'ai installer le plugin sfGuardDoctrine ça marche mais lors
 de création du module   sfGuardAuth  il  affiche

 Empty module and/or action after parsing the URL /sfGuardAuth/ (/).

 vu que  j'ai suivi  les etapes
 du http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin  vraiment je
 suis bloqué

 merci d'avance

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to
 symfony-users+unsubscribegooglegroups.com or reply to this email with the
 words REMOVE ME as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: [symfony-users] XML template for API call

2010-03-27 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

HI!
There is a plugin inside sfShop project that can handle Delivery
services. I haven't yet looked at it, but it would worth for you to do
it.
Alecs

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAkut/0cACgkQIdlZQSANiub0VwCfQ3rlAppjthKi1q7ySHa4yc33
q6MAoJYsuitJ659vXHsV3oDXdXkre8D0
=ypYy
-END PGP SIGNATURE-

On Sat, Mar 27, 2010 at 2:25 PM, Tom Haskins-Vaughan
t...@templestreetmedia.com wrote:
 Hi,

 I need to access the UPS shipping API for an ecommerce site. I'm
 writing a class for this: sfShippingServiceUps. Now the calls I have
 to make require me to send an XML string. My question is, do I just
 created the xml as a variable in the class like they do over here:

 http://trac.symfony-project.org/browser/plugins/sfUPSShippingPlugin/lib/sfUPSShipping.class.php

 or is it possible to use some kind of template/view file? In the
 action I'd just like to be able to do:

  $shippingService    = new sfShippingServiceUps();
  $this-rateOptions = $shippingService-getRates();

 I'd prefer not to have to use the action for making the API call, but
 if this is the best way to do it, I'm ready to listen.

 Thanks,

 TOm

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to 
 symfony-users+unsubscribegooglegroups.com or reply to this email with the 
 words REMOVE ME as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: [symfony-users] XML template for API call

2010-03-27 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

we've moved somewhere else :

http://code.google.com/p/sfshop/

Alecs

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAkuuBFMACgkQIdlZQSANiuZ7VgCfSlZDzY/4ooYvNGVrj4H2Hn4s
deMAnja+e4smQhqbFlupiuHv+Moy1Yiq
=YBH6
-END PGP SIGNATURE-

On Sat, Mar 27, 2010 at 3:03 PM, Tom Haskins-Vaughan
t...@templestreetmedia.com wrote:
 Thanks Alecs, looks like there's nothing there any more:

 http://svn.symfony-project.com/plugins/sfShopPlugin/

 On Sat, Mar 27, 2010 at 8:51 AM, Alexandru-Emil Lupu
 gang.al...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 HI!
 There is a plugin inside sfShop project that can handle Delivery
 services. I haven't yet looked at it, but it would worth for you to do
 it.
 Alecs

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

 iEYEARECAAYFAkut/0cACgkQIdlZQSANiub0VwCfQ3rlAppjthKi1q7ySHa4yc33
 q6MAoJYsuitJ659vXHsV3oDXdXkre8D0
 =ypYy
 -END PGP SIGNATURE-

 On Sat, Mar 27, 2010 at 2:25 PM, Tom Haskins-Vaughan
 t...@templestreetmedia.com wrote:
 Hi,

 I need to access the UPS shipping API for an ecommerce site. I'm
 writing a class for this: sfShippingServiceUps. Now the calls I have
 to make require me to send an XML string. My question is, do I just
 created the xml as a variable in the class like they do over here:

 http://trac.symfony-project.org/browser/plugins/sfUPSShippingPlugin/lib/sfUPSShipping.class.php

 or is it possible to use some kind of template/view file? In the
 action I'd just like to be able to do:

  $shippingService    = new sfShippingServiceUps();
  $this-rateOptions = $shippingService-getRates();

 I'd prefer not to have to use the action for making the API call, but
 if this is the best way to do it, I'm ready to listen.

 Thanks,

 TOm

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to 
 symfony-users+unsubscribegooglegroups.com or reply to this email with the 
 words REMOVE ME as the subject.




 --
 Have a nice day!

 Alecs
 Certified ScrumMaster

 There are no cannibals alive! I have ate the last one yesterday ...
 I am on web:  http://www.alecslupu.ro/
 I am on twitter: http://twitter.com/alecslupu
 I am on linkedIn: http://www.linkedin.com/in/alecslupu
 Tel: (+4)0722 621 280

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to 
 symfony-users+unsubscribegooglegroups.com or reply to this email with the 
 words REMOVE ME as the subject.


 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to 
 symfony-users+unsubscribegooglegroups.com or reply to this email with the 
 words REMOVE ME as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email

Re: [symfony-users] Is there a blog plugin for 1.4?

2010-03-27 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

not finished, so is not open source :)
I have one on www.alecslupu.ro
Doctrine based, meant to be a fork of sfSimpleBlogPlugin
Alecs

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAkuugiMACgkQIdlZQSANiuZWmgCfQhYAmD+gOJNSeacbkL+hbPwv
v2kAn1/8UzDjvIH2BTEu45Jay+RuiNur
=Obbt
-END PGP SIGNATURE-

On Sat, Mar 27, 2010 at 11:16 PM, Samuel Morhaim
samuel.morh...@gmail.com wrote:
 Is there?

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to
 symfony-users+unsubscribegooglegroups.com or reply to this email with the
 words REMOVE ME as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: [symfony-users] unsing unsetAllFieldsExcept to unset a field of an embeded form

2010-03-19 Thread Alexandru-Emil Lupu
in your form2 class add a function unsetAllFieldsExcept
and then replace:

 $this-unsetAllExcept(array( 'name','email' , 'form2[books]' ) );

to :

$this-unsetAllExcept(array( 'name','email' ) );

if ($this-getEmbededForm('form2') instanceof form2Form )
{
  $this-getEmbededForm('form2')-unsetAllExcept('book');
}

Alecs


On Fri, Mar 19, 2010 at 12:26 PM, Belgacem TLILI belgacem0...@gmail.comwrote:

 Hello for all Sf dev,

 i'm using the function unsetAllFieldsExcept  to get a form in 2 steps
 like this exemple
 http://www.iw2.fr/2009/08/28/symfony-formulaire-en-plusieurs-etapes/

 my problem is : i would like to unset a fields for an embed form

 i call the unsetAllFieldsExcept function here to unset all fields
 except name and email

  $this-unsetAllExcept(array( 'name','email') );

 now i would use this function with a fields of ana embed form
 i'm traying this

  $this-unsetAllExcept(array( 'name','email' , 'form2[books]' ) );

 but this does not work
 any dev has an idea please ?

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 To unsubscribe from this group, send email to symfony-users+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: [symfony-users] Symfony License issue

2010-03-15 Thread Alexandru-Emil Lupu
I think you can sell without any problems. You are selling your work, not
the framework itself. In fact , you can sell only your app, and let the user
install symfony.
Anyway, you can donate to the sf project, if you are not comfortable that
you are using the framework for free...
Alecs

On Sat, Mar 13, 2010 at 11:29 AM, Avinash fortest...@gmail.com wrote:

 Hi There,

 I am not sure if this is right place, but I need to clear my doubt
 that if i can create a symfony based product for selling instances to
 clients without paying to any one or there is any paid version of
 symfony framework.
 I do have gone through licenses posted on http://www.symfony-project.org/
 at multiple locations including CCPL (the most confusing one) but
 still not clear with legality.
 Or let me know where I should see.
 Please Help.

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: i need help urgent

2010-03-11 Thread Alexandru-Emil Lupu
Hmmmz i dunno exactly ... but:

1. you could merge the forms.
2. Override the save or saveEmbededForms method
3. Make sure that you are using the 3rd form ... the rest should be
embeded...
Form2 is embeded in Form1 which is embeded Form3 ...
After just call new Form3();

Alecs

On Thu, Mar 11, 2010 at 8:52 PM, Belgacem TLILI belgacem0...@gmail.comwrote:

 think you  Eno,
 this does not help me

 i will explain my problem in a different why:
 i have 3 forms
 1 - main form use a foreign key from form2
 2- form2
 3- form3 use a foreign key from main form

 so to save all the form in database we should
 1= save object of form2
 2= then save object of main form with the foreignkey from form2
 3= and finally save the object of form3 with the key from the
 mainform

 i don't know if i must define the save function or what ? help me
 please

 On Mar 11, 4:49 pm, Eno symb...@gmail.com wrote:
  On Thu, 11 Mar 2010, Belgacem TLILI wrote:
   hello for all symfony users,
 
   i have a problem with my symfony project
 
   i have two forms
   ** main form for user
   ** embed form for phonenumber
 
   the relation between user and phonenumber is one-many
   in the model phonenumber i have a column id_user
 
   in the file : UserForm.class.php
   i have ahh this lines to the configure methode:
 
 $number1 = new  phonenumber ();
 $number1-id_user=$this-getobject()-id_user();
 $this-embedForm('number_1',new PhonenumberForm($number1)  );
 
   the form appear 5/5
   but when i save the form i'll have an error in the subform of number_1
 
   i think i must modify the save methode
   can any one help me please , this is my final education project
 
  Maybe this well help:
 http://www.symfony-project.org/blog/2008/11/10/call-the-expert-nested...
 
  --

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Testing tasks

2010-03-04 Thread Alexandru-Emil Lupu
HI!
Well is a Unit after all.
Alecs

On Thu, Mar 4, 2010 at 10:07 AM, Tarjei Huse tar...@scanmine.com wrote:

 Hi,

 I might have missed something, but does symfony have a way to write
 tests for tasks?

 I got a task I would like to have test coverage for and the best way
 seems to be do some kind of functional testing on it.

 Kind regards,
 Tarjei

 --
 Regards / Med vennlig hilsen
 Tarjei Huse
 Mobil: 920 63 413

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: ideas for development architecture in symfony

2010-03-03 Thread Alexandru-Emil Lupu
Apostrophe is symfony based 

On Thu, Mar 4, 2010 at 7:11 AM, Joshua houseaddi...@gmail.com wrote:

 Thanks daniel. There are a lot of CMS' that use similar approaches,
 but specifically looking for a symfony one.

 On Mar 3, 4:53 pm, Daniel Lohse annismcken...@googlemail.com wrote:
  This sounds a lot like Apostrophe's architecture! Seehttp://
 www.apostrophenow.com/
 
  Daniel
 
  On 03.03.2010, at 21:13, Joshua wrote:
 
   I'm working on the following architecture for a site running symfony.
   Seeking ideas and input for the best way this might be implemented on
   a symfony platform.
 
   Blocks
  * Right now I am using the name block for lack of available
   nomenclature. You could also refer to these as modules, widgets,
   content areas, etc.
  * A block can be any independent entity assigned to pages in the
   frontend. If you go to education.com (as an example, not the site I'm
   developing), Science Fair Ideas and Help would be a block, Featured
   Topics would be a block, a chunk of html or ads can be made blocks.
  * Blocks would be developed separately of other blocks. There
   would be some sort of class of all the available blocks which pull in
   the necessary db data, construct and return its individual html
   segment.
  * In the admin, blocks would be given properties such as order,
   active/visible, etc.
 
   Zones
  * Each page would also be assigned zones (left side, middle,
   footer, whatever). These would basically determine the page layout.
  * Blocks would then be assigned to a zone on the page.
  * When a page loads it pulls its assigned zones and blocks then
   places them where necessary.
 
   --
   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@googlegroups.com
   To unsubscribe from this group, send email to
   symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Line endings in filter/form/model

2010-03-02 Thread Alexandru-Emil Lupu
To force what?
Afaik, symfony is using 'PHP_EOL' constant to render the line endings. Now,
what i dunno, is if is user defined, or is a php constant.

Alecs

sent via htc magic

On Mar 2, 2010 4:23 PM, Alexander Deruwe alexan...@mobicomsystems.net
wrote:

Hey all,

Today I switched from a *nix development machine to a Windows 7 one.
When I regenerated the filter/form/model stuff, in the base files the
line ending was changed to crlf instead of lf.
Not really a problem, just a little messy svn-wise - is there a way to
force it to a certain style?

Cheers,


A.

--
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Jobeet Tutorial: jobs.yml data fixture example won't doctrine:data-load.

2010-03-01 Thread Alexandru-Emil Lupu
I think that on job_expired token is a typo. Try to chage it from
'job_expired' to 'expired_job' or so... i am mono tasking and i cannot copy
paste what i think is the right key for the fixture...
Alecs

sent via htc magic

On Mar 1, 2010 4:20 PM, Trung Huynh forrestgu...@gmail.com wrote:

gets me this :(

 doctrine  Loading data fixtures from
/Users/trung/Websites/jobeet/data/fixtures

Warning: strtotime() expects parameter 1 to be string, array given in /
Users/trung/Websites/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/
lib/vendor/doctrine/Doctrine/Record.php on line 1526

Warning: strtotime() expects parameter 1 to be string, array given in /
Users/trung/Websites/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/
lib/vendor/doctrine/Doctrine/Record.php on line 1526

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/

Re: [symfony-users] how to do pdf in symfony

2010-03-01 Thread Alexandru-Emil Lupu
You could try sftcpdfPlugin or so...

sent via htc magic

On Mar 2, 2010 7:21 AM, DEEPAK BHATIA toreachdee...@gmail.com wrote:

http://www.symfony-project.org/plugins/sfPhpExcelPlugin

PDF can be generated using this library.

On Tue, Mar 2, 2010 at 6:48 AM, Arthur Ccube arthurcc...@gmail.com wrote:
  how to generate pdf ...

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] frontend_dev.php dissapears

2010-02-26 Thread Alexandru-Emil Lupu
maybe in the url ...
check the no_script_name and see if is set true / on / 1

On Fri, Feb 26, 2010 at 8:42 PM, Gábor Fási maerl...@gmail.com wrote:

 Check the referer, you probably have an incorrect url echoed there.

 On Fri, Feb 26, 2010 at 09:34, Parijat Kalia kaliapari...@gmail.com
 wrote:
  Hey guys,
 
  while traversing to one of the pages on my website, the frontend_dev.php
  seems to disappear. It does exist when I traverse other pages, but the
  moment I traverse to this specific page, it disappears, and from thereon,
 if
  I traverse to any other page, it will not come back.
 
  Off course, while I do this, I am on local host and not anything else.
 
  Anyone with any leads on this?
 
  Parijat
 
  --
  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@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Blank page after uploading my project to a hosting provider

2010-02-24 Thread Alexandru-Emil Lupu
I could suggest you to comment out the security things in your _dev file and
try see what that file sais ...
You might get the answer there ..

if still can't see a bit, then check your projectConfiguration file and see
if the autoloader is loaded via an absolute path or not.
A motive of why you can't see your app might be the permissions on log 
cache folders. butt mostly the _dev would give you the answer

Alecs

On Wed, Feb 24, 2010 at 10:26 PM, Javier Garcia tirengar...@gmail.comwrote:

 So where do you consider could i find that log? Please, tell me a host
 provider (with free hosting ) where you know i can find it.

 Anyway after clearing the cache the error persists...

 Javi

 On Feb 24, 9:21 pm, Gábor Fási maerl...@gmail.com wrote:
  That thread is about another kind of log. You need your site's error log.
 
  On Wed, Feb 24, 2010 at 21:19, Javier Garcia tirengar...@gmail.com
 wrote:
   On 02/24/2010 09:14 PM, Eno wrote:
 
   Did you clear cache?
 
   I would also question why your provider can't have logs...
 
   Ok, just remove the content of the cache folder...Thanks.
 
   This is what i got about the log:
 
  http://byet.net/showthread.php?15957-Is-there-any-log-file-to-check-t.
 ..
 
   Javi
 
   --
   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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en.

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: How to get form object in preSave()

2010-02-24 Thread Alexandru-Emil Lupu
You can do it like that :

public function save(PropelPDO $con = null)
{
 $this-password = md5($this-password);
 parent::save();
}

but you could do like this as well ...

public function setPassword($v)
{
$v = md5($v);

return parent::setPassword($v);
}

Alecs

On Wed, Feb 24, 2010 at 10:27 PM, jp_morvan sacri...@free.fr wrote:

 Hum,

 Why don't you did it in the save() method ?
 public function save(PropelPDO $con = null)
 {
  $this-password = md5($this-password);
  parent::save();
 }

 I don't really know Propel but I do this with Doctrine.

 On 24 fév, 18:05, Dong YANG jojoyangd...@gmail.com wrote:
  Hi JP,
 
   Thanks for your reply.
 
   I use propel 1.5 and I have a form which contains the field
 *password*.
  Before do save (create), I would like call md5() to encode it. So I tried
 to
  use preSave() to do this thing. But in this method, I cant get the value
  entered by user.
 
   Here is the method preSave()
 
   *  public** function preSave(PropelPDO $con = null)
  {
// Inside, I can't get form value
  }**
  *
  I think that maybe I should overwrite executeCreate() or
  processForm() in order to update the user value before do save.
 
  Maybe there is a better and correct way to do so.
 
  I hope that my example is clear and any suggest is welcome.
 
  Regards,
 
  JoJo
 
  2010/2/24 jp_morvan sacri...@free.fr
 
 
 
   On 24 fév, 14:52, Dong YANG jojoyangd...@gmail.com wrote:
Hello everyone,
 
I would like to know if is that possible to get form object
 in
preSave() method?
 
In fact, before save the form value (fill in by user), I want
 to
treate the input value in preSave() method. But I don't know how to
 and I
don't know whether I can do so.
 
Please suggest.
 
Regards,
 
JoJo
 
   Hi,
   Can you write an example please ? I don't really see the needs to do
   it on preSave() method.
 
   JP
 
   --
   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.comsymfony-users%2bunsubscr...@googlegroups.com
 symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en.

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: Is there anyway to go to the next element in a Doctrine collection?

2010-02-19 Thread Alexandru-Emil Lupu
I dunno your code ... but if you are playing with 2 doctrineCollections you
might do it wrong ...
maybe a join on those 2 tables would fix the issue...
Dunno what are trying to do ... you gave us the solution ... not the problem
itself. Why have you reach to use do DC ? What are you trying to do ?

Alecs

On Fri, Feb 19, 2010 at 11:49 AM, Javier Garcia tirengar...@gmail.comwrote:

 No idea about this?

 Javi

 On Feb 17, 9:44 pm, Javier Garcia tirengar...@gmail.com wrote:
  Maybe this time the image is attached correctly..:)..
 
  On 02/17/2010 09:23 PM, St�phane wrote:
 
   Why not foreach-ing ?
   Please give us more of your template to understand what you want to do.
 
   Cheers,
 
   Before Printing, Think about Your Environmental Responsibility!
   Avant d'Imprimer, Pensez � Votre Responsabilit�e Environnementale!
 
   On Wed, Feb 17, 2010 at 9:17 PM, Javier Garcia tirengar...@gmail.com
   mailto:tirengar...@gmail.com wrote:
 
   I wrote this below inside the loop:
 
   ?php next($amigos_miembro) ?
 
   But it doesn't work..
 
   Javi
 
   On 02/17/2010 08:57 PM, St�phane wrote:
   Hi,
 
   next($my_collection); should work
 
   Cheers,
 
   Before Printing, Think about Your Environmental Responsibility!
   Avant d'Imprimer, Pensez � Votre Responsabilit�e
 Environnementale!
 
   On Wed, Feb 17, 2010 at 8:52 PM, Javier Garcia
   tirengar...@gmail.com mailto:tirengar...@gmail.com wrote:
 
   Hi,
 
   Im trying to show two elements of a Doctrine collection
   inside a div this way:
 
foreach ($friends as $friend) { ?
 
   div id=photo_friend
   ?php echo link_to(
  image_tag(
   '/uploads/fotografias_miembros/'.$friend-getAvatar()),
 
'miembros/show?id='.$friend-getId()) ; ?
   /div
 
   div id=name_friend
   ?php echo $amigo-getName(); ?
   /div
 
   ?php }   ?
 
   So, is there any way to go to the next element (next row) in
   a Doctrine collection?
 
   Regards
 
   Javi
 
   --
   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@googlegroups.com
   mailto:symfony-users@googlegroups.com.
   To unsubscribe from this group, send email to
   
   symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
   
   mailto:symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en.
 
   --
   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@googlegroups.com
   mailto:symfony-users@googlegroups.com.
   To unsubscribe from this group, send email to
   
   symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
   
   mailto:symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en.
 
   --
   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@googlegroups.com
   mailto:symfony-users@googlegroups.com.
   To unsubscribe from this group, send email to
   
   symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
   
   mailto:symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en.
 
   --
   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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en.
 
 
 
   grid.jpg
  36KViewDownload

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I 

Re: [symfony-users] Re: Certification programme

2010-02-18 Thread Alexandru-Emil Lupu
Me as well ... but ... if would be an online course / test would be nice ...

I am allready Certified  Scrum Master, so, would be nice as well to be
Certified Symfony Master :P

+1

On Thu, Feb 18, 2010 at 1:52 PM, Stéphane stephane.er...@gmail.com wrote:

 +1


 Before Printing, Think about Your Environmental Responsibility!
 Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!



 On Thu, Feb 18, 2010 at 12:50 PM, Darmen Amanbayev ioxans...@gmail.comwrote:

 +1 looking forward to this too.

 On 18 фев, 12:41, Apul Gupta apulmca...@gmail.com wrote:
  Hi,
 
  Is there any certification program for symfony?
 
  Thanks
  Apul Gupta

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.


  --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: Apostrophe 1.0 Stable Release: a mature CMS for Symfony!

2010-02-12 Thread Alexandru-Emil Lupu
I had the same peoblem but i have fixed it with a plugin gaved by of my
friends...
If you need a cms mandatory, you could try something barbaric...
Start a new sf project, install the cms plugin, then copy in your new
project the form/doctrine, lib/doctrine and other lib dirs, then your apps
folder, plugins/* directory contents, web/ with the mention that you should
rename the index.php with other name. Ultimatelly, you'd need to copy.  The
config folder, which i think is the trickiest.. because you'd have to modify
each file...
Of course, this is a manual override of the sympal or diem... i do not about
apostrophe...

Have a great day!
Alecs

sent via htc magic

On Feb 12, 2010 11:20 PM, a...@speedypin.com a...@speedypin.com wrote:

2nds on the congrats...


Is this a CMS that can be intergrated into an existing symfony
project?

sfSympalPlugin and diemPlugin need to be selected at the beginning
point of starting a projectSucks for those (like me) who have been
developing for more than 1+ years on a current project an need a CMS.

Also would this work with ysfDimensions?

I don't expect these questions to be answered on the fact that you
give the world something great and they ask for more.  I really think
you should be congradulated with What you have done with
apostrophePlugin,... I will read the readme and so on to see if I can
answer these questions myself.


With Best Regards,
Alex Stoneham
(Speedypin LLC)


On Feb 12, 10:20 am, Nicolas Ippolito ippolito.nico...@gmail.com
wrote:

 Hi,   Congratulations!   It's a wonderful project!   Nico 
 2010/2/12 Tom Boutell t...@punkave.com

   We have labored long and hard to prepare for the 1.0 release of  
Apostrophe. As we said bef...
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
symfony-users%2bunsubscr...@googlegroups.comsymfony-users%252bunsubscr...@googlegroups.com


  .   For more options, visit this group at  
http://groups.google.com/group/symfony-users?hl=e...

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: FREE ticket to sflive2010

2010-02-12 Thread Alexandru-Emil Lupu
Sorry! I can't get there even with a free ticket... i am in big debts as
this month i have made some csm courses.  As i am paying from my pocket...
you can imagine...
Maybe i will come in the next sessions...
But thank for open sourcing your ticket :)

sent via htc magic

On Feb 13, 2010 12:00 AM, a...@speedypin.com a...@speedypin.com wrote:

This would be sweet if I could muster up $1500 for the airfair and
another $500 for expenses...

On Feb 12, 2:46 am, Lee Bolding l...@leesbian.net wrote:  Yes, that's
right.   Unfortunately, ...

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] one module - many models (tables)

2010-02-08 Thread Alexandru-Emil Lupu
You should see the sfsimpleforum.
Also .. you could use embed form or merge form...

sent via htc magic

On Feb 8, 2010 10:17 PM, Martin Henits martin.hen...@googlemail.com
wrote:

Hi,

I'm new to symfony and am trying to learn it.
I am trying to develop a new module (something like a forum). in a
very simple form, this module works with 2 database tables:
forum_threads and forum_posts.

First, I think that I should not develop 2 different modules, because
forum sounds like one module in my mind. (am I right?)

the create new thread form has 2 fields: subject and message.
when someone clicks on the save button, the subject field should be
saved in the forum_thread table and the message field should be
saved in the forum_posts table. Any clue for doing this?

Any suggestion is highly appreciated.

--
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.comsymfony-users%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Web shop based on symfony

2010-02-07 Thread Alexandru-Emil Lupu
Try sfshop...

sent via htc magic

On Feb 7, 2010 10:50 AM, apm korja...@gmail.com wrote:

I need write some small online web store.


Pretty simple, multiple categories, subcategories, basket, delivery status,
discounts, personal accounts, in such a way.

Does anybody know plugin or some skeleton of project open-sourced and which
used syfony for this?

-- 
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.comsymfony-users%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Strange problem with Doctrine and SF

2010-02-07 Thread Alexandru-Emil Lupu
maybe a text in the generator.yml ?


On Sun, Feb 7, 2010 at 3:19 PM, ReynierPM rper...@uci.cu wrote:

 Hi every:
 I've generated a admin module using doctrine:generate-admin task. When I
 try to access this module I get this error:

 500 | Internal Server Error | Doctrine_Connection_Pgsql_Exception
 SQLSTATE[42703]: Undefined column: 7 ERROR: column t.reup does not exist
 LINE 1: SELECT t.id_entidad AS t__id_entidad, t.reup AS t__reup, t.n...
 ^. Failing Query: SELECT t.id_entidad AS t__id_entidad, t.reup AS t__reup,
 t.nombre AS t__nombre, t.direccion AS t__direccion, t.email AS t__email,
 t.telefono AS t__telefono, t.id_municipio AS t__id_municipio, t.id_organismo
 AS t__id_organismo FROM t_entidad t

 I check the model, database, schema and not reference to field t.reup (the
 problem) appears. What's wrong with this?

 I'm using the latest version of Symfony, 1.4.1, and Doctrine bundled with
 this release.
 --
 Cheers and thanks in advance
 ReynierPM

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Alexandru-Emil Lupu
I think that he is using doctrine and he has enabled the 'slugable'
bwhavior. If so, when he is selecting the products, he does not join the
translation table as well.
Alecs

sent via htc magic

On Feb 8, 2010 3:08 AM, Eno symb...@gmail.com wrote:

On Mon, 8 Feb 2010, Sid Bachtiar wrote:  Could it be that there's code that
is executed to make su...
How about looking at the actual queries to see?


--


--

You received this message because you are subscribed to the Google Groups
symfony users group. To ...

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Alexandru-Emil Lupu
Ahh i think what i have said earlier is walid in case of i18n and slugable
behavior...
Of course.. i just asume that... i would need more info...

sent via htc magic

On Feb 8, 2010 3:08 AM, Eno symb...@gmail.com wrote:

On Mon, 8 Feb 2010, Sid Bachtiar wrote:  Could it be that there's code that
is executed to make su...

  How about looking at the actual queries to see?----

You received this message because you are subscribed to the Google Groups
symfony users group. To ...

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] No Propel in Available Tasks: upgrade from Symfony 1.1 to 1.2/1.3

2010-02-02 Thread Alexandru-Emil Lupu
It should not be... if you are a beginner, then try Doctrine. It will be the
default in sf2

sent via htc magic

On Feb 2, 2010 9:33 AM, Rebecca Bielecki max...@gmail.com wrote:

 I am thinking that my best option at this stage is to start from scratch -
ie install wamp and symfony from scratch and go straight to 1.4.1 of Symfony
and just alter my project to account for deprecated methods.

Is this overkill?

  - Original Message -  From: Alexandru-Emil Lupu

 To: symfony-users@googlegroups.com

 Sent: Tuesday, February 02, 2010 1:42 PM  Subject: Re: [symfony-users] No
Propel in Available Ta...

-- You received this message because you are subscribed to the Google Groups
symfony users group...

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: No Propel in Available Tasks: upgrade from Symfony 1.1 to 1.2/1.3

2010-02-02 Thread Alexandru-Emil Lupu
existing project is pretty hard to change ... you would need to get into
existing actions and check if they are using criteria ...  custom propel
classes and some other things :)


On Wed, Feb 3, 2010 at 1:18 AM, Rebecca Bielecki max...@gmail.com wrote:

 Have found where to use orm parameter.  Will try to generate new project
 and then port my existing project to the new project.

 Thanks for your help.


 - Original Message - From: PachinSV pachi...@gmail.com
 To: symfony users symfony-users@googlegroups.com
 Sent: Tuesday, February 02, 2010 9:27 PM
 Subject: [symfony-users] Re: No Propel in Available Tasks: upgrade from
 Symfony 1.1 to 1.2/1.3


 Creo que el problema es que symfony 1.3 y 1.4 usa Doctrine como
 default, Ej.: Cuando creas un nuevo proyecto tienes que usar el
 parametro --orm=Propel (si quieres ocupar Propel, de otra manera el
 proyecto usará Doctrine), espero sea de tu ayuda, saludos!


 -

 I think the problem would be that symfony 1.3 and 1.4 uses Doctrine as
 default. e.g: when you create a new project you have to use the
 paramter --orm=Propel (if you want to use Propel, otherwise the
 project will use Doctrine). I hope this help you, best regards!

 On 31 ene, 16:52, maxxyb max...@gmail.com wrote:

 Hi

 I am trying to upgrade my Symfony project and am having problems with
 the Propel portion of the upgrade. For some reason I can see no
 Propel tasks in the Available Tasks list when I used the command
 symfony list.

 Can anyone tell me what I may be doing wrong?

 I have tried to upgrade to both 1.2 and to 1.3 with the same result.


 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] UNABLE TO SUMMIT JAMB REGISTRATION PAGE OF THIS URL;http://www.jambutme.com/jambreg/saveReg

2010-02-01 Thread Alexandru-Emil Lupu
Try to switch to dev env an see the problem in that page.

sent via htc magic

On Feb 1, 2010 5:40 PM, segun oluwase...@gmail.com wrote:

The server returned a 500 Internal Server Error. WHEN I TRY TO
SUMMIT A FILLED FROM THE ADDRESS BELOW.
HOPE YOU will fix it as soon as possible.

--
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.comsymfony-users%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Simple routing not woking well

2010-02-01 Thread Alexandru-Emil Lupu
No echo of the url directive

sent via htc magic

On Feb 1, 2010 5:40 PM, HiDDeN davidmoralesmoj...@gmail.com wrote:

Hello. I have defined this homepage route in my routing.yml :

homepage:
 url:   /
 param: { module: home, action: index }

I have defined the logo in my site to be pointing to that route this
way:

a href=?php url_for('@homepage') ?img id=logo src=http://
www.example.com/images/logo.jpg //a

When I'm in any page, for example in the contact page, I place the
mouse cursor over the logo, and it points to the current page (in this
case, to http://www.example.com/contact).

Why isn't it pointing to the homepage?

--
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.comsymfony-users%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] No Propel in Available Tasks: upgrade from Symfony 1.1 to 1.2/1.3

2010-02-01 Thread Alexandru-Emil Lupu
in your ProjectConfiguration.class.php add this:

$this-enablePlugins(array('sfPropelPlugin'));

and after that clear your cache.
try again and see if the propel is there... if not, paste here your
ProjectConfiguration.class.php

On Tue, Feb 2, 2010 at 4:41 AM, Rebecca Bielecki max...@gmail.com wrote:

  And the only plugins that appear in my project_autoload.cache file are:


 \PEAR\symfony\plugins\sfCompat10Plugin/lib;i:1;s:69:C:\wamp\bin\php\php5.2.5\PEAR\symfony\plugins\sfProtoculousPlugin/lib;}i:2;a:0:{}}

 - Original Message -
 *From:* Andrei Dziahel trickster...@gmail.com
 *To:* symfony-users@googlegroups.com
 *Sent:* Tuesday, February 02, 2010 12:21 AM
 *Subject:* Re: [symfony-users] No Propel in Available Tasks: upgrade from
 Symfony 1.1 to 1.2/1.3

 Hi.

 Enable sfPropelPlugin in ProjectConfiguration.class.php.

 2010/2/1 maxxyb max...@gmail.com

 Hi

 I am trying to upgrade my Symfony project and am having problems with
 the Propel portion of the upgrade.  For some reason I can see no
 Propel tasks in the Available Tasks list when I used the command
 symfony list.

 Can anyone tell me what I may be doing wrong?

 I have tried to upgrade to both 1.2 and to 1.3 with the same result.

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




 --
 With the best regards, Andrei.

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.

  --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Problems while trying to create a new project and using --installer option

2010-02-01 Thread Alexandru-Emil Lupu
Make sure you provide the full path (/var/www/), and after that, make
sure that installer is readable by the php cli

On Tue, Feb 2, 2010 at 2:34 AM, ReynierPM rper...@uci.cu wrote:

 On 1/25/2010 12:59 PM, Eno wrote:


 Have you tried using an absolute path?


 Hi Eno:
 I move my development enviroment to a dedicated Linux server. So I try this
 3 commands:

 1)
 r...@ep-reynier:/var/www/sfwebacula# symfony generate:project
 --installer=./installer.php sfwebacula ReynierPM


 The installer ./installer.php does not exist.

 2)
 r...@ep-reynier:/var/www/sfwebacula# symfony generate:project
 --installer=installer.php sfwebacula ReynierPM


 The installer installer.php does not exist.

 3)
 r...@ep-reynier:/var/www/sfwebacula# symfony generate:project
 --installer=/var/www/sfwebacula/installer.php sfwebacula ReynierPM

 The installer /var/www/sfwebacula/installer.php does not exist.

 And none of them works. What I'm doing wrong at this point?

 --
 Cheers
 ReynierPM


 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] What do you use symphony for?

2010-01-31 Thread Alexandru-Emil Lupu
Would you publish your report ?
Mabye some others might need some parts of the report convince their
management to switch to symfony.
Also some others might be able to know what is symfony used for.  :)
Alecs

On Sun, Jan 31, 2010 at 9:15 PM, Ravi Undupitiya
ravi.undupit...@gmail.comwrote:

 Thanks for the replies and helping me out with my report. Yes, symFony. I
 keep doing that.



 Best,
 Ravi


 On Sun, Jan 31, 2010 at 8:26 AM, Eno symb...@gmail.com wrote:

 On Tue, 26 Jan 2010, raviu wrote:

  Could you tell us what you use symphony for

 BTW, that should be symfony not symphony  :-)



 --


 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.


  --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] What do you use symphony for?

2010-01-31 Thread Alexandru-Emil Lupu
i use symfony for:

personal website,
a email / sms marketing platform.


On Sun, Jan 31, 2010 at 10:44 PM, David Wang dw...@udfi.biz wrote:

 I use symfony for my user generated reminder system JennieBot.  check it
 out at http://www.jenniebot.com.

 [ i know, selfless promo... you asked for it :) ]

 ..oO  David Wang  Oo..
 ..oO  blog  - http://www.udfi.biz
 ..oO  JennieBot!  - http://www.jenniebot.com


 On Jan 31, 2010, at 3:32 PM, Alexandru-Emil Lupu wrote:

 Would you publish your report ?
 Mabye some others might need some parts of the report convince their
 management to switch to symfony.
 Also some others might be able to know what is symfony used for.  :)
 Alecs

 On Sun, Jan 31, 2010 at 9:15 PM, Ravi Undupitiya 
 ravi.undupit...@gmail.com wrote:

 Thanks for the replies and helping me out with my report. Yes, symFony. I
 keep doing that.



 Best,
 Ravi


 On Sun, Jan 31, 2010 at 8:26 AM, Eno symb...@gmail.com wrote:

 On Tue, 26 Jan 2010, raviu wrote:

  Could you tell us what you use symphony for

 BTW, that should be symfony not symphony  :-)



 --


 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.



 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




 --
 Have a nice day!
 Alecs

 As programmers create bigger  better idiot proof programs, so the universe
 creates bigger  better idiots!
 I am on web:  http://www.alecslupu.ro/
 I am on twitter: http://twitter.com/alecslupu
 I am on linkedIn: http://www.linkedin.com/in/alecslupu
 Tel: (+4)0722 621 280


 --
 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 options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




  --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Alexandru-Emil Lupu
Via svn doc or there i think is a book A pdf..

sent via htc magic

On Jan 26, 2010 12:01 PM, Pau Peris sibok1...@gmail.com wrote:

Hi to all,

does anyone know where can i download day by day code for Symfony Guide?

http://www.symfony-project.org/jobeet/1_4/Doctrine/en/


thanks

--
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.comsymfony-users%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Download day by day code for symfony guide

2010-01-26 Thread Alexandru-Emil Lupu
Here it is ...

http://svn.symfony-project.org/doc/branches/1.4/jobeet/en/

On Tue, Jan 26, 2010 at 12:06 PM, Gábor Fási maerl...@gmail.com wrote:
 http://svn.jobeet.org/doctrine/tags/

 This is the 1.2 version, according to `svn log` it hasn't been updated for 
 1.4.

 On Tue, Jan 26, 2010 at 11:01, Pau Peris sibok1...@gmail.com wrote:
 Hi to all,

 does anyone know where can i download day by day code for Symfony Guide?

 http://www.symfony-project.org/jobeet/1_4/Doctrine/en/


 thanks

 --
 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 options, visit this group at 
 http://groups.google.com/group/symfony-users?hl=en.



 --
 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 options, visit this group at 
 http://groups.google.com/group/symfony-users?hl=en.





-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the
universe creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4

2010-01-25 Thread Alexandru-Emil Lupu
Hi all,
I am totally agree with Fabien, but i would like to add some
completion on what Fabien said.
Is true.. i still feel that something has not been said. Even that is
a lot of documentation available, and there is one nice tutorial
(Jobeet) which is available for sf 1.3 and 1.4, the people still
asking (on the list or on IRC) different things that are already in
the documentation, and from here i can conclude just one thing: not
all the people is reading the documentation before start asking around
different things.
I am not saying that the all documentation should be neglected, but i
would suggest more than that. The members to help the core team more
than they are doing it now.
For example, there are around 1600 opened tickets to various symfony
versions that are expecting a resolution from the core team. Of
course, as Fabien pointed ... the day has only 24 hours ... If it
would have 48, we would complaining the same situation.

I know that writing this i might steal this topic, but, if we all
would help a little bit by fixing the tickets there would give us an
insight of the symfony core, and might help us to understand better
some of the symfony parts.

If you cannot fix (as in i do know 0 symfony), you could help other
fix them by point them and also maybe providing functional / unit
tests to replicate the issue / or provide patches for documentation
typo and other small stuff.

having a little number of tickets opened, symfony core may focus on
the new version.

Another way of helping, might be trying to do (a) my first symfony
project , in which you can try provide the team and others users any
problems encountered while you have developed the application. Making
this, would help sfCore to see what else should be specified in the
documentation.

This way, (any of) you give back something to symfony framework.

If Fabien wants and allows me, i could try to restart the
1Day1Ticket project, but for that i would need some users that are
willing to help.

Regards,
Alecs

On Mon, Jan 25, 2010 at 4:22 PM, Fabien Potencier
fabien.potenc...@symfony-project.com wrote:
 Hi all,

 I'm listening... but I needed some time to think about the topic a bit more
 before answering. Here are my thoughts.

 But before I start ranting about the definitive guide, remember that all
 the work done on symfony is benevolent. It's true for my work, but also for
 the work of the many volunteers that help build the symfony community (all
 the core team members, the translators, the great people answering questions
 on the mailing-list, forum and IRC, people using symfony and spreading the
 word about it in their companies, people blogging or tweeting about it, and
 many more). But as days are only made of 24 hours unfortunately, we need
 even more help.

 Please, read ALL the information contained in this email BEFORE replying ;)

 The symfony core team, some great authors, and the translation teams spent a
 lot of time writing and translating documentation for the latest versions of
 symfony. And as a matter of fact, the symfony 1.3/1.4 versions are probably
 the most documented versions of symfony, ever.

 Want to get started with symfony? read the Getting started guide.

 Want to learn symfony step by step? read the Practical symfony book.

 Want to find everything about configuring symfony? Browse the Reference
 guide book.

 Want to learn what changed in the recent versions? Read the What's new?
 and How to upgrade tutorials.

 That's already a lot of documentation for beginners and advanced users.

 If you have a closer look, almost all the information found in the
 Definitive guide is available in one form or another in another piece of
 documentation I've just mentioned.

 But people keep asking me about the definitive guide. I don't really
 understand why, perhaps because of the title, or because it was the first
 available book. I really don't know... (ok, I'm lying a bit here)

 That said, I hear the complaints. And so, last week-end, I have re-read the
 definitive guide cover to cover.

 From my point of view, here are the main pros of the definitive guide book:

  * More time is spent describing the philosophy of the framework in the
 first two chapters (introduction to the MVC model, ...).

  * Each feature has its own chapter or section in the book. Looking for a
 specific feature documentation is easier (in Practical symfony for instance,
 it's more difficult to find things are they are described in the context of
 an application creation).

 and the main cons:

  * Difficult to learn symfony with the definitive guide as there is not a
 single example described from start to finish - only snippets of code are
 shown (the Practical symfony book is better in that respect).

  * Slightly outdated best practices (the Ajax chapter for instance, globally
 installing symfony with PEAR, and many other small things): the web evolves
 fast and things that were true four years ago are not true anymore nowadays.

  * Far 

Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4

2010-01-25 Thread Alexandru-Emil Lupu
About i have told a little bit earlier, i already have started to try
select some tickets that needs to be checked or are a little bit
simple.

Unfortunately, even i would want to help (which i did in the past), i
cannot due to a thight shedule and a second job.
I will try however to select some tickets that are from plugins made
by the sf Team or core that a little bit easy, and i will try to make
a new thread and see if anyone id bidding for. This might help you and
your team focus on SF 2.

Alecs

On Mon, Jan 25, 2010 at 5:28 PM, Fabien Potencier
fabien.potenc...@symfony-project.com wrote:

 On 1/25/10 4:18 PM, Alexandru-Emil Lupu wrote:

 If Fabien wants and allows me, i could try to restart the
 1Day1Ticket project, but for that i would need some users that are
 willing to help.

 I think that there is no need for a 1Day1Ticket initiative to start helping.
 Asking people to fix 1 ticket a day is bound to fail. I would rather prefer
 to have a large number of people helping from time to time, the best they
 can.

 Let's take one simple example, related to the Definitive guide: there is a
 ticket (somewhere) that ask for the screenshots that illustrate the
 definitive guide to be updated (for new symfony versions and to have images
 in color). That's something very easy to do, for anyone willing to help. And
 it provides great value to the book. Sure, it takes a lot of time, but
 that's a good starting point if you want to help us improve symfony.

 Fabien

 --
 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 options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.





-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the
universe creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] symfony tickets to be patched

2010-01-25 Thread Alexandru-Emil Lupu
Here are some tickets i have found that are quite easy to implement.
If you want to fix them, please let the list know what ticket are you
trying to fix in order not to have 2 patches for the same ticket.

After the patch upload, please let me know. I will try checking them
ASAP and come with further details (invalid patch / patch ok / ready
for the core team)

Feel free to check this link
http://trac.symfony-project.org/report/1?sort=ticketasc=1 , and let
us know if you are trying to fix another ticket.

Beginers:

http://trac.symfony-project.org/ticket/7941
http://trac.symfony-project.org/ticket/5380 -- doc update
http://trac.symfony-project.org/ticket/6608 -- an IE 8 printsceen is required
http://trac.symfony-project.org/ticket/6711 -- that box should be
deleted or the url changed from comment/list to comment. To be
investigated the step: 2
http://trac.symfony-project.org/ticket/7567 -- check  provide patch
for the README
http://trac.symfony-project.org/ticket/7718 -- there is a typo in the doc.
http://trac.symfony-project.org/ticket/8142 -- there is a typo in the doc.
http://trac.symfony-project.org/ticket/8149 -- there is a typo in the fr doc
http://trac.symfony-project.org/ticket/8107 -- there is a typo in the doc.
http://trac.symfony-project.org/ticket/8091 -- there is a typo in the doc.
http://trac.symfony-project.org/ticket/8073 -- there is a typo in the doc.
http://trac.symfony-project.org/ticket/8054 -- there is a typo in the doc.
http://trac.symfony-project.org/ticket/8045 -- there is a typo in the doc.
http://trac.symfony-project.org/ticket/8023 -- there is a typo in the doc.



Advanced:
http://trac.symfony-project.org/ticket/7925
http://trac.symfony-project.org/ticket/8110



To be analised:

http://trac.symfony-project.org/ticket/7968


-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the
universe creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] PROBLEM WITH SFJQUERYRELOADEDPLUGIN

2010-01-22 Thread Alexandru-Emil Lupu
If you are not experienced with javascript, i would suggest to put some ;
after the end of the upload and complete. This might be the source of
your problems.
Please do not feel unconfortable that i have take you hard on steps 1  2.
It is nothing personal.

First step it would be to remove that $ in your js code. try replace it
with jQuery
Try to make you code look like this:
 ?php echo jq_submit_to_remote('ajax_
submit', 'Save Details',
array('update' = 'seeker_form_div',
'url' = 'seeker/create',
'loading'  = Element.show('indicator');
jQuery('tag').value = ''; ,
'complete' =
Element.hide('indicator');.jq_visual_effect('highlight',
'seeker_form_div')
),
array('class' = 'button')) ?

also: try this:

'loading' = function(){Element.show('indicator'); jQuery('tag').value =
''; },
'complete' = function(){Element.hide('indicator');.
jq_visual_effect('highlight', 'seeker_form_div').}



if that is still not works, paste your html generated file to
www.pastebin.com with a time period of 1 month, and paste us the link.
me or other will take the intresting part and will include in this thread
for others to find it when they will need to fix a similar issue.

Alecs

On Fri, Jan 22, 2010 at 10:15 AM, Sorom Uzomah delsa...@yahoo.com wrote:

 Hi Alecs,

 Thanks a lot

1. Didnt intend to draw attention as such, just wrote the title in CAPs
2. I thought that by putting 2 issues in the initial post i made it a
bit clumsy so I tried to place just one
3. No problem
4. Okay
5. Like i commented in  the code, once I take out the 'loading' and
'complete' options the AJAX form works perfectly
6. I've gone through all the souce code and all.Its a lot thats y i
didnt post here.
7. I'm not good with javascript was trying to avoid learning it thats y
i stuck to the plugin but i just might have to
8. will install firebug
9. the form works without those options so i'm sure the jquery is
loading right.

 Thanks a lot!

 --
 *From:* Alexandru-Emil Lupu gang.al...@gmail.com
 *To:* symfony-users@googlegroups.com
 *Sent:* Thu, January 21, 2010 11:40:18 PM
 *Subject:* Re: [symfony-users] PROBLEM WITH SFJQUERYRELOADEDPLUGIN

 hi!
 1) Please do not use that CAPS - LOCK in the subject field. Unfortunatelly,
 it won't make you smarter, and will not attract the user to answer your
 question.
 2) do not post duplicate threads (2 threads containing same content). Most
 that you can do is to reply in that thread, with a s content like ping?
 anyone? etc. the duplicate posting will make it harder for others to find
 solutions to their problems.
 3) i haven't used that plugin and i cannot help you out.
 4) if you do not get any replyes, it might mean that noone has encounter
 this.

 5) your problem might be from here: url: ...//,
 6) view source of the page and see what / how is rendered // paste your
 piece of code where this is rendered
 7) make sure that you have all the ; in place ...
 8) to a better check / infestigation use firefox  firebug
 9) Make sure your jQuery is loaded form a correct location / it is loaded
 at all..

 Alecs

 On Thu, Jan 21, 2010 at 6:53 PM, Sorom Uzomah delsa...@yahoo.com wrote:

 Hello everyone,


 I'm  using the jqueryreloadedplugin and I want to submit the form by AJAX.
 It works but when I try to use an indicator to show when the form is being
 processed, so that the end user can tell that something is going on, it just
 doesn't seem to work any longer. Does anyone have sample code for this and
 are there any specific instructions like files i should put under the web
 directory etc?


 ---

  ?php echo jq_submit_to_remote('ajax_submit', 'Save Details',
 array('update' = 'seeker_form_div',
 'url' = 'seeker/create'//,
 //  'loading'  = Element.show('indicator');
 \$('tag').value = '',--- IF I UNCOMMENT THESE LINES, IT DOESN'T SEEM
 //  'complete' =
 Element.hide('indicator');.jq_visual_effect('highlight',
 'seeker_form_div')TO  WORK ANY LONGER
 ),
 array('class' = 'button')) ?


 ---

 I just want to give the end user some visual feed back while the form is
 processing! Thanks for all the help!!!

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.


 --
 You received this message because you

Re: [symfony-users] sfForm: can't save because of missing foreign key

2010-01-22 Thread Alexandru-Emil Lupu
check the sfFormExtraPlugin, especially the sfAutocompleterWidget (or
something like that)... it will give the answer...

On Fri, Jan 22, 2010 at 3:43 PM, EddieG ed...@umdiewelt.de wrote:

 Hi everybody,

 I have two tables...:
 - simpleTable (with attributes id and fk_veryFullTable)
 - veryFullTable (with attributes id and URL)
 ... where simpleTable has a foreign key to veryFullTable.

 And I want to use an admin generator form to add an entry to my
 simpleTable. In the default setting I get a form with a drop down
 field including a million entries from the veryFullTable. Which would
 be just very stupid ;-)

 The better way: I supply a sfWidgetFormInput() called urlAsString. And
 with a custom sfValidator I check, that it is an existing url. Works
 like charme.

 But how to I get my form to use the correct foreign key instead of the
 given URL? I don't know which would be the right way of altering the
 form data in that way!

 I really appreciate your help,
 Eddie

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: No content

2010-01-22 Thread Alexandru-Emil Lupu
run 2 things:

symfony project:permissions
symfony cc


i don't know other method.. maybe to reinstall symfony in
lib/vendor/symfony 

A.

On Fri, Jan 22, 2010 at 3:30 PM, Pax95 piotre...@gmail.com wrote:

 I haven't installed Symfony project with tutorials on official site. I
 just downloaded sandbox, created app - palmgames, copied palmgames.php
 to the same directory but with name index.php and added simple content
 (not using Models, so Doctrine too). Maybe I have forgotten to change
 chmods? Errors:

 Warning: require_once(/home/pax/domains/pax.ayz.pl/lib/vendor/symfony/
 lib/plugins/sfDoctrinePlugin/config/../lib/debug/http://pax.ayz.pl/lib/vendor/symfony/%0Alib/plugins/sfDoctrinePlugin/config/../lib/debug/
 sfWebDebugPanelDoctrine.class.php) [function.require-once]: failed to
 open stream: No such file or directory in /home/pax/domains/pax.ayz.pl/
 lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/config/http://pax.ayz.pl/%0Alib/vendor/symfony/lib/plugins/sfDoctrinePlugin/config/
 sfDoctrinePluginConfiguration.class.php on line 35

 Fatal error: require_once() [function.require]: Failed opening
 required '/home/pax/domains/pax.ayz.pl/lib/vendor/symfony/lib/plugins/
 sfDoctrinePlugin/config/../lib/debug/http://pax.ayz.pl/lib/vendor/symfony/lib/plugins/%0AsfDoctrinePlugin/config/../lib/debug/
 sfWebDebugPanelDoctrine.class.php' (include_path='.:/usr/local/lib/
 php') in /home/pax/domains/pax.ayz.pl/lib/vendor/symfony/lib/plugins/
 sfDoctrinePlugin/config/sfDoctrinePluginConfiguration.class.phphttp://pax.ayz.pl/lib/vendor/symfony/lib/plugins/%0AsfDoctrinePlugin/config/sfDoctrinePluginConfiguration.class.phpon
 line 35

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] problems with the built-in SwiftMailer when multiple SMTP servers are needed

2010-01-22 Thread Alexandru-Emil Lupu
maybe try to make using object inheritance ... dunno :)

i have replaced the default routing system using inheritance... Now i have
routing.yml in each one of my modules/config/ directory ... clean for me ...
irrelevant for the application :)

On Thu, Jan 21, 2010 at 3:58 PM, i70013 i70013 i70...@gmail.com wrote:

 using
 symfony version 1.4.2-DEV
 Propel for database access


 I am writing a site that manages my personal data.
 On the site, I need to send emails from different accounts.

 ex.
 1.  a...@dfg.local
 2.  h...@klm.local
 3.  n...@qrs.local
 *emails are different from one to another. even the domain name.

 When I looked at factories.yml and also
 http://www.symfony-project.org/jobeet/1_4/Doctrine/en/, I couldn't figure
 out how to set up multiple transports (SMTP server info.)

 I searched this group and found a thread below

 http://groups.google.com/group/symfony-users/browse_thread/thread/9308ce66846ebb87/1d02184b3fdddf7c?hl=enlnk=gstq=multiple+swift#1d02184b3fdddf7c

 so I think at this point, there is no way to use factories.yml to set up
 multiple SMTP accounts and choose an appropriate Mailer (ex.
 $this-getMailer() in an Action class) to send messages from.

 my requirements
 1. I need to configure SMTP transport for numbers of different SMTP servers
 to send messages from an appropriate sender.
 2. I need to be able to spool the messages

 To solve the problem, I don't think the symfony's built-in SwiftMailer is
 not the choice.
 I think I will need to create my own set by using the original
 SwiftMailer.   Along with that, I am thinking to override Swift_PropelSpool
 or Swift_ConfigurableSpool to build my own email spooler, but if there is
 anyone who had the same problem and has already built something to
 accomplish, I would like to know the smart ways to archive it, and possibly
 avoid the reinvent the wheel dilemma.

 Thanks



 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Complex conditional validation, symfony 1.3/4

2010-01-22 Thread Alexandru-Emil Lupu
maybe ... dunno

$this_is_your_form_instance-setPostValidators(new yourCustomValidator());

On Thu, Jan 21, 2010 at 1:25 PM, johnnygri john.grim...@gmail.com wrote:

 Hi there,

 I have a rather complicated form of 50+ fields. The value of one of
 the first fields dictates whether validation should be performed on
 approximately half of the fields or not. These fields all need to be
 validated using native Symfony validators. As directed by the
 documentation I suspected that this is a time for a post-validator.

 However, it isn't clear to me how I go about using native Symfony
 validators within a post-validator, infact I'm pretty sure it won't
 work having run a simple test. I'm also wondering whether a custom
 validator schema might be the answer, but I can't quite see how (I've
 read the advanced forms page).

 The solution I've arrived at is a custom bind() method that calls a
 configureValidation() method, passing it the $taintedValues array.
 This configureValidation() method then defines the validators
 according to the submitted data and it works nicely.

 My main question is, would you regard this solution as a bit hacky -
 could there be a more elegant way of doing this?

 Thanks
 John

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.






-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] PROBLEM WITH SFJQUERYRELOADEDPLUGIN

2010-01-21 Thread Alexandru-Emil Lupu
hi!
1) Please do not use that CAPS - LOCK in the subject field. Unfortunatelly,
it won't make you smarter, and will not attract the user to answer your
question.
2) do not post duplicate threads (2 threads containing same content). Most
that you can do is to reply in that thread, with a s content like ping?
anyone? etc. the duplicate posting will make it harder for others to find
solutions to their problems.
3) i haven't used that plugin and i cannot help you out.
4) if you do not get any replyes, it might mean that noone has encounter
this.

5) your problem might be from here: url: ...//,
6) view source of the page and see what / how is rendered // paste your
piece of code where this is rendered
7) make sure that you have all the ; in place ...
8) to a better check / infestigation use firefox  firebug
9) Make sure your jQuery is loaded form a correct location / it is loaded at
all..

Alecs

On Thu, Jan 21, 2010 at 6:53 PM, Sorom Uzomah delsa...@yahoo.com wrote:

 Hello everyone,


 I'm  using the jqueryreloadedplugin and I want to submit the form by AJAX.
 It works but when I try to use an indicator to show when the form is being
 processed, so that the end user can tell that something is going on, it just
 doesn't seem to work any longer. Does anyone have sample code for this and
 are there any specific instructions like files i should put under the web
 directory etc?


 ---

  ?php echo jq_submit_to_remote('ajax_submit', 'Save Details',
 array('update' = 'seeker_form_div',
 'url' = 'seeker/create'//,
 //  'loading'  = Element.show('indicator');
 \$('tag').value = '',--- IF I UNCOMMENT THESE LINES, IT DOESN'T SEEM
 //  'complete' =
 Element.hide('indicator');.jq_visual_effect('highlight',
 'seeker_form_div')TO  WORK ANY LONGER
 ),
 array('class' = 'button')) ?


 ---

 I just want to give the end user some visual feed back while the form is
 processing! Thanks for all the help!!!

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.


 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 612 280

-- 
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 options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] URGENT: default_messages translation

2010-01-19 Thread Alexandru-Emil Lupu
I think that you could use that plugin of mine, and in the view use
something like:

?php foreach($form['field']-getError() as $error):?
?php echo __($error);?
?php endforeach;?

Alecs

On Tue, Jan 19, 2010 at 3:40 PM, diogobaeder diogobae...@gmail.com wrote:

 Hi, guys,

 I've posted this one:

 http://groups.google.com/group/symfony-users/browse_thread/thread/5432958e71a54747/76035d6987e00ad8?lnk=gstq=diogobaeder#76035d6987e00ad8

 But I haven't found a solution, yet. The problem is, I have to deliver
 the website for my client, and he's complaining that part of the
 interface is still in English.

 What do you recommend me to do? Create Symfony patches in order to
 give support for these changes? Or is there a way to translate it,
 already?

 Thanks!

 --
 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.






-- 
Have a nice day!
Alecs

As programmers create bigger  better idiot proof programs, so the universe
creates bigger  better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 612 280
-- 

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 options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: Errors following symfony 1.4 guide, is it error free?

2010-01-17 Thread Alexandru-Emil Lupu
Where have you inserted the include_stylesheets in your layout?
Try to move the function call right before your /body

sent via htc magic

On Jan 17, 2010 11:39 PM, Pau Peris sibok1...@gmail.com wrote:

What about css bug? I'm still searching for the guide error which
makes job module from jobeet project loose its look.

2010/1/17 Pau Peris sibok1...@gmail.com:  Guide is erroneous. jobeet_jobs
should be jobeet_job_l...

--
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.comsymfony-users%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.
-- 

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 options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



  1   2   3   4   >