[fw-general] Dinamicly created Menu question

2010-10-28 Thread vladimirn
First of all i would like to say hello to all of you guys. There is a question bothering me for some time now. While ago i have created a CMS where i allowed admin users to create a pages, menus, categories etc.. dinamicly. I would love to port all that ideas to Zend Framework env. Talking about Z

[fw-general] Zend_Dojo CheckBox validation

2009-01-27 Thread vladimirn
I posted this a few months ago, but never got colution, so i will try one more time :) Hopefully someone will be able to help me on this. I have a zend_dojo WORKING form, but checkbox validation wont work. I'b been told to try this: -

Re: [fw-general] Zend_Dojo Email validation, checkbox and Submit dojo form question- please?

2008-12-29 Thread vladimirn
There was a few members pointing that this wont work, and i dont have it worked yet. Any new ideas? drj201 wrote: > > I confirm this does not work using capture... I have the same problem. > > Thanks > > > gerardroche wrote: >> >> >> vladimirn wrote:

[fw-general] Validation against another field in zend dojo form

2008-12-17 Thread vladimirn
I'v tried solution i found here in forum but it wont work for me. So, my code looks is: $form->addElement('ValidationTextBox', 'password', array ( 'value' => $webmasterData [ 0 ] [ 'password' ] , 'label' => 'Password' , 'maxlength' => 20 , 'regE

Re: [fw-general] Zend dojo Editor does not pass value

2008-12-05 Thread vladimirn
Thank you very much :) Giorgio Sironi wrote: > > 2008/12/5 vladimirn <[EMAIL PROTECTED]> > >> As you can see, content from Editor element is not in $_POST >> > > I had a similar problem using the programmatic model of dojo, switching

[fw-general] Zend dojo Editor does not pass value

2008-12-05 Thread vladimirn
Does any one know how to solve that? I read over a mailing list, but did not find any suitable solution. So i am kinda stucked here. There is my actionView: ** $form = new Zend_Dojo_Form ( ); $form->setMethod ( 'post' )->setAction ( "process" )->

Re: [fw-general] QUestion about jQuery ajaxLink- can anyone take a look on this please?

2008-12-03 Thread vladimirn
write any. Thanks, V beberlei wrote: > > Hello vladimirn, > > this is just not possible as i said earlier. You have to find a generic > jQuery > by hand written solution for this. I have tested myself if its possible > with > the inline argument, but that gives javascript

Re: [fw-general] QUestion about jQuery ajaxLink- can anyone take a look on this please?

2008-12-03 Thread vladimirn
; > > in your view I think as this is JQuery related. > > Thank You > Daniel Latter > > > > 2008/12/2 vladimirn <[EMAIL PROTECTED]>: >> >> Anyone pls? >> >> -- >> View this message in context: >> http://www.nabble.com/QUestion-a

Re: [fw-general] QUestion about jQuery ajaxLink- can anyone take a look on this please?

2008-12-03 Thread vladimirn
Anyone pls? -- View this message in context: http://www.nabble.com/QUestion-about-jQuery-ajaxLink--can-anyone-take-a-look-on-this-please--tp20732925p20795245.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] AjaxLink in Zend_Dojo

2008-12-03 Thread vladimirn
Is there any way to have same functionality which ajaxLink provide, but in Zend Dojo? Thanks, V -- View this message in context: http://www.nabble.com/AjaxLink-in-Zend_Dojo-tp20795432p20795432.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] QUestion about jQuery ajaxLink

2008-11-28 Thread vladimirn
Hello all, I have one simply question. Whats the use of ajaxLInk? So far i find out that one can use ajaxLink only like a some kind of toy, which could achieved by using any ajax script to get some content into desired container. It is pretty much hard for me to explain, so i will trow an example.

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
Thanks. Can u just tell me why Edit and Delete are not inside a href in hello.phtml? It wont allow me to post how link looks like so i will improvize: [Delete] See? [Delete] is totally out of link tag. -- View this message in context: http://www.nabble.com/jQuery-Ajax-link-inside-container--ho

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
Just to add this: i looked at source after clicked on first ajaxLink and i have this: # [ Edit ]  # [ Delete ] Somehow, [ Edit ] is out of a href tags.. -- View this message in context: http://www.nabble.com/jQuery-Ajax-link-inside-container--how-to-make-this--tp20703903p20705645.html Sent

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
quot;, "/admin/index/edit", > array( 'id' => 'edit', > 'update' => '#contentJ', > 'noscript' => false, > 'inline' => true, > 'method' => 'POST')); >

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
I went thru http://framework.zend.com/manual/en/zendx.jquery.view.html#zendx.jquery.view.helpers.ajaxlink and it says that dataType = html is default. However, i explicitly gave this to my ajaxLink and still wont work. I tried to change to dataType=text and i am getting code of my hello.phtml How

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
Well, i added dataType to all 3 links, but no changes at all vladimirn wrote: > > THank you for your quick reply. > Can you show me how to this, or point me somewhere where i can learn that > please? > And where to add that? > array('update' => '#conten

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
'dataType'=>'html' ) Like that? beberlei wrote: > > > You have to give dataType = html as additoinal parameter to the options, > because for > security by default ajax responses are handled as text. > > On Wed, 26 Nov 2008 08:07:39 -0800 (PST), vlad

[fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
I would like to figure this out: On my index.phtml page is a link: --- index.phtml jQuery ();?> ajaxLink( "Home", "/admin/index/hello",

Re: [fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread vladimirn
e View for Dojo support? Because having both Dojo and > jQuery > helpers in your view will probably not work! > > you can try this by doing: > > $view->getHelperPaths() or > $view->getPluginLoader()->getPaths() > > greetings, > Benjamin > > On Tuesd

[fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread vladimirn
I grab this code from documentation and tried to reporoduce some result. So, this is a code: public function indexAction() { $form = new ZendX_JQuery_Form ( ); $form->setDecorators ( array ('FormElements', array ('AccordionContainer', array ('id' => 'tabContainer',

Re: [fw-general] Unable to find controller "index" in module "admin"

2008-11-25 Thread vladimirn
x27; => $base . '/application/controllers', 'admin' => $base . '/application/admin/controllers' ) ); Thankss, V Matthew Weier O'Phinney-3 wrote: > > -- vladimirn <[EMAIL PROTECTED]> wrote > (on Tuesday, 25 November 2

[fw-general] Unable to find controller "index" in module "admin"

2008-11-25 Thread vladimirn
Hello all! I have to add admin folder into my application structure. So far i did like this: /application -admin/ controllers/ ---IndexController.php views/ ---scripts/ ---index/

Re: [fw-general] Pagination with routes not working.

2008-11-24 Thread vladimirn
Hey Ace, i had the same problem. I solved it by making a link which leading me to the page with pagination like this before: wedding/bouquets/category (above wasnt work for me) and this one works: wedding/bouquets/category/1 //in bootstrap $route3 = new Zend_Controller_Router_Route( 'wedding

Re: [fw-general] Question about zend pagination

2008-11-19 Thread vladimirn
Matt, thanks for posting this link and quote rom documents. I've already read that before i posted in here :) How to use that in my example? Matthew Ratzloff wrote: > > From the documentation: > The following is an example route you might use in an INI configuration > file: > > routes.example.r

Re: [fw-general] Question about zend pagination

2008-11-18 Thread vladimirn
Matthew Ratzloff wrote: > > Do you define a "page" parameter in your route? > -Matt > > On Tue, Nov 18, 2008 at 10:14 AM, vladimirn <[EMAIL PROTECTED]> wrote: > >> >> Thank you Daniel, >> This is my view script: >> paginator)): ?> >

Re: [fw-general] Question about zend pagination

2008-11-18 Thread vladimirn
Thank you Daniel, This is my view script: paginator)): ?> paginator as $banner): ?> " On the page i am getting expected amount of results. Then in my controller: $db = Zend_Registry::get ( 'db' ); $select = $db->select () ->

Re: [fw-general] Question about zend pagination

2008-11-18 Thread vladimirn
Can anyone help on this please? :) -- View this message in context: http://www.nabble.com/Question-about-zend-pagination-tp20543032p20555822.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Question about zend pagination

2008-11-17 Thread vladimirn
i cant provide a link it is on my localhost :( However, i cant get it working.. -- View this message in context: http://www.nabble.com/Question-about-zend-pagination-tp20543032p20547855.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Question about zend pagination

2008-11-17 Thread vladimirn
Thank you for swift replay :) Now i went with this: $page = $this->_request->getParam('page') ; $db = Zend_Registry::get ( 'db' ); $select = $db->select () ->from ( 'banners', array ('bannerurl', 'height', 'width', '

[fw-general] Question about zend pagination

2008-11-17 Thread vladimirn
I have a problem with zend pagination. In my controller i have this: $result = $db->fetchAll ( $sql ); $page = $this->_getParam ( 'page', 1 ); $paginator = Zend_Paginator::factory ( $result ); $paginator->setItemCountPerPage ( 2 );

[fw-general] passing values from URL to zend dojo

2008-11-12 Thread vladimirn
Hey all, I have a link http://www.example.com/banners where i am displaying some tabelar stats about number of banners. In movie category i have 3 banners. I would like to click on this number(3) and that zend_dojo nicely do the job :) Basicly i would like to display those 3 banners from the movie

[fw-general] How to return result from this sql?

2008-11-07 Thread vladimirn
Hi all, i am stucked with this. I have to transform regular sql into Zend DB sql and then to return values in my phtml file. After many days i am not able to acompish that. There is my indexAction. public function indexAction() { $db = Zend_Registry::get ( 'db' );

Re: [fw-general] Checkbox and Dojo_foRM validation, please help if anyone know how

2008-10-01 Thread vladimirn
So, are we back from conference? :) vladimirn wrote: > > Ah :) > I would like i am there :) > Have a nice time :) > > Matthew Weier O'Phinney-3 wrote: >> >> -- vladimirn <[EMAIL PROTECTED]> wrote >> (on Wednesday, 17 September 2008, 08:11 AM -07

Re: [fw-general] Checkbox and Dojo_foRM validation, please help if anyone know how

2008-09-17 Thread vladimirn
Ah :) I would like i am there :) Have a nice time :) Matthew Weier O'Phinney-3 wrote: > > -- vladimirn <[EMAIL PROTECTED]> wrote > (on Wednesday, 17 September 2008, 08:11 AM -0700): >> >> Anyone? :( > > Sorry, a lot of us are at ZendCon this

Re: [fw-general] Checkbox and Dojo_foRM validation, please help if anyone know how

2008-09-17 Thread vladimirn
Anyone? :( vladimirn wrote: > > Hello all, > is anyone here able to help about form validation please? > After pressing submit button expected behaviour is stopping form > submission if checkbox is not checked. > > I have a bunch of stuffs in my form. > So far, check

Re: [fw-general] zend dojo text area- how that work?

2008-09-17 Thread vladimirn
not-work > http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/dijit-form-textarea-firefox3-enter-key-does-not-work > > > > vladimirn wrote: >> >> I need just a simple text area where you can type : >> First row in text area (i would like to press Enter h

[fw-general] Checkbox and Dojo_foRM validation, please help

2008-09-16 Thread vladimirn
Hello all, is anyone here able to help about form validation please? After pressing submit button expected behaviour is stopping form submission if checkbox is not checked. I have a bunch of stuffs in my form. So far, checkbox validation wont work. $agreements->addElement ( 'CheckBox', 'ages', a

Re: [fw-general] Zend_Dojo Email validation, checkbox and Submit dojo form question- please?

2008-09-12 Thread vladimirn
Dear Matthew, thanks for your help. I managed to prevent submiting form before all required fields are properly filled. Email: ->addElement ( 'validationTextBox', 'email', array ('required' => true, 'label' => 'Email address', 'regExp' => '[EMAIL PROTECTED],4}\b', 'invalidMessage' => 'Please pr

RE: [fw-general] One simple problem tooks me 2 hour- hope it will help someone..

2008-09-12 Thread vladimirn
vRandom wrote: > > > I don't see a reference to a helper path for the view to use. > > Something like : $this->_view->addHelperPath('path-to-helpers-dir'); > > Hope it helps > > Terre > > > Thanks Terre :) -- View this message in context: http://www.nabble.com/One-simple-problem-too

Re: [fw-general] One simple problem tooks me 2 hour- hope it will help someone..

2008-09-12 Thread vladimirn
Now i have similar(or not) issue. Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name LoggedInUser was not found in the registry. I have in application/views/helpers/ file LoggedInUser.php _view = $view; } function loggedInUser() { $auth = Zend_Aut

[fw-general] One simple problem tooks me 2 hour- hope it will help someone..

2008-09-11 Thread vladimirn
I am windows user. So i had in my signupForm: ->addElement ( 'MultiSelect', 'promotion', everything works fine on my computer (windows vista) and when i uploaded file on the web server(linux) i got error message that Plugin MultiSelect wasnt found After two hours of updating library fro

[fw-general] Zend_Dojo Email validation, checkbox and Submit dojo form question- please?

2008-09-11 Thread vladimirn
Hello guys, I made my first Zend_dojo_form and I have 3 questions so far :) I've attached file with my signupController.php because its to long to be posted here. http://www.nabble.com/file/p19441003/signupController.php.txt signupController.php.txt Its .txt but you can see whats inside. I do

Re: [fw-general] minial release contains .svn dirs

2008-09-11 Thread vladimirn
Oh, my bad, i am sorry, i was looking in the wrong folder with the same name... i am sorry :) vladimirn wrote: > > I just downloaded minimal, 3 min ago and there is .svn inside > > tfk wrote: >> >> On Thu, Sep 11, 2008 at 7:54 PM, Jordan Moore <[EMAIL PROTE

Re: [fw-general] minial release contains .svn dirs

2008-09-11 Thread vladimirn
I just downloaded minimal, 3 min ago and there is .svn inside tfk wrote: > > On Thu, Sep 11, 2008 at 7:54 PM, Jordan Moore <[EMAIL PROTECTED]> > wrote: >> I just downloaded both minimal zip and tar.gz archives, and neither >> one contained any .svn directories. > > Do you think I was dream

Re: [fw-general] Zend Form Grouping Elements

2008-09-11 Thread vladimirn
Hello Mathew, I tried this, but wont work for me. $form->addDisplayGroupPrefixPath('forms_Decorator', 'forms/Decorator'); . $form->addDisplayGroup(array('username', 'password'), 'login', array( 'legend' => 'Please Login:', 'decorators' => array( 'FormElements',

[fw-general] Can someone help about zend multipage form? Example from ZF docs doesnt work

2008-09-05 Thread vladimirn
Hello all, I already posted this, but no one answered, so i deleted this post and i will try with this one. I used Example 19.9. Registration Form Example. I did change the name of the file, and added some fields inside subforms and delete some others. SO imo, this should not cause this example f

Re: [fw-general] Zend Layout and _forward

2008-08-28 Thread vladimirn
Not so hard i think. If i understud well, you should use $this->_forward at the end of you action. So lets say you have IndexController.php and in this controller you want to use forward _forward('menu','nav'); // where 'menu' stand for menuAction in NavController and 'nav' is a NavController.php

Re: [fw-general] How to add select=selected in Zend_Form_Element_Multiselect

2008-08-27 Thread vladimirn
Well, ok. Thanks for your reply. I still dont understand how to put onClick or some other event inside tag which is created by Zend_Form_Element_Multiselect. I was not asking how to use js. Martin Martinov-2 wrote: > > 2008/8/27 vladimirn <[EMAIL PROTECTED]>: >> >>

Re: [fw-general] How to add select=selected in Zend_Form_Element_Multiselect

2008-08-27 Thread vladimirn
Martin Martinov-2 wrote: > > Use the onchenge event of your select tag. > > -- > Regards, > Martin Martinov > http://mmartinov.com/ > > Thanks Martin, but if i use onChange event in select tag, this will show hidden text area on any change inside multiselect, right? I need to make text area

Re: [fw-general] How to add select=selected in Zend_Form_Element_Multiselect

2008-08-26 Thread vladimirn
, i want this onClick inside of option tag first choice second choice//THIS ONE SHOULD BE SELECTED, RIGHT? But somehow it is not :) Well, sometimes it is selected, but not this time :) third choice// here i need onClick event :) Matthew Weier O'Phinney-3 wrote: > > -- vlad

Re: [fw-general] Strict Standards: i dont understand this warning

2008-08-26 Thread vladimirn
d setSubFormDecorators must have same parameters > as Zend_Form::setSubFormDecorators > > vladimirn wrote: >> >> Strict Standards: Declaration of >> forms_Registration::setSubFormDecorators() should be compatible with that >> of Zend_Form::setSubFormDecorators() in >&

Re: [fw-general] How to add select=selected in Zend_Form_Element_Multiselect

2008-08-26 Thread vladimirn
'onClick' => 'DoSomething'// <--- and more, how to add this on specific array key/value which i am building in $listOptions = array( 'first'=>'first choice', 'second' =>'second choice', 'third'

Re: [fw-general] How to add select=selected in Zend_Form_Element_Multiselect

2008-08-26 Thread vladimirn
Matthew Weier O'Phinney-3 wrote: > > -- vladimirn <[EMAIL PROTECTED]> wrote > (on Tuesday, 26 August 2008, 10:29 AM -0700): >> I was searching all over but failed to find a way to add >> selected=selected >> into multiselect. >> My code is like th

Re: [fw-general] Zend Dojo and Back button in browser

2008-08-26 Thread vladimirn
Matthew Weier O'Phinney-3 wrote: > > -- vladimirn <[EMAIL PROTECTED]> wrote > (on Tuesday, 26 August 2008, 10:35 AM -0700): >> Hello all, i was wondering if any of you have some nice solution for this >> problem. >> After displaying data on the page(using

[fw-general] Zend Dojo and Back button in browser

2008-08-26 Thread vladimirn
Hello all, i was wondering if any of you have some nice solution for this problem. After displaying data on the page(using zend dojo) when i click on browser Back button, i would like to keep those data on my page but i am navigated out of page and my data are lost. Dojo have some solution using

[fw-general] How to add select=selected in Zend_Form_Element_Multiselect

2008-08-26 Thread vladimirn
I was searching all over but failed to find a way to add selected=selected into multiselect. My code is like this: [code] $listOptions=(array( 'first'=> 'first choice', 'second' => 'second choice', 'third' => 'third choice' ); $lists = new Zend_Form_SubForm(); $lists->

Re: [fw-general] Almost there :) Now, file is on the server but error say that it is not :)

2008-05-19 Thread vladimirn
Thanks Math! :) it was permission thing :) it was set as 775 instead of 755 i changed to 755 and everything went just fine :) And i dont understand why this caused all my troubles tho :) However, i really appreciate your help! Vladimir Matthew Weier O'Phinney-3 wrote: > > -- vladim

[fw-general] Almost there :) Now, file is on the server but error say that it is not :)

2008-05-19 Thread vladimirn
Error i am gettign is: ErrorController: script 'banners/admin-index.phtml' not found in path (application/views/helpers/pagelets/templates/:application/views/scripts/) I have application/views/scripts/banners on my web server with admin-index.phtml in this folder. Exactly as on my localhost, wher

Re: [fw-general] noob problem - ZF works on localhost but not on webserver

2008-05-16 Thread vladimirn
files... $rowset = $this->db->fetchAll(''select * from banners'); works for Banner.php any ideas? :) vladimirn wrote: > > First of all i would like to say hello to all in here Tho, if i missed a > topic, please move it onto the right place. > > Well,

Re: [fw-general] noob problem - ZF works on localhost but not on webserver

2008-05-16 Thread vladimirn
er_HtmlEntities()) $this->filters->addFilter(new Zend_Filter_StripSlashes()); } Vincent-20 wrote: > > On Fri, May 16, 2008 at 5:21 PM, vladimirn <[EMAIL PROTECTED]> wrote: > >> >> BannersController.php - my version of existing method >> [

Re: [fw-general] noob problem - ZF works on localhost but not on webserver

2008-05-16 Thread vladimirn
s[$idx]['Populars'] = $row->toArray(); $idx++; } return $ar_res; } On my local mashine: When i am using original method, i am redirected to public area of site and getting this: Internal server error Error An error occurred, please tr

Re: [fw-general] noob problem - ZF works on localhost but not on webserver

2008-05-16 Thread vladimirn
curently i am not at this computer. I will reply in hour and half :) Vincent-20 wrote: > > On 5/16/08, vladimirn <[EMAIL PROTECTED]> wrote: >> >> >> I misstyped what php said :) actually PHP said that method does not >> exist, >> >> and i

Re: [fw-general] noob problem - ZF works on localhost but not on webserver

2008-05-16 Thread vladimirn
metimes :) I am not using SVn cause i cant figure it out how to use it. I read on svn web site but still dont get it. And it was already on web site i got to adjust. Thank you very much for your reply :) Vincent-20 wrote: > > On 5/16/08, vladimirn <[EMAIL PROTECTED]> wrote: >>

Re: [fw-general] noob problem - ZF works on localhost but not on webserver

2008-05-16 Thread vladimirn
on web site which is called .svn. I dont know what is this for. :) Sorry if i am bothering with my problem, just i dont know from where to start to solve it . @Jacob- i already read acrabat and all tutorial from acrabat web site, but couldnt figure it out.. :( Vincent-20 wrote: > &

Re: [fw-general] noob problem - ZF works on localhost but not on webserver

2008-05-16 Thread vladimirn
lcome :) > > You will have to supply more details about your problem for anyone to be > able to help. > > For instance what kind of error messages do you get? > > Jacob Oettinger > > > vladimirn wrote: >> >> First of all i would like to say hello to all i