[symfony-users] 06-Advanced-Forms Some Questions.

2010-11-27 Thread Guychmyrat Amanmyradov
Hi, Firstly thanks for advanced forms. It really saved my times. I have attached my screenshot. 1) I do not want to show "Advertisement" text (in tutorial current photos) on new form. How can i hide it ? 2) How can i change "advertisement" and "newphoto" texts ? 3) How can i limit easily photos

Re: [symfony-users] 1.4 routing .html problem

2010-11-25 Thread Guychmyrat Amanmyradov
Amanmyradov şöyle yazıyor: Kimden: Guychmyrat Amanmyradov Konu: Re: [symfony-users] 1.4 routing .html problem Kime: symfony-users@googlegroups.com Tarihi: 25 Kasım 2010 Perşembe, 11:49 I am sorry. I forgot to write what i got. yes. unfortunatly i got : www.mydomain.com/aboutus i expect

Re: [symfony-users] 1.4 routing .html problem

2010-11-25 Thread Guychmyrat Amanmyradov
problem is the ".html" missing at the end, you have to look for a parameter "generate_shortest_url" in the factories.yml and set it to false. 2010/11/24 Guychmyrat Amanmyradov Hi, i am trying to route. This is my routing role : about_us:   url:   /about_us.:sf_f

[symfony-users] 1.4 routing .html problem

2010-11-24 Thread Guychmyrat Amanmyradov
Hi, i am trying to route. This is my routing role : about_us:   url:   /about_us.:sf_format   param: { module: pages, action: aboutus, sf_format: html }   requirements:     sf_format: (html|xml) And here is my link : 'latestnews')) ?> I want my output : www.mydomain.com/aboutus.html -- If

Yan: [symfony-users] Re: 06-Advanced-Forms Some Questions.

2010-11-23 Thread Guychmyrat Amanmyradov
llectionForm(null, array(   'product' => $this->getObject(),   'size'    => 2, )); Guillaume B. On 21 nov, 13:54, Guychmyrat Amanmyradov wrote: > Hi, > Firstly thanks for advanced forms. It really saved my times. > > I was following this link : > > h

[symfony-users] 06-Advanced-Forms Some Questions.

2010-11-21 Thread Guychmyrat Amanmyradov
Hi, Firstly thanks for advanced forms. It really saved my times. I was following this link : http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms 1) I do not want to show "Advertisement" text (in tutorial current photos) on new form. How can i hide it ? 2) How can i chan

Yan: [symfony-users] Translation in form class

2010-06-21 Thread Guychmyrat Amanmyradov
try this : sfContext::getInstance()->getI18n()->__('text); --- 21/06/10 Pzt tarihinde HAUSa şöyle yazıyor: Kimden: HAUSa Konu: [symfony-users] Translation in form class Kime: "symfony users" Tarihi: 21 Haziran 2010 Pazartesi, 17:43 How can I get a I18n translation in my form class? I want t

[symfony-users] sfForwardException - Too many forwards have been detected for this request (> 5)

2010-05-04 Thread Guychmyrat Amanmyradov
Hello, i was following http://www.symfony-project.org/book/1_0/16-Application-Management-Tools And , followed commands. My project was working fine. But know it gives me this error : stack trace at () in SF_ROOT_DIR/lib/symfony/controller/sfController.class.php line 172 ...   $error

Re: Yan: [symfony-users] symfony installation problem

2010-04-14 Thread Guychmyrat Amanmyradov
of installing symfony http://www.symfony-project.org/installation/1_4 ? Peter On St, 2010-04-14 at 19:35 +, Guychmyrat Amanmyradov wrote: > > > Sorry, i forgot to add this line : > > > $ sudo pear install symfony/symfony-1.2.12 > downloading symfony-1.2.12.tgz ... &

Yan: [symfony-users] symfony installation problem

2010-04-14 Thread Guychmyrat Amanmyradov
$ php symfony -V Could not open input file: symfony   --- 14/04/10 Çar tarihinde Guychmyrat Amanmyradov şöyle yazıyor: Kimden: Guychmyrat Amanmyradov Konu: [symfony-users] symfony installation problem Kime: "symfony users" Tarihi: 14 Nisan 2010 Çarşamba, 22:33 Hi, I am living ve

[symfony-users] symfony installation problem

2010-04-14 Thread Guychmyrat Amanmyradov
Hi, I am living very strange problem. Maybe someone can help to me. I just installed Ubuntu 9.10 and this are my steps. $sudo apt-get install apache2 $sudo apt-get install php5 $sudo apt-get install php5-cli $ php -v PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan  6 2010 22:56:

[symfony-users] Form foreign key problem

2010-01-10 Thread Guychmyrat Amanmyradov
Hello, i have a table like this : Company:    id    company_name   detail. Sellers   com_id (foreign key to Company table's id column )   name my _form.php must be like this : Company Name: (input) Seller name: (input) in my actions, i create my form object like this : $this->form = new Compa

[symfony-users] setAuthenticated problem wish sfGuard

2009-12-14 Thread Guychmyrat Amanmyradov
Hello.  i am tring to implement sfGuard (for 1.0) . What  i changed is crypt method to md5. When i try to signin.     // signin     $this->setAttribute('user_id', $user->getId(), 'sfGuardSecurityUser');     $this->setAuthenticated(true);     $this->clearCredentials();     $this->addCredentials(

[symfony-users] this.value problem jquery

2009-12-06 Thread Guychmyrat Amanmyradov
hi, i am tring to send data on my ajax call. what i am doing is :     echo select_country_tag('country',$code,array('include_custom'=>__('Select Country'), 'onchange'=>"if(this.value)".jq_remote_function(array(     'update'   =>  'cityList',     'url'  =>  'module/cityfinder',

Re: [symfony-users] Firefox cache problem - routing

2009-12-02 Thread Guychmyrat Amanmyradov
and whether you have view/template caching that could be causing it. 2009/12/1 Guychmyrat Amanmyradov Hello, Firefox caches my dynamic pages, it does not show my new messages. I have to press ctrl + f5 to see them. but if i can add a random parameter end of my url ff thinks i sent new data. s

[symfony-users] Firefox cache problem - routing

2009-12-01 Thread Guychmyrat Amanmyradov
Hello, Firefox caches my dynamic pages, it does not show my new messages. I have to press ctrl + f5 to see them. but if i can add a random parameter end of my url ff thinks i sent new data. so it shows my new messages. for a page i do not want to stop my all page cache. is there any way to add a

[symfony-users] How to implement custom package? (under lib folder)

2009-10-12 Thread Guychmyrat Amanmyradov
Hello. i want to implement "lightr" library to my project. it is not a single file. in some folders there are some files. How can i use this lightr library in my project. i copied under /lib/ folder. (symfony cc.) but unfurtunatly it did not work. Can you plz help me.  Thanks. _

Yan: [symfony-users] Re: symfony 1.0 i18n-extract problem.

2009-08-16 Thread Guychmyrat Amanmyradov
-extract problem. Kime: symfony-users@googlegroups.com Tarihi: 16 Ağustos 2009 Pazar, 17:28 I'm not familiary with symfony 1.0 so it's just a guess: did you clear your cache after installing it? On Sun, Aug 16, 2009 at 15:56, Guychmyrat Amanmyradov wrote: > Hi, i have installed

[symfony-users] symfony 1.0 i18n-extract problem.

2009-08-16 Thread Guychmyrat Amanmyradov
Hi, i have installed i18n-extract successfully. When i try to use >>symfony i18n-extract frontend en i got this error:  [pakeException]   Task "i18n-extract" is not defined. i could not find answer on google. Any idea ? __

Yan: [symfony-users] Re: select_country_tag - No Serbia but still Yugoslavia

2009-08-05 Thread Guychmyrat Amanmyradov
, 2009 at 11:39 AM, Guychmyrat Amanmyradov wrote: > Hello, > i use select_country_tag function, with symfony 1.0. > but in there countries are not updated. For example on that table there is > still Yugoslavia but no Serbia. These 2 countries are exmaple. There are > more mistakes. >

[symfony-users] select_country_tag - No Serbia but still Yugoslavia

2009-08-05 Thread Guychmyrat Amanmyradov
Hello, i use select_country_tag function, with symfony 1.0. but in there countries are not updated. For example on that table there is still Yugoslavia but no Serbia. These 2 countries are exmaple. There are more mistakes. I want to update this table. I mean select_country_tag function countries.

[symfony-users] one action multiple templates

2009-07-21 Thread Guychmyrat Amanmyradov
Hello, i want multiple templates for my action. (theme system) i followed http://snippets.symfony-project.org/snippet/115 but i could not success. is there any detailed explanation of these subject ? i will be glad if you help. thank you. _

Re: Yan: [symfony-users] Re: Ajax - 304 Handle

2009-06-25 Thread Guychmyrat Amanmyradov
2009 Perşembe, 16:26 Sorry, it came out wrong, I mean't MY question would probably be stupid, not yours, my apologies. Ok so it's not syntax. Have you tried replacing: return sfView::HEADER_ONLY with: return $this->renderText(''); ? 2009/6/25 Guychmyrat Amanmyra

Yan: [symfony-users] Re: Ajax - 304 Handle

2009-06-25 Thread Guychmyrat Amanmyradov
Handle Kime: symfony-users@googlegroups.com Tarihi: 25 Haziran 2009 Perşembe, 16:01 Stupid question, but in your real code do you add the dollar sign ($) in front of "online_user_list"? Ie.: if ($online_user_list == 1) and not: if (online_user_list == 1) ? 2009/6/25 Guychmyrat A

[symfony-users] Ajax - 304 Handle

2009-06-25 Thread Guychmyrat Amanmyradov
Hi, i have perodicall call function               '10',               'update' => 'divname',               'raw_with' => "'online_user_list=' + $('#online_user_list').val()",               'url'    => "modulename/actionname"               ))                ?> on my action, i wa

Yan: [symfony-users] Re: json jquery problem ( bug ?)

2009-06-02 Thread Guychmyrat Amanmyradov
;alert('HTTP Error ' + request.status + '!')", >      'complete' => "function(request, textStatus){ json=request.foo;  > updateJSON(request, json) }' json=request.foo; <-- Here you have to extract the json response from  the request. - Frank

[symfony-users] json jquery problem ( bug ?)

2009-06-02 Thread Guychmyrat Amanmyradov
hi, i am tring to fetch data using jquery + json. here is m code : echo jq_link_to_remote('Refresh the letter', array(       'url'  => 'friend/test',      'dataType' => 'json',     'failure' => "alert('HTTP Error ' + request.status + '!')", 'complete' => updateJSON(request, json); ' ))

Yan: [symfony-users] Re: jquery - json problem

2009-06-01 Thread Guychmyrat Amanmyradov
27;.$output.')'); i might think your JSON response is bad. and also js variable "REQUEST" is not defined in 'test/test', 'dataType' => 'json', 'complete' => 'updateJSON(request, json)' )) ?> I do not know

[symfony-users] jquery - json problem

2009-04-20 Thread Guychmyrat Amanmyradov
Hello. i am tring to use jquery + json but there is a problem : 'test/test', 'dataType' => 'json', 'complete' => 'updateJSON(request, json)' )) ?> i got request is not definedonclick()() error. my test function is :     public function executeTest()     {         $output = '[["title", "My

[symfony-users] form_remote_tag() - update problem

2009-04-19 Thread Guychmyrat Amanmyradov
Hello, i'm tring to check login with ajax. on main page, there is a "login" link. when you click on it, a div is opening. And you are typing email/password in there. And checking error with ajaxs. form_remote_tag(aaray('update'=>'errorlogin', 'url'=>'login/login')) it works perfect to check erro

[symfony-users] iframe + how to redirect forward

2009-04-10 Thread Guychmyrat Amanmyradov
Hello. I have a function signup and i opened it on iframe. when the action finishes successfully, i use redirect function, it still opened in iframe. how  can i close the iframe and oopen as normal page ? ___ Yahoo! Türkiye

Yan: [symfony-users] Re: jQuery + prototype problem

2009-03-28 Thread Guychmyrat Amanmyradov
have to use jQuery() instead of $() for any jOuery > based functions you run. > > > > Dean > > > > ____ > > From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] > On Behalf Of Guychmyrat Amanmyradov > Sent: F

[symfony-users] jQuery + prototype problem

2009-03-27 Thread Guychmyrat Amanmyradov
Hi. i have forum :             'wall',             'url'  => 'wall/addcomment',             'before'   => "if(!\$F('comment')){return false;}",             'complete' => "$('comment').value='';"             )) ?> it was working fine. But after i install jQuery it is not working anymore as

Yan: [symfony-users] how to input_in_place_editor_tag ok_button set false

2009-03-19 Thread Guychmyrat Amanmyradov
Ok i found. hope someone will use this. 'save_text' => false, 'cancel_text' => false, not ok_button but save_text = false --- 19/03/09 Per tarihinde Guychmyrat Amanmyradov şöyle yazıyor: Kimden: Guychmyrat Amanmyradov Konu: [symfony-users] how to input_in_plac

[symfony-users] how to input_in_place_editor_tag ok_button set false

2009-03-19 Thread Guychmyrat Amanmyradov
hello. i am tring no to show ok/cancel button on input_in_place_editor_tag 'ok_button' => false, 'submit_onblur' => true, 'script' => true i set like above.  but i still see the button! how can i hide buttons ? ___ Yahoo! T

[symfony-users] sfSimpleForum , i lost forum_navigation somehow

2009-03-09 Thread Guychmyrat Amanmyradov
Hello. When i install sfSimpleForumPlugin   was working. I worked on sfSimpleForum a lot. And now, when i try   nothing happens. What did i wrong ? How can i correct ? Thank you. ___ Yahoo! Türkiye açıldı! http://

[symfony-users] select_country_tag problem on language Hebrew

2009-02-02 Thread Guychmyrat Amanmyradov
Hello.   select_country_tag this hepler translates countries auto. This is super. But when i try to use for language Hebrew i raised with a problem.   Error is in here :   in SF_ROOT_DIR/lib/symfony/i18n/sfCultureInfo.class.php line 278 ...   if (is_file($filename) == false)   {    

[symfony-users] ModalBox Not Working for Symfony 1.1

2008-09-11 Thread Guychmyrat Amanmyradov
Hi. I am trying to install sfmodalbox for symfony 1.1 On this addres http://www.symfony-project.org/plugins/sfModalBoxPlugin Installation for sf 1.1 php symfony plugin:install sfModalBoxPlugin --release=0.0.5 is written. And when i try this i got this error: The exception of task "plugin:inst