[fw-general] How to make Zend Form post submitting Ajaxy

2010-07-03 Thread Enkhbilguun Erdenetsogt
ion are in ajaxlink so that every action can only be printed on some #content div. Thank you very much in advance. --- Enkhbilguun Erdenetsogt

[fw-general] CUSTOM_Controller_Plugin is loaded twice

2010-06-14 Thread Enkhbilguun Erdenetsogt
"TESTING"); in Testo Controller Plugin and the message is displayed twice in my browser. Do you know how to avoid such duplicated load? --- Enkhbilguun Erdenetsogt

[fw-general] What is difference between Action Helper and Plugin

2010-06-02 Thread Enkhbilguun Erdenetsogt
well. I know I can directly use getRequest things with Action Helper and Plugin has some other advantages. I wonder which one is best for specific module, controller or action based layout loader? Thanks in advance. -- Enkhbilguun Erdenetsogt

[fw-general] How to decorate composite form element into unordered list items

2010-05-26 Thread Enkhbilguun Erdenetsogt
Decorator Generates the following: === Features I want list items like: === Features Thank you very much in advance. --- Enkhbilguun Erdenetsogt

[fw-general] How to implement .remove() in ajaxLink()

2010-04-05 Thread Enkhbilguun Erdenetsogt
'noscript' => false, 'method' => 'post')) ?> Is it possible to implement manipulation functions of jQuery such as .remove("#id"), .replaceWith() from ZendX_JQuery? Any advise will be greatly appreciated.. Thank you very much in advance. --- Sincerely, Enkhbilguun Erdenetsogt

Re: [fw-general] How can I insert class name for Zend Navigation generated menu?

2010-03-17 Thread Enkhbilguun Erdenetsogt
Hello Saša Stamenković, Thanks for your reply. However, your advise only generates for the A element like . Do you know how to insert the css class name for the element?. --- Enkhbilguun Erdenetsogt On Wed, Mar 17, 2010 at 5:05 PM, Саша Стаменковић wrote: > $itemArray[] = ar

[fw-general] How can I insert class name for Zend Navigation generated menu?

2010-03-16 Thread Enkhbilguun Erdenetsogt
ntainer($container); $this->view->navigation()->menu()->setUlClass('sidebar_menu'); Please advise me. :-) Sincerely, Enkhbilguun Erdenetsogt

[fw-general] Caching DB relational values....

2010-01-13 Thread Enkhbilguun Erdenetsogt
daaga; ?> } } How can I cache both db data? One is called in the controller and the other one is called in the view script as a dependent. If you have any sample code or tutorial link, please let me know. Thank you friends! --- Enkhbilguun Erdenetsogt

[fw-general] How can I get controller name from view script?

2010-01-05 Thread Enkhbilguun Erdenetsogt
Hello, Anyone please help me to find how I can get controller name from a view script? -- Enkhbilguun Erdenetsogt <>

Re: [fw-general] How should I get Posting form name ()

2010-01-05 Thread Enkhbilguun Erdenetsogt
y helper or controller action command that gets the posting form name. If learn that, I'm about to make my scripts much smarter and reliable ^o^ Thanks a lot ;-) -Enkhbilguun Erdenetsogt On 10.01.05 20:01, Victor Farazdagi wrote: Hi, Are you looking for som

Re: [fw-general] How should I get Posting form name ()

2010-01-05 Thread Enkhbilguun Erdenetsogt
learn that, I'm about to make my scripts much smarter and reliable ^o^ Thanks a lot ;-) -Enkhbilguun Erdenetsogt On 10.01.05 20:01, Victor Farazdagi wrote: Hi, Are you looking for something along the following lines: $request = $this->getRequest(); $post = $request-

[fw-general] How should I get Posting form name ()

2010-01-05 Thread Enkhbilguun Erdenetsogt
d form name (actually ID attribute) for the survey form. Now I really can't solve my issue since I don't know how to retrieve the form id attribute. Do you know how? Sincerely, Enkhbilguun Erdenetsogt <>

[fw-general] Re: [fw-db] How to print a single column ordered/grouped list from db table data?

2010-01-02 Thread Enkhbilguun Erdenetsogt
Seems I found the solution. If I knew SELECT DISTINCT sql query, I could have done it before I email :-) . To anyone who has similar issue, please take a look at: http://www.garfieldtech.com/blog/php-group-by Thank you all! --- Sincerely, Enkhbilguun Erdenetsogt On 10.01.03 4:54, Ralph

[fw-general] Re: [fw-db] How to print a single column ordered/grouped list from db table data?

2010-01-02 Thread Enkhbilguun Erdenetsogt
er, I already tried GROUP BY clause to my SQL query. Unfortunately I couldn't echo the returned object. With my current echoing method (foreach ($this->object as $item)), only single years with single category were listed. :-D --- Sincerely, Enkhbilguun Erdenetsogt On 10.01.03 4:54, R

[fw-general] How to print a single column ordered/grouped list from db table data?

2010-01-02 Thread Enkhbilguun Erdenetsogt
, but because of my poor knowledge of php and OOP, I couldn't find simple way to loop them. My table structure looks: id | type | cat_id | year | name | description .. Thank you for your help my friends. --- Enkhbilguun Erdenetsogt <>

Re: [fw-general] How to get a first character of a non-latin string

2009-12-26 Thread Enkhbilguun Erdenetsogt
Oh thanks. It is really works with mb_international_encoding('utf-8') ;-) On 09.12.25 17:26, scs wrote: Hi, You can use mb_substr() function for multi-byte strings. scs On Fri, Dec 25, 2009 at 11:23 AM, Enkhbilguun Erdenetsogt wrote: Hello, I trying to get the first char

[fw-general] How to get a first character of a non-latin string

2009-12-25 Thread Enkhbilguun Erdenetsogt
Hello, I trying to get the first character of a non-latin string. Both $string{0} and substr($string, 0, 1) returning unknown non-alphabetic character. Help me friends :-) Sincerely, Enkhbilguun Erdenetsogt <>

[fw-general] How to create Dynamic Sidebar?

2009-11-27 Thread Enkhbilguun Erdenetsogt
Hello everyone, I would like to take help on creating dynamic sidebar something look like $this->layout()->sidebar; in layout script. In my sidebar I need to put datas from DB on every pages and survey which probably require to post user entered data to a controller. I searched through Googl

[fw-general] Ajax and ZF - How to clear Ajax responded data when click the button again

2009-10-31 Thread Enkhbilguun Erdenetsogt
92").append("<a href='#'>"+response.ai92+"</a>"); $("#ai80").append(response.ai80); $("#diesel").append(response.diesel); }, 'json'); } --- Sincerely, Enkhbilguun Erdenetsogt <>

[fw-general] How can I to print Json formated response?

2009-10-29 Thread Enkhbilguun Erdenetsogt
quot;/async/getprice", { "volume" :volume }, function(response) { $("#ai92").append(""+response.diesel+""); $("#ai80").append(response.ai80); $("#diesel").append(response.diesel); }); } // Sincerely, Enkhbilguun Erdenetsogt <>

[fw-general] Inserting a text string or paragraph into Zend_Form

2009-08-20 Thread Enkhbilguun Erdenetsogt
Hello, I just wonder how to insert a paragraph or a text string into Zend Form elements? I'm expecting: TEXT Do you know how to? Thanks ;-) begin:vcard fn:Enkhbilguun Erdenetsogt n:Erdenetsogt;Enkhbilguun email;internet:enkhbilg...@beregu.com tel;cell:99113638 x-mozilla-html:TRUE versio

Re: [fw-general] How to get forwarded page url/path?

2009-08-20 Thread Enkhbilguun Erdenetsogt
e in case an unauthenticated user attempts to access a page that requires authentication. The same can be done with the logout link. -- Hector On Thu, Aug 20, 2009 at 4:09 AM, kamil <mailto:luznyg...@poczta.onet.pl>> wrote: Enkhbilguun Erdenetsogt pisze: Thank you fo

Re: [fw-general] How to get forwarded page url/path?

2009-08-20 Thread Enkhbilguun Erdenetsogt
helpers.redirector Dan 2009/8/20 Enkhbilguun Erdenetsogt <mailto:enkhbilg...@beregu.com>> Hello, I'm building a user login/logout functionality in my ZF project. I just want to forward a user, just logged in or out, to the page before the user logged in or out. C

[fw-general] How to get forwarded page url/path?

2009-08-20 Thread Enkhbilguun Erdenetsogt
Hello, I'm building a user login/logout functionality in my ZF project. I just want to forward a user, just logged in or out, to the page before the user logged in or out. Could you tell me which commands I should use? Thank you very much friends. begin:vcard fn:Enkhbilguun Erdenetsogt n:Erd