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

2010-05-10 Thread Pau Peris
I still have the same issue. 2010/5/4 pghoratiu pghora...@gmail.com: Try deleting the lib/vendor/symfony directory and doing a svn up afterwards.    gabriel On May 4, 11:17 pm, Pau Peris sibok1...@gmail.com wrote: Hi to all an thanks for the answers, but i still have the same issue.   svn

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

2010-05-10 Thread Pau Peris
lib/vendor/symfony should be a svn checkout or a tar.gz download? 2010/5/10 Pau Peris sibok1...@gmail.com: I still have the same issue. 2010/5/4 pghoratiu pghora...@gmail.com: Try deleting the lib/vendor/symfony directory and doing a svn up afterwards.    gabriel On May 4, 11:17 pm, Pau

[symfony-users] Question about filter forms: search for exact words

2010-05-10 Thread Javier Garcia
Hi, i'm using in the frontend a filter form class generated (MemberFormFilter) that filters names, but for example if i write Mar the members called Mary are showed, i dont want that, i just want to show the members called Mar, what shoud i do? I checked sfWidgetFormFilterInput documentation

[symfony-users] Tempfiles in cache folder?

2010-05-10 Thread habi
Hi, I'm using Windows on some production machines. Since the update of one SF-Project to 1.3.x we notice some strange problems. We are collecting Temp-Files in the config-cache folder of the applications. They are named like con1718.tmp and always containing the autoload-config-cache. The

Re: [symfony-users] Re: AJAX integration

2010-05-10 Thread Alessandro Massignan
Hi Rooster, Are you using Firebug to check the response? You will probably see that javascript_helper is undefined since you are calling it in your action without explicitly loading it. I don't use Firebug, but this morning I choose the jQuery way and it seems to work very well :-) Thanks

[symfony-users] Doctrine versionable on whole project

2010-05-10 Thread Tom Haskins-Vaughan
Hi all, I would like to use some kind of versioning over a complete schema rather than a single table. I'd like to to something like the Doctrine Versionable behaviour, but using a global revision number instead, similar to subversion. Has anyone done anything like this? Thanks, Tom -- If

[symfony-users] Re: Question about filter forms: search for exact words

2010-05-10 Thread Tom Ptacnik
Create your own addXXXColumnQuery .. where XXX is your column name in your MemberFormFilter class. something like: public function addNameColumnQuery($query, $field, $value) { $fieldName = $this-getFieldName($field); if (!empty($value)) {

[symfony-users] How to do redirect with POST method (for sending parameters)

2010-05-10 Thread Dong YANG
Hello Guys, I want to use redirect to call an external page with parameters. For example, user filled and submit the form with two field: name and password. And then in my action, which treats this form, i want to call redirect with these two fields. For doing this, I

[symfony-users] Re: Question about choice widget

2010-05-10 Thread Javier Garcia
On Mar 29, 3:09 pm, Massimiliano Arione garak...@gmail.com wrote: You jsut need to customize your css, forcing your li's as inline. No need to modify your template or your formatter. I'd like to force the li's as inline as you say, but the generated li's don't have the 'id' attribute defined.

Re: [symfony-users] How to do redirect with POST method (for sending parameters)

2010-05-10 Thread Eno
On Mon, 10 May 2010, Dong YANG wrote: if i called simply redirect without code 307, it won't work because nothing send to new page. But with 307, some browser like firefox, it will display an alert before redirecting, it is annoying. That's because according to the HTTP spec, when you

[symfony-users] Re: sfDoctrineGuardUser custom LDAP authenication funkyness

2010-05-10 Thread webdev_aw_ucsb
hi -- yup, I ended up doing this and it resolved my redirection problem when logging in. Thank you for the follow up. -dg On May 8, 11:52 pm, Sela Yair tzi...@gmail.com wrote: this is app.yml in /config not app.yml in /apps/xxx why does it redirects to backend? i had similar problem, but i

[symfony-users] excel

2010-05-10 Thread safa boubekri
hello every body how to import and export file excel please help me i will be grateful 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] Doctrine won't load 3-level heirarchy as data fixture

2010-05-10 Thread grahamj42
I'm trying to build a simple app to help me learn Symphony. I have a Parent-Child-Grandchild set of objects. The model builds correctly and the tables are created with the appropriate foreign key constraints. If my data fixture contains just Parent and Child instances, the data load correctly.

[symfony-users] Appending string to sfDoctrineRoute path

2010-05-10 Thread Phil Moorhouse
Is it possible to append a string to the end of a URL when using sfDoctrineRoute? i.e. where some-band-name is the slug I'd like /artist/some-band-name-tickets here's my current routing: artist_show: url: /artist/:slug class: sfDoctrineRoute param: { module: artist, action:

Re: [symfony-users] Doctrine won't load 3-level heirarchy as data fixture

2010-05-10 Thread Tom Haskins-Vaughan
Can you show us your code? On Mon, May 10, 2010 at 10:51 AM, grahamj42 graham...@orange.fr wrote: I'm trying to build a simple app to help me learn Symphony. I have a Parent-Child-Grandchild set of objects. The model builds correctly and the tables are created with the appropriate foreign key

Re: [symfony-users] How to do redirect with POST method (for sending parameters)

2010-05-10 Thread Dong YANG
Hello Eno, Yes, exact. That's why I think that it is not a good solution, because i want to make the redirect transparent to user. Regards, JoJo 2010/5/10 Eno symb...@gmail.com On Mon, 10 May 2010, Dong YANG wrote: if i called simply redirect without code 307, it

[symfony-users] sfErrorHandlerPlugin doesn't catch call to a member function on a non-object errors

2010-05-10 Thread nurikabe
e.g.: sfErrorHandlerPlugin can't seem to trap errors like: Fatal error: Call to a member function xyz() on a non-object in file.php on line ## Is that to be expected, or is this possibly a limitation of the older version of Symfony we are using (1.0.3)? Thanks -- If you want to report a

[symfony-users] Do doctrine record event listeners use transactions

2010-05-10 Thread Tom Haskins-Vaughan
Hi all, Having read the chapter in More with symfony 1.3 1.4 on Doctrine Behaviours: http://www.symfony-project.org/more-with-symfony/1_4/en/08-Advanced-Doctrine-Usage I just have a quick question. When you use the doctrine event listeners, are the resulting inserts/updates wrapped in a

[symfony-users] Using $this-widgetSchema-setFormFormatterName('list')

2010-05-10 Thread Javier Garcia
Hi, im using $this-widgetSchema-setFormFormatterName('list'); this way below to render my form as a list but it is still a table. Any idea? public function configure() { parent::configure(); $this-widgetSchema-setFormFormatterName('list'); } } Any idea? Javi

[symfony-users] Doctrine insert instead of replace

2010-05-10 Thread Sela
i develop on a Mac with MAMP and deployed my app to ubuntu server with the deployment tool of symfony. there's something quite weird happening, form is insert new row on the linux when on MAMP i get an error it violates the constraint. it all happens when i refresh the page before clicking on the

[symfony-users] how to loop through nested set categories with related data

2010-05-10 Thread el-sid
hello, i have this problem with looping through my query. my yaml is like so Category: actAs: NestedSet: hasManyRoots: true rootColumnName: root_id columns: name: { type: string(255), notnull: true, unique: true } Product: columns: category_id: { type: integer,

[symfony-users] Re: Doctrine insert instead of replace

2010-05-10 Thread Sela
i think i found the problem, so plz don't answer i'll write my findings a bit later. On May 11, 1:23 am, Sela tzi...@gmail.com wrote: i develop on a Mac with MAMP and deployed my app to ubuntu server with the deployment tool of symfony. there's something quite weird happening, form is insert

[symfony-users] svn: Can't move '.svn/tmp/entries' to '.svn/entries': File exists

2010-05-10 Thread Matt
I perform the following command on the CLI (CentOS): $ svn checkout http://svn.symfony-project.com/branches/1.4/ This is in a fresh, brand new, never existed before lib/vendor directory. Here is what I get: svn: Can't move '1.4/.svn/tmp/entries' to '1.4/.svn/entries': File exists I would like

[symfony-users] Search field problem

2010-05-10 Thread Greg Blackett
Dear users, I am experience an issue with a search field. Whenever an '.' is place in the search field, I am sent the 404 page. Any other type of symbols no problem. Here's the code for the search field: input type=text size=25 id=company value=?php echo isset($Company) ? $Company : '' ? Any

[symfony-users] $this-redirect vs $this-forward

2010-05-10 Thread Parijat Kalia
Hey wasssup everyone, SO apparently redirect and forward carry out similar tasks, which is to redirect to the user to another page from the current page. What according to ya'all is the difference between the redirect and the forward commands. More specifically, I am making use of

Re: [symfony-users] excel

2010-05-10 Thread Julian
Hi in symfony not but you can try with a lib in php is easy to implement http://code.google.com/p/php-excel/ 2010/5/10 safa boubekri boubekri.s...@gmail.com hello every body how to import and export file excel please help me i will be grateful thank you -- If you want to report

Re: [symfony-users] excel

2010-05-10 Thread ReynierPM
There is a SF extension called sfPHPExcel wich is a wrapper for PHP Excel give a try and tell us back how going Cheers On 10 May 2010 20:32, Julian julian.reyes.escri...@gmail.com wrote: Hi in symfony not but you can try with a lib in php is easy to implement http://code.google.com/p/php-excel/

[symfony-users] Re: $this-redirect vs $this-forward

2010-05-10 Thread Casey
Redirect is a real http redirect that results in another request. Forward, just executes a different symfony action in the same request and shows the view for the forwarded action with original url that was requested. HTH, Casey On May 10, 5:54 pm, Parijat Kalia kaliapari...@gmail.com wrote:

Re: [symfony-users] $this-redirect vs $this-forward

2010-05-10 Thread Julian
redirect in this case is the better choice 2010/5/11 Parijat Kalia kaliapari...@gmail.com Hey wasssup everyone, SO apparently redirect and forward carry out similar tasks, which is to redirect to the user to another page from the current page. What according to ya'all is the difference

[symfony-users] Good links to pagination

2010-05-10 Thread Parijat Kalia
Hey guys, I am using this pagination link http://www.symfony-project.org/cookbook/1_0/en/pager not sure if it is appropriate, since it is for 1.0, and since I am using 1.2.9, and there are no links for that version on pagination. If anybody has implemented pagination before(I am sure a lot of

Re: [symfony-users] Best practice with layout and dynamic content

2010-05-10 Thread Eno
On Sun, 9 May 2010, iNfLuX wrote: I am very new to symfony and it seems that I really like it. Just wondering what is the best practice to contain a common dynamic content in the layout. e.g. Administrator can always add new pages to the website and this pages should be listed on each and

Re: [symfony-users] Good links to pagination

2010-05-10 Thread Eno
On Mon, 10 May 2010, Parijat Kalia wrote: I am using this pagination link http://www.symfony-project.org/cookbook/1_0/en/pager not sure if it is appropriate, since it is for 1.0, and since I am using 1.2.9, and there are no links for that version on pagination. If anybody has implemented

[symfony-users] Alternate layout and a tables doubt (2 doubts in one mail!)

2010-05-10 Thread Parijat Kalia
Hey everyone, Doubt 1: Symfony layout So typically, if you need an alternate layout for a page, you simply go into the view.yml and specify which pages have an alternate layout page. What if I need to specify another layout for all pages in a single module? I don't wanna have to specify the

Re: [symfony-users] Alternate layout and a tables doubt (2 doubts in one mail!)

2010-05-10 Thread Eno
On Mon, 10 May 2010, Parijat Kalia wrote: Hey everyone, Doubt 1: Symfony layout So typically, if you need an alternate layout for a page, you simply go into the view.yml and specify which pages have an alternate layout page. What if I need to specify another layout for all pages in a

Re: [symfony-users] $this-redirect vs $this-forward

2010-05-10 Thread Eno
On Mon, 10 May 2010, Parijat Kalia wrote: SO apparently redirect and forward carry out similar tasks, which is to redirect to the user to another page from the current page. What according to ya'all is the difference between the redirect and the forward commands.

[symfony-users] Re: excel

2010-05-10 Thread Richtermeister
Not sure if that's the same lib, but I've been using http://phpexcel.codeplex.com . Very mature easy to use well documented. Daniel On May 10, 6:06 pm, ReynierPM reynie...@gmail.com wrote: There is a SF extension called sfPHPExcel wich is a wrapper for PHP Excel give a try and tell us back

[symfony-users] Re: sfErrorHandlerPlugin doesn't catch call to a member function on a non-object errors

2010-05-10 Thread Richtermeister
This is because the php engine shuts down completely when a fatal error is encountered. Symfony doesn't get to do anything after that point. What the error handler really handles are Exceptions, not fatal errors. Daniel On May 10, 10:14 am, nurikabe eaow...@gmail.com wrote: e.g.:  

Re: [symfony-users] Alternate layout and a tables doubt (2 doubts in one mail!)

2010-05-10 Thread Parijat Kalia
Thanks Eno! Any clue about the tables doubt? On Mon, May 10, 2010 at 8:58 PM, Eno symb...@gmail.com wrote: On Mon, 10 May 2010, Parijat Kalia wrote: Hey everyone, Doubt 1: Symfony layout So typically, if you need an alternate layout for a page, you simply go into the view.yml and