[symfony-users] Re: Images belonging to a modal box are not showed

2010-01-23 Thread tirengarfio
Sorry i was rush..Actually it doensn't work.. I have tried also with "/image.png" and "image.png" but it still doesnt work..Anyway inside the modal box is also showed the symfony toolbar even when im in the user enviroment (frontend.php).. Javi On Jan 23, 2:11 pm, Javier Garcia wrote: > Thanks

[symfony-users] Trying to operate sfLightboxPlugin 1.0.11

2010-01-16 Thread tirengarfio
Hi, i've just installed sfLightboxPlugin in sf 1.2.10 through: symfony plugin:install sfLightboxPlugin symfony plugin:publish-assets symfony cc Then i wrote this code (i copied it from sfLighboxplugin "Readme"): 'sfLightboxPlugin', 'size' => '550x200', 'speed' => '6' ); // or //$li

[symfony-users] Re: how can I check the name of module and action in layout ?

2010-01-14 Thread tirengarfio
Well put "$" before both.. On Jan 14, 8:55 pm, Javier Garcia wrote: > On 01/14/2010 08:51 PM, dziobacz wrote:> How can I check on the layout > current module and action which use this > > layout ? > > Hi  dziobac: > > sf_context->getModuleName() and sf_context-> getActionName() > > Javi -- You

[symfony-users] Re: MySQL error with a little filter

2010-01-12 Thread tirengarfio
te FROM birthday b WHERE b.testdate >= ? AND b.testdate <= ?', array('month' => '1', 'day' => '2', 'year' => '2014')) To the point: i still don't know how to solve this.. Javi On Jan 5, 2:40 pm, tirengarfio w

[symfony-users] Re: From link_to to m_link_to

2010-01-06 Thread tirengarfio
cript I think you are using (we used it > for a bit) bear in mind that it does rewrite the div id names for some of the > div's when it loads content. > > - Original Message - > From: "tirengarfio" > To: "symfony users" > Sent: Tuesday, Januar

[symfony-users] MySQL error with a little filter

2010-01-05 Thread tirengarfio
Hi, I have added this model and this fixture to my app: Birthday: columns: day: date Birthday: example: day: "2010-1-1" I have generated the Birthday module. Then I've generated the filter class (BirthdayFormFilter.class.php) and I have created a form filter object in executeIndex

[symfony-users] Re: From link_to to m_link_to

2010-01-05 Thread tirengarfio
Well, what i mean is just the image cropper doesn't work inside the modal window... Javi On Jan 5, 1:29 pm, tirengarfio wrote: > HI, > > I have a template with an image cropper like this: > > http://londatiga.net/tutorials/imagecrop/example.html > > Now i want to sho

[symfony-users] From link_to to m_link_to

2010-01-05 Thread tirengarfio
HI, I have a template with an image cropper like this: http://londatiga.net/tutorials/imagecrop/example.html Now i want to show this template in a modal window, so i just changed the helper to this template from link_to to m_link_to. After that, the modal window appears but the image cropper se

[symfony-users] Re: How and where should i add an external .js file?

2010-01-02 Thread tirengarfio
>   - Ken Griffey > > http://www.symfony-project.org/book/1_0/05-Configuring-Symfony > > Cheers, > > Before Printing, Think about Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > On Sat, Jan 2, 2010 at 5:45 PM, tire

[symfony-users] Re: How and where should i add an external .js file?

2010-01-02 Thread tirengarfio
/controls.js http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/slider.js but none of them works ok. Javi On Jan 2, 5:30 pm, Alexandru-Emil Lupu wrote: > It should work using a 2 spaces indentation. > > sent via htc magic > > On Jan 2, 2010 6:21 PM, "tirengarfio"

[symfony-users] Re: How and where should i add an external .js file?

2010-01-02 Thread tirengarfio
Anyway... Is there any way of adding .js files in view.yml in different lines ? I mean, if I don't write the URL's in the same line I get an error.. Javi On Jan 2, 5:07 pm, tirengarfio wrote: > Thanks Alexandru, never thought writing directly the URL in view.yml > would work..

[symfony-users] Re: How and where should i add an external .js file?

2010-01-02 Thread tirengarfio
an 2, 2010 4:15 PM, "tirengarfio" wrote: > > Hi, > > how and where should i add an external .js file? For example this: > > http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js > > Bye > > Javi > > -- > > You received this message because you

[symfony-users] How and where should i add an external .js file?

2010-01-02 Thread tirengarfio
Hi, how and where should i add an external .js file? For example this: http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js Bye 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

[symfony-users] Re: How to use Filter Forms without Admin Generator?

2009-12-30 Thread tirengarfio
By my self: buildQuery(). Javi On Dec 29, 1:53 pm, tirengarfio wrote: > In the first link i pasted in my post before there is this code: > > public function executeFiltrar(sfWebRequest $request) > { >   $this->filtro = new ClienteFormFilter(); >   // Build a criteria obje

[symfony-users] Re: How to use Filter Forms without Admin Generator?

2009-12-29 Thread tirengarfio
getParameter ('cliente_filters')); $this->clientes = ClientePeer::doSelect($criteria); $this->setTemplate('index'); } Is there anything equivalent to buildCriteria() in Doctrine? Javi On Dec 28, 9:18 pm, tirengarfio wrote: > hi, > > maybe these links can be i

[symfony-users] Re: Netbeans with symfony support: tasks without "sudo"

2009-12-28 Thread tirengarfio
name your symfony script in the project dir to symfony.real > > paste this to a new file called symfony > #!/bin/bash > > sudo symfony.real $@ > > that's about it. > > Warning this is not tested! This will not work in windows! > > regards, >   Nathan > >

[symfony-users] Re: Netbeans with symfony support: tasks without "sudo"

2009-12-28 Thread tirengarfio
ur own code? I think you > > should change the ownership of the project folder and make it > > yours!!! :) > > > On 27 Dic, 19:51, tirengarfio wrote: > Hi, > > i > > have installed Netbeans wi... > > >  -- > > You received this message because you are

[symfony-users] Re: How to use Filter Forms without Admin Generator?

2009-12-28 Thread tirengarfio
hi, maybe these links can be interesting for someone: http://axiacore.com/blog/2009/09/trabajando-con-filtros-en-symfony-i/ http://axiacore.com/blog/2009/09/trabajando-con-filtros-en-symfony-ii/ Are in spanish... Anyway, any reason for not implementing the "Filter" button functionality? Javi

[symfony-users] Re: Netbeans with symfony support: tasks without "sudo"

2009-12-27 Thread tirengarfio
The only way i know to avoid writing "sudo" is logging in the operative system as root. But i dont want to logging as root. Is there anyone more? On Dec 27, 8:01 pm, Andrei Dziahel wrote: > Hi. > > Do not call them with sudo. Like I do. > > 2009/12/27 tirengarfio &

[symfony-users] Netbeans with symfony support: tasks without "sudo"

2009-12-27 Thread tirengarfio
Hi, i have installed Netbeans with symfony support. As maybe you know with this support you can execute the symfony tasks from Netbeans. The problem: the tasks are executed without the "sudo" before, so the errors appear.. Any solution? Bye Javi -- You received this message because you are

[symfony-users] Re: Error trying to change the class of a validator

2009-12-23 Thread tirengarfio
Solved, I just didn't read the path well.. Javi On Dec 22, 9:12 pm, tirengarfio wrote: > Hi, > > i have extended a widget using sfWidgetFormInputFileEditable this way: > >   public function configure() >   { > >      parent::configure(); > >     $thi

[symfony-users] Error trying to change the class of a validator

2009-12-22 Thread tirengarfio
Hi, i have extended a widget using sfWidgetFormInputFileEditable this way: public function configure() { parent::configure(); $this->widgetSchema['fotografia'] = new sfWidgetFormInputFileEditable(array( 'file_src' => '/uploads/fotografias_miembros/'.$this->getObject ()->get

[symfony-users] Re: Question about links using link_to and CSS rules

2009-12-22 Thread tirengarfio
gt; > > 'class=special_link') ?> > > > ***Use this Class name in your CSS File.* > > > > On Tue, Dec 22, 2009 at 10:53 AM, DEEPAK BHATIA > > > wrote: > > > > > link_to is not an HTML tag, please read CSS carefully. > > >

[symfony-users] Question about links using link_to and CSS rules

2009-12-21 Thread tirengarfio
Hi, I have created a menu using link_to. I want define a CSS rule for these links. I expected it works writing something like this: #menu link_to { } But the rule only works if i write it in this way: #menu a { } Am i doing this right? Dont you think this way ("link_to" in the view and "a"

[symfony-users] I can't see the images of the "default" module.

2009-12-18 Thread tirengarfio
Hi, i have instaled XAMPP (for linux) and then i have installed symfony in /opt/lampp/htdocs/my_proyect/lib/vendor. Now i cant see the images of the "default" module. I have change the permissions, even from the /opt folder, but the problem persists... Any idea? Bye Javi -- You received this

[symfony-users] Re: Is there any way to execute actions without defining its corresponding template?

2009-12-17 Thread tirengarfio
t of . I know i can use partial_elements and it will be easy, but im curious..:S Javi On Dec 17, 6:39 pm, Daniel Lohse wrote: > Why would you want that? You can always return sfView::NONE in the action and > be done with it. > > Daniel > > On Dec 17, 2009, at 6:35 PM,

[symfony-users] Is there any way to execute actions without defining its corresponding template?

2009-12-17 Thread tirengarfio
Hi, is there any way to execute actions without defining its corresponding template? You know, if you dont define the corresponding template file you get an error... Bye Javi -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this

[symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-17 Thread tirengarfio
ById('message_1').className ('read_message');", 'complete' => 'myfunction()', Regards Javi On Dec 17, 12:14 pm, tirengarfio wrote: > OK: only one 'complete' option. Now works! > > Thanks > > Javi > > On Dec 17, 11:

[symfony-users] Re: Short question about partial elements and getting the name of a module

2009-12-17 Thread tirengarfio
nt to render the partial in your action you use: > > > return $this->renderPartial('global/partialName', array([variables you want > > to pass])); > > > or for the view: > > > include_partial('global/partialName', array([variables you want to pa

[symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-17 Thread tirengarfio
se of another previous link_to_remote? If so make sure the > first one has the "script"=>true option set: > > link_to_remote('Link Text', array( >   "url"=>"urltoload", >   "update"=>"divtoupdate", >   "script&q

[symfony-users] Short question about partial elements and getting the name of a module

2009-12-17 Thread tirengarfio
Hi, im using a partial element for two templates of two different modules. The partial element is stored in the "templates" folder of the first module, so is there any way to get from the partial element the name of the second module? Bye Javi -- You received this message because you are subs

[symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-17 Thread tirengarfio
So.. what should i do? As i say in my first post i dont have any problems with link_to_function('Link', "myfunction2()")... Javi On Dec 17, 7:06 am, DEEPAK BHATIA wrote: > This means your javascript code is not getting executed. > > On Wed, Dec 16, 2009 at 11:14

[symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread tirengarfio
Sorry I mean this: On Dec 16, 6:44 pm, tirengarfio wrote: > I have this: > >   function myfuncion1() >   { >    alert('Test'); >   } > ") ?> > > > >     >         'url' => 'mensaje/cambiarEstadoLeido'

[symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread tirengarfio
''), )); ?> The javascript window with the word "Test" is not showed after clicking on the link. Javi On Dec 16, 3:33 pm, DEEPAK BHATIA wrote: > try putting alert("Test") in front of it. > > On Wed, Dec 16, 2009 at 6:40 PM, tirengarfio wrote

[symfony-users] Re: Anyway to comment piece of yaml code (not using # in each line)??

2009-12-16 Thread tirengarfio
Ok, i found it. Just installing this: http://jonocode.wordpress.com/2009/06/17/editing-yaml-files-in-a-symfony-project-using-eclipse-pdt/ Select the lines and then "Shift + Ctrl + /" (and again to uncomment). Javi On Dec 16, 3:07 pm, tirengarfio wrote: > Im using Eclipse PDT. &g

[symfony-users] Re: Anyway to comment piece of yaml code (not using # in each line)??

2009-12-16 Thread tirengarfio
Im using Eclipse PDT. Javi On Dec 16, 3:06 pm, tirengarfio wrote: > Hi, > > just that. > > 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-us...@g

[symfony-users] Anyway to comment piece of yaml code (not using # in each line)??

2009-12-16 Thread tirengarfio
Hi, just that. 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-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For m

[symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread tirengarfio
Thanks Deepak, but it didn't work.. Javi On Dec 16, 1:42 pm, DEEPAK BHATIA wrote: > Try this > >  'complete' => > "document.getElementById('message_1').className('read_message')", > > On Mon, Dec 14, 2009 at 5:38 PM, tireng

[symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread tirengarfio
Thanks both, but it still doesnt change the class of the .. Proposals? Javi On Dec 14, 8:45 pm, Gareth McCumskey wrote: > "complete"=>"$('message_1').toggleClassName('read_message');" > > http://www.prototypejs.org/api/element/toggleClassName

[symfony-users] Installing symfony in XAMPP: problems with MySQL PDO

2009-12-15 Thread tirengarfio
Hi, i've installed the well known PHP framework called symfony. After installing it, the instructions recommend executing a file called "check_configuration.php". After the execution i get this lines: Code: OKPDO is installed [[WARNING]] PDO has some drivers installed: : FAILED But wh

[symfony-users] Question about link_to_remote: 'complete' option

2009-12-14 Thread tirengarfio
Hi, i want to change the class of a after clicking a link. In the same time i would like to execute a symfony action. For that, im using link_to_remote this way: Message's content 'mensaje/cambiarEstadoLeido, 'update' => 'message_1'

[symfony-users] Re: Trying to merge objects

2009-12-04 Thread tirengarfio
do LIKE ?", 1) ->execute(); $q1->merge($q2); return $q1; } Bye Javi On Dec 3, 3:51 pm, tirengarfio wrote: > Sorry, i was wrong i also have error with the getters when i have only > one query...:) > > So the question again: how do you merge the res

[symfony-users] Re: Trying to merge objects

2009-12-03 Thread tirengarfio
Sorry, i was wrong i also have error with the getters when i have only one query...:) So the question again: how do you merge the resulting objects of two queries? Javi On Dec 3, 3:28 pm, tirengarfio wrote: > Hi, > > i have these two queries below and i want to merge the resulting

[symfony-users] Re: Trying to merge objects

2009-12-03 Thread tirengarfio
Sorry, i was wrong i also have error with the getters when i have only one query...:) So the question again: how do you merge the resulting objects of two queries? Javi On Dec 3, 3:28 pm, tirengarfio wrote: > Hi, > > i have these two queries below and i want to merge the resulting

[symfony-users] Trying to merge objects

2009-12-03 Thread tirengarfio
Hi, i have these two queries below and i want to merge the resulting objects, but i can't. public static function getAmigos($id) { $q1 = Doctrine_Query::create() ->from('Usuario u') ->leftJoin('u.AmigoUsuario a ON u.id = a.user1') ->where("a.user2 LIKE ?", $id) ->and

[symfony-users] Create a many-to-many relation from sfGuardUser class (sfDoctrineGuardPlugin) to itself

2009-12-01 Thread tirengarfio
Hi all, I would like to create a many-to-many relation from sfGuardUser class (sfDoctrineGuardPlugin) to itself, but if i cant modify the plugin content, how should i make it? Bye Javi -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post

[symfony-users] Re: Accesing the messages sent to the user in my social network

2009-11-30 Thread tirengarfio
Solved: i made this mistake: getUsername() ?> instead of getUser()->getUsername() ?> Javi On Nov 30, 5:57 am, tirengarfio wrote: > Thanks Gábor, I finally use a query also. > > This time i would like to show the username of the person who send the > message next to the

[symfony-users] Re: Accesing the messages sent to the user in my social network

2009-11-30 Thread tirengarfio
er()->getId()); >     return MessagePeer::doSelect($c); > > On Wed, Nov 25, 2009 at 13:45,tirengarfio wrote: > > Hi, > > > as many of you have guessed im making a little social network. > > > Now i need to fetch the messages of the user receives from other > > mem

[symfony-users] Question about table_method

2009-11-26 Thread tirengarfio
Hi, i want to create a table_method to show backend users list. I have started to read some things about it but i have serious doubts.. First of all: If i generate the backend and the sfGuardUser admin module i get a list with the sfGuardUser fields: Id - Username - Algorithm - Salt - Password

[symfony-users] Doctrine release in Symfony

2009-11-25 Thread tirengarfio
Hi, is there any way to see what is my Doctrine release in Symfony? Bye 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] Accesing the messages sent to the user in my social network

2009-11-25 Thread tirengarfio
Hi, as many of you have guessed im making a little social network. Now i need to fetch the messages of the user receives from other members of the social network. The line below access to the first message sent to the user: $this->getUser()->getGuardUser()->getMessage(); but.Is there any w

[symfony-users] Re: sfGuardUser: Unknown method sfGuardUser::getProfile

2009-11-25 Thread tirengarfio
After following the README at sfDoctrineGuardPlugin doc, this is working for me: In the actions: $this->getUser()->getGuardUser()->getId() $this->getUser()->getGuardUser()->getUsername() $this->getUser()->getGuardUser()->getProfile()->getAddress() In the templates:

[symfony-users] Re: Avoid losing the changes each time a module is regenerated

2009-11-24 Thread tirengarfio
23, 2009 at 2:47 PM, tirengarfio wrote: > > Hi, > > > each time you regenerate a module, the files related to the templates > > (indexSuccess.php, _form.php, ...) are also regenerated, so if you > > modified something inside those files you will lose it each time th

[symfony-users] Re: Trying to fetch one column

2009-11-23 Thread tirengarfio
ference:: getUserFriends($user_id); > > Therefore its very nicely encapsulated, 100% reusable, and if I ever need to > change the criteria of what data is returned I don't need to even touch my > action. > > > > On Mon, Nov 23, 2009 at 2:29 PM, tirengarfio wrote: > &g

[symfony-users] Avoid losing the changes each time a module is regenerated

2009-11-23 Thread tirengarfio
Hi, each time you regenerate a module, the files related to the templates (indexSuccess.php, _form.php, ...) are also regenerated, so if you modified something inside those files you will lose it each time the module is regenerated. Is there any solution to avoid losing those changes? Bye Javi

[symfony-users] Re: Trying to fetch one column

2009-11-23 Thread tirengarfio
On 23 nov, 06:51, Gareth McCumskey wrote: > Does it matter? Maybe yes... I need an array to search on it in the view. For that, i have written this code in the action: // This fetches the friends of the user with the ID '1'. $this->friend_list = Doctrine::getTable('FriendReference') ->crea

[symfony-users] Re: Trying to fetch one column

2009-11-23 Thread tirengarfio
Any idea? On 20 nov, 13:57, tirengarfio wrote: > Hi, > > i have a table to with two fields: user1 and user2. > > I have also this code to fetch the user2 column: > > // Extraemos los amigos del usuario de la sesion. >     $this->friend_list = Doctrine

[symfony-users] Re: Remove the layout from the signining page

2009-11-23 Thread tirengarfio
Sorry, do you mean "Delete it"? what? the layout file?? On 20 nov, 15:21, velu samy wrote: > Dleate it > > On 11/21/09, tirengarfio wrote: > > > > > Hi, > > > I have started to create the layout for my app, but it also appears in > > my signining

[symfony-users] Re: Remove the layout from the signining page

2009-11-22 Thread tirengarfio
bots: index, follow stylesheets:[main.css] javascripts:[] has_layout: on layout: layout signinSuccess: has_layout: off Any idea? Javi On Nov 22, 8:57 pm, Parijat Kalia wrote: > sure, ur welcome! > > On Sun, Nov 22, 2009 at 11:15 AM, tirengarfio wrote

[symfony-users] Re: Remove the layout from the signining page

2009-11-22 Thread tirengarfio
bots: index, follow stylesheets:[main.css] javascripts:[] has_layout: on layout: layout signinSuccess: has_layout: off Any idea? Javi On Nov 22, 2:15 pm, tirengarfio wrote: > Thanks Parijat! > > On Nov 21, 1:36 am, Parijat Kalia wrote: > > &

[symfony-users] Re: Remove the layout from the signining page

2009-11-22 Thread tirengarfio
Thanks Parijat! On Nov 21, 1:36 am, Parijat Kalia wrote: > Go to config of your application, go to view.yamlspecify the page you > don't want the layout and set has_layout: off > > On Fri, Nov 20, 2009 at 12:14 PM, tirengarfio wrote: > > Hi, > > > I have sta

[symfony-users] Remove the layout from the signining page

2009-11-20 Thread tirengarfio
Hi, I have started to create the layout for my app, but it also appears in my signining page... I dont want that, so what can i do? Bye 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...@

[symfony-users] Remove the layout from the signining page

2009-11-20 Thread tirengarfio
Hi, I have started to create the layout for my app, but it also appears in my signining page... I dont want that, so what can i do? Bye 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...@

[symfony-users] Trying to fetch one column

2009-11-20 Thread tirengarfio
Hi, i have a table to with two fields: user1 and user2. I have also this code to fetch the user2 column: // Extraemos los amigos del usuario de la sesion. $this->friend_list = Doctrine::getTable('FriendReference') ->createQuery('a') ->select('a.user2') ->where("a.user1 LIKE

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

2009-11-20 Thread tirengarfio
Thanks Ashton! On Nov 20, 10:26 am, Ashton Honnecke wrote: > In processForm. > > Ashton Honnecke > ahonne...@gmail.com > > On Nov 20, 2009, at 8:20, tirengarfio wrote: > > > Hi, > > > i have created a module (generate-module) in base of Message model. >

[symfony-users] Redirection after submitting a New form

2009-11-20 Thread tirengarfio
Hi, i have created a module (generate-module) in base of Message model. When i execute message/new and then i push the "Save" button the app redirects me to the message/edit page. I have opened actions.class.php and i have checked the createSuccess() function. I expected to find a redirection to

[symfony-users] Re: Trying to give a default value to a form

2009-11-18 Thread tirengarfio
nsajeForm($m)); > >  } > > 2009/11/18 Gábor Fási : > > > The first parameter of a doctrine form should be an object instance > > (in this case: Mensaje) or null. > > > On Wed, Nov 18, 2009 at 15:30, tirengarfio wrote: > >> Hi, > > >> im trying t

[symfony-users] Trying to give a default value to a form

2009-11-18 Thread tirengarfio
Hi, im trying to give a default value to a form through this: public function executeNew(sfWebRequest $request) { $this->form = new MensajeForm(array('content' => 'Hola')); } This is the model: Mensaje: colums: sf_guard_user_id: integer(4) receptor_id: integer(4) tipo:

[symfony-users] Re: Problems trying to add a filter to index.php

2009-11-17 Thread tirengarfio
Hi Mailo, im making a social network, thats the reason i want to add a filter for users in the frontend. On Nov 12, 6:55 am, Mailo wrote: > What about admin > generator?http://www.symfony-project.org/jobeet/1_2/Doctrine/en/12 > > On Nov 12, 11:50 am, tirengarfio wrote: > &g

[symfony-users] Re: Using var_dump: warnings about sfWebRequest

2009-11-16 Thread tirengarfio
> when symfony tries to send the http headers, it cannot - hence the > warnings. > > On Mon, Nov 16, 2009 at 19:55, tirengarfio wrote: > > > Hi, > > > i have this code below: > > > class profileActions extends sfActions > > { >

[symfony-users] Re: Using var_dump: warnings about sfWebRequest

2009-11-16 Thread tirengarfio
> when symfony tries to send the http headers, it cannot - hence the > warnings. > > On Mon, Nov 16, 2009 at 19:55, tirengarfio wrote: > > > Hi, > > > i have this code below: > > > class profileActions extends sfActions > > { >

[symfony-users] Re: Using var_dump: warnings about sfWebRequest

2009-11-16 Thread tirengarfio
> when symfony tries to send the http headers, it cannot - hence the > warnings. > > On Mon, Nov 16, 2009 at 19:55, tirengarfio wrote: > > > Hi, > > > i have this code below: > > > class profileActions extends sfActions > > { >

[symfony-users] Using var_dump: warnings about sfWebRequest

2009-11-16 Thread tirengarfio
Hi, i have this code below: class profileActions extends sfActions { public function executeIndex(sfWebRequest $request) { // Extraemos todos los miembros de la red social. $this->lista_miembros = Doctrine::getTable('Profile') ->createQuery('a') ->execute(); // Extra

[symfony-users] Re: Syntax in actions

2009-11-12 Thread tirengarfio
Ok, thanks. On Nov 12, 3:08 pm, halfer wrote: > > Hi, > > > what is the syntax rule with action names of two or more words? > > > executeMyAction ?? > > executeMyaction ?? > > executeMy_action ?? > > executeMy_Action ?? > > The first one. I'd recommend you read the manual, or try the Jobeet > tu

[symfony-users] Syntax in actions

2009-11-12 Thread tirengarfio
Hi, what is the syntax rule with action names of two or more words? executeMyAction ?? executeMyaction ?? executeMy_action ?? executeMy_Action ?? ... Javi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony us

[symfony-users] Re: sfDoctrineGuard

2009-11-12 Thread tirengarfio
Google "sfDoctrineGuardPlugin": http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin, read the "Readme" tab. http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin Javi On Nov 12, 12:59 pm, Nei Rauni Santos wrote: > I had problems with this p

[symfony-users] Problems trying to add a filter to index.php

2009-11-11 Thread tirengarfio
Hi, im trying to add a filter to an index.php page of my module "job". These are my steps: In the index.php function I have added the line "$this->filtro = new JobeetJobFormFilter();". This is the final index.php file: $this->jobeet_job_list = Doctrine::getTable('JobeetJob') $this->crea

[symfony-users] Re: Trying to list profile fields in the backend

2009-11-08 Thread tirengarfio
Oct 20, 7:28 pm, tirengarfio wrote: > I found this article but it only works if you can install sfDbFinder > (Sf 1.1): > > http://redotheweb.com/2008/09/25/sorting-by-custom-column-in-the-symf... > > Javi > > On Oct 14, 2:14 pm, tirengarfio wrote: > > > On Oct 14,

[symfony-users] Re: sfValidatorEmail and sfValidatorFile: always "Invalid"

2009-11-07 Thread tirengarfio
quot;... Javi On Oct 23, 12:02 am, Alexandre SALOME wrote: > It works with string. > > So if you give it an array, it will not works. > > 2009/10/21 tirengarfio > > > > > On Oct 21, 1:22 pm, Alexandre SALOME > > wrote: > > > > And sfValidatorE

[symfony-users] Using sfWidgetFormInputFileEditable in the backend

2009-11-04 Thread tirengarfio
Hi, Im using sfWidgetFormInputFileEditable to add a photograph of the users in my backend. When i try to edit some field of any user, the path to the image is not showed inside the widget and after pushing the "Save" button the image dissapear. I dont have any problem uploading the file. Any i

[symfony-users] Why sfGuardUserAdminForm.class.php and sfGuardUserFormSignin.class.php doesnt take the word "Plugin" ??

2009-11-03 Thread tirengarfio
Hi, if you install sfDoctrineGuardPlugin and look inside the folder plugins/sfDoctrineGuardPlugin/lib/form/doctrine you will see these files: PluginsfGuardUserForm.class.php PluginsfGuardGroupForm.class.php PluginsfGuardUserGroupForm.class.php PluginsfGuardGroupPermissionForm.class.php Pluginsf

[symfony-users] Activate sfGuardAuth(sfDoctrineGuardPlugin) in the backend or is there another option?

2009-11-03 Thread tirengarfio
Hi, i have read this: http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin Is there any reason why sfGuardAuth is not included in the list of modules to enable?? This is the list of the modules the tutorial proposes to active: all: .settings:

[symfony-users] Re: sfDoctrineGuardPlugin UserProfile and one to one relation.

2009-10-22 Thread tirengarfio
Did you read this: http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin ? Javi On Oct 22, 4:05 pm, Simone Fumagalli wrote: > I'm using sfDoctrineGuardPlugin and I'm trying to access my user > detail in this way > > (In my view) > echo $sf_user->getG

[symfony-users] Re: sfValidatorEmail and sfValidatorFile: always "Invalid"

2009-10-21 Thread tirengarfio
On Oct 21, 1:22 pm, Alexandre SALOME wrote: > And sfValidatorEmail excepts a string. Thanks Alexandre, but... what do you mean with that sentence? Sorry because my english.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[symfony-users] Re: Trying to list profile fields in the backend

2009-10-20 Thread tirengarfio
I found this article but it only works if you can install sfDbFinder (Sf 1.1): http://redotheweb.com/2008/09/25/sorting-by-custom-column-in-the-symfony-admin-generator/ Javi On Oct 14, 2:14 pm, tirengarfio wrote: > On Oct 14, 1:39 pm, Alexandru-Emil Lupu wrote: > > > the sfGuar

[symfony-users] sfValidatorEmail and sfValidatorFile: always "Invalid"

2009-10-20 Thread tirengarfio
Hi, I have created the backend for the sfGuardUser module. Then I have added the Profile fields to the filter using this tutorial (in spanish): http://jsangil.blogspot.com/2009/09/modificacion-de-filtros-en-symfony-para.html Now i have problems when i use "sfValidatorEmail" and "sfValidatorFil

[symfony-users] Is the admin generator cheat sheet deprecated?

2009-10-14 Thread tirengarfio
Hi, just that. I have Sf 1.2.8. 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 To unsubscribe from this group, send e

[symfony-users] Re: Changes in Generator/list doesnt showed in the backend app

2009-10-14 Thread tirengarfio
Yes :) On Oct 14, 6:37 pm, Eno wrote: > On Wed, 14 Oct 2009, tirengarfio wrote: > > just that. Changes in "filter", for example, work perfect, but not for > > the "list". > > > Symfony 1.2.8 > > HYCC (Have You Cleared Cache :-)  ? > > -- -

[symfony-users] Changes in Generator/list doesnt showed in the backend app

2009-10-14 Thread tirengarfio
Hi, just that. Changes in "filter", for example, work perfect, but not for the "list". Symfony 1.2.8 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] Re: Trying to list profile fields in the backend

2009-10-14 Thread tirengarfio
On Oct 14, 1:39 pm, Alexandru-Emil Lupu wrote: > the sfGuardUser module allready does that listing ... Do you mean it also can sort the list by the Profile fields? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: Trying to list profile fields in the backend

2009-10-14 Thread tirengarfio
list the fields of the Profile model (name, surname, phone, etc..). On Oct 14, 12:56 pm, Alexandru-Emil Lupu wrote: > what do you mean ? > > On Wed, Oct 14, 2009 at 1:34 PM, tirengarfio wrote: > > > Hi, > > > is possible to do it using the generator (parameter &qu

[symfony-users] Trying to list profile fields in the backend

2009-10-14 Thread tirengarfio
Hi, is possible to do it using the generator (parameter "list:")? Bye 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

[symfony-users] Is posible to embed lists in the same way forms are embeded (embedForm)?

2009-10-13 Thread tirengarfio
hi, is posible to embed lists in the same way forms are embeded (embedForm)? I would like to embed the profile list in the user list for the backend. Bye --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony use

[symfony-users] Re: sfDoctrineGuardPlugin: anything that advise against adding the profile fields in the sfGuardUser directly instead of define the model "Profile"?

2009-10-09 Thread tirengarfio
Thanks.. On Oct 9, 1:32 pm, Gábor Fási wrote: > http://www.doctrine-project.org/documentation/manual/1_1/en/inheritan... > > On Fri, Oct 9, 2009 at 12:04, tirengarfio wrote: > > > What do you mean with "Doctrine "simple inheritance""?? > > > On

[symfony-users] Re: sfDoctrineGuardPlugin: anything that advise against adding the profile fields in the sfGuardUser directly instead of define the model "Profile"?

2009-10-09 Thread tirengarfio
table. > > Simple inheritance is a lot less of a pain than using profiles and I > recommend it. it's a shame that the sfDoctrineGuardPlugin manual > doesn't steer users in that direction instead of just reiterating the > Symfony 1.0/Propel style recommendation to u

[symfony-users] sfDoctrineGuardPlugin: anything that advise against adding the profile fields in the sfGuardUser directly instead of define the model "Profile"?

2009-10-08 Thread tirengarfio
Hi, I have read an article (link below) about adding profiles to the users that are generated after building the sfDoctrineGuardPlugin models that are defined in its schema.yml. http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin It says that if you

[symfony-users] Re: Question about abbreviated syntax in YAML files

2009-10-07 Thread tirengarfio
Thanks wiredcs, On Oct 7, 4:38 am, wiredcs wrote: > I think the error says it. If you don't specify the one side it won't > populate that model with the setter for user profile. Did you read the section "Abbreviated syntax" (see the link in my first entry)? As you can see on it the one side is

[symfony-users] Question about abbreviated syntax in YAML files

2009-10-06 Thread tirengarfio
Hi, I have these schema and testa data: sfGuardUser: actAs: [Timestampable] columns: id: type: integer(4) primary: true autoincrement: true username: type: string(128) notnull: true unique: true algorithm: type: string(128) default:

[symfony-users] What i have to do to update my tables correctly?

2009-07-16 Thread tirengarfio
Hi, yesterday i created some tables from an schema using "doctrine:build- all-load". Today i have changed some things in that schema, so after that i have removed the database, i have created a new one and finally i have executed again "doctrine:build-all-load" to generate the new tables with th