Re: [symfony-users] link_to_remote help. please take a look.

2010-09-02 Thread Andro Fumero
I'm actually using symfony 1.4 version. can some one help? i'm really stuck with this problem. Any help would be appreciated. ____ From: Andro Fumero To: symfony-users@googlegroups.com Sent: Thu, September 2, 2010 5:20:02 AM Subject: Re: [sym

Re: [symfony-users] link_to_remote help. please take a look.

2010-09-02 Thread Andro Fumero
, -1) !== -1) The second parameter if getParameter() is the default value if the parameter does not exist. Also, is the indexSuccess.php being called as a result of another AJAX request? If so, ensure that script=>true is set on any AJAX request that may result in indexSuccess.php being

[symfony-users] link_to_remote help. please take a look.

2010-09-02 Thread Andro Fumero
hello everyone,   my script is not able to update div content using link to remote. below is my code. please tell me if i miss something.   indexSuccess.php [                             'mycart',               'url' => 'companyproduct/Addtocart?prodid='.$companyproduct->getId(

[symfony-users] ajax dropdown sfWidgetFormDoctrineChoice

2010-08-27 Thread Andro Fumero
hello everyone, Can anyone provide samples how to put some event during click on selected dropdowns? like onclick='' and so on using ajax or any. samples, tutorials, link, information would be a greate help. Thanks Guyz Andro -- If you want to report a vulnerabilit

[symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-25 Thread Andro Fumero
Hi there, Does anyone tried to limit the result of dropdown to only 1? or atleast just keep the dropdown hidden with selected value? I already set the id of the following dropdown, and i dont need to show other choices anymore. public function executeNew(sfWebRequest $request) { $det

Re: [symfony-users] Problems when creating database

2010-08-24 Thread Andro Fumero
check your user name and password. it is found in config/databases.yml From: Marcio Pozzato To: Symfony Group Sent: Tue, August 24, 2010 11:44:24 AM Subject: [symfony-users] Problems when creating database Please, I can't create database through 'mysqladmin c

[symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-24 Thread Andro Fumero
Hi there, Does anyone tried to limit the result of dropdown to only 1? or atleast just keep the dropdown hidden with selected value? I already set the id of the following dropdown, and i dont need to show other choices anymore. public function executeNew(sfWebRequest $request) { $deta

Re: [symfony-users] Country City problem

2010-08-18 Thread Andro Fumero
/sfDependentSelectPlugin On Wed, Aug 18, 2010 at 7:18 AM, Andro Fumero wrote: Good day, > >Does any one tried to make a drop down Countries, and when its clicked, it >will >display the list of cities based on the selected Country. > >I have read about steps in how to do this,

[symfony-users] Country City problem

2010-08-18 Thread Andro Fumero
Good day, Does any one tried to make a drop down Countries, and when its clicked, it will display the list of cities based on the selected Country. I have read about steps in how to do this, but doesnt have a sample code. I dont know where to start about this one coz im still new. I dont even k

[symfony-users] Country City problem

2010-08-12 Thread Andro Fumero
Good day, Does any one tried to make a drop down Countries, and when its clicked, it will display the list of cities based on the selected Country. I don't care if its from Database or Jscript. I just want to get this done because I'm stuck with this problem. have no clue where to start. Any h

Re: [symfony-users] Array Problems

2010-07-28 Thread Andro Fumero
and thank you also rodrigo. ^_^ From: Rodrigo Ruiz Fuentes To: symfony-users@googlegroups.com Sent: Wed, July 28, 2010 11:54:21 AM Subject: Re: [symfony-users] Array Problems On 28/07/10 11:08, Andro Fumero wrote: hello, > >can someone help me

Re: [symfony-users] Array Problems

2010-07-28 Thread Andro Fumero
] Array Problems $ex = "";foreach($array as $element){ if(strlen($ex>0){ $ex .=" and "; } $ex .= $element['email']; } something like this On Wed, Jul 28, 2010 at 4:08 PM, Andro Fumero wrote: hello, > >can someone help me how

[symfony-users] Array Problems

2010-07-28 Thread Andro Fumero
hello, can someone help me how to display the array below like ex. "so...@yahoo.com and some2.yahoo.com" Array ( [0] => Array ( [id] => 1 [email] => so...@yahoo.com ) [1] => Array ( [id] => 17 [email] =>

[symfony-users] Simple Display Problem

2010-07-27 Thread Andro Fumero
Hi guys, Please bare with me with my simple problem,i'm just new in symfony, but i haven't solved this one for the whole day. protected function processForm(sfWebRequest $request, sfForm $form) { $form->bind($request->getParameter($form->getName()), $request->getFiles($form->getName()));

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

2010-06-17 Thread Andro Fumero
=> 'getCategory' example: 'boxhere'    => new sfWidgetFormDoctrineChoice(array('model' => 'category','query' => @Category::retrieveCategory(),'add_empty' => false,'method' => 'getCategory', 'key

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

2010-06-16 Thread Andro Fumero
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' => @Categor

[symfony-users] getRelatedModelName displays other column

2010-04-30 Thread Andro Fumero
hi, im still studying symfony. dont know if i have the right question. anyway i have two tables user and profile and is connected. in the editusers and addusers why does it display the description column instead of the profileid.? 'profileid' => new sfWidgetFormDoctrineChoice(array('model' =>

[symfony-users] sfWidgetFormDoctrineChoice problem

2010-04-27 Thread Andro Fumero
This is from users BaseForm. 'profileid' => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Profile'), 'add_empty' => false)), its displaying the Description column of my profile table. how can i display the profile column in my Profile table ? Can any one.? Thank

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

2010-04-19 Thread Andro Fumero
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

Re: [symfony-users] schema query problem-- 2 tables only generated from mysql- please help

2010-04-16 Thread Andro Fumero
lease help Try: ... ->leftJoin('p.User u') ... Tom On Fri, Apr 16, 2010 at 2:46 PM, Andro Fumero wrote: > Schema.yml Im just new to Symfony. please help.--- wasted wh

[symfony-users] schema query problem-- 2 tables only generated from mysql- please help

2010-04-16 Thread Andro Fumero
Schema.yml Im just new to Symfony. please help.--- wasted whole day fixing this. - Profile: connection: doctrine tableName: profile columns: id: type: integer(4) fixed: fal

[symfony-users] Re: CheckBox at Server Side

2010-01-29 Thread Andro
$values = $request->getParameter($this->form->getName()) gets an array with all values of form. And $values['name_of_your_checkbox'] will get the value if checkbox is checked... On 29 Jan., 03:30, mandyllanes wrote: > Hi, > > I have a field checkbox in my form. In de sfAction class I want know >

[symfony-users] Re: How to access attributes of a class

2010-01-29 Thread Andro
Using getter/setter is the better coding style.. but if the attributes are public you can access them directly, too. On 29 Jan., 11:16, ruigoncalves wrote: > Hi there! > > How can I access the attributes of a class? By the name of the > attribute or I have to use the appropriate getter/setter? >

[symfony-users] Re: Making sure a login id only has one session at any moment

2010-01-28 Thread Andro
isAuthenticated and setAuthenticated sets only LOCAL Cookies. So if he logins from another computer this functions doesn't check this, but if ANOTHER User is logged in at the SAME computer, so you can delete his e.g. credentials first before adding the new ones... On 28 Jan., 04:21, "yth" wrote:

[symfony-users] Re: Using an action to generate an image as an image tag src attribute

2010-01-28 Thread Andro
I didn't find a better solution and did it the same way... On 28 Jan., 09:06, Gareth McCumskey wrote: > Hi guys, > > I am probably missing something obvious but is it possible for me to > pass in an img tags src attribute the url to an action that will then > output a dynamically generated image?