[fw-general] Dinamicly created Menu question

2010-10-29 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

[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: Alert you suggested me to make wont work as well

[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 , 'regExp'

[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] 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 to declarative solved the issue. -- Giorgio

[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.

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.

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

2008-12-03 Thread vladimirn
. Thank You Daniel Latter 2008/12/2 vladimirn [EMAIL PROTECTED]: 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

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

2008-12-03 Thread vladimirn
to 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 errors. The problem

[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

[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 ?=$this-jQuery ();? ?=$this-ajaxLink( Home, /admin/index/hello,

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

2008-11-26 Thread vladimirn
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), vladimirn [EMAIL PROTECTED] wrote: I would like to figure this out: On my index.phtml page is a link

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' = '#contentJ', 'noscript' = false

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

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

2008-11-26 Thread vladimirn
'='script' ) Ajax Requested Link: ?php echo $this-ajaxLink( [ Edit ], /admin/index/edit, array( 'id' = 'edit', 'update' = '#contentJ', 'noscript' = false, 'inline' = true, 'method' = 'POST')); On Wednesday 26 November 2008 17:27:37 vladimirn wrote: Well

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 ]nbsp; # [ 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

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: href=# id=delete onclick=$.post('/admin/index/hello', {}, function(data, textStatus) { $('#contentJ').html(data); }, 'html');return false;

[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/

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

2008-11-25 Thread vladimirn
. '/application/controllers', 'admin' = $base . '/application/admin/controllers' ) ); Thankss, V Matthew Weier O'Phinney-3 wrote: -- vladimirn [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 03:31 AM -0800): Hello all! I have to add admin folder into my

[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] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread vladimirn
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 Tuesday 25 November 2008 15:55:30 vladimirn wrote: I grab this code from documentation

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(

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.route

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-18 Thread vladimirn
Thank you Daniel, This is my view script: ?php if (count($this-paginator)): ? ?php foreach ($this-paginator as $banner): ? div div style=float:left; padding-left:20px ?php echo $banner['bannerurl'] ? /div /div ?php endforeach; ? ?php endif; ? On the page i am getting expected amount of

Re: [fw-general] Question about zend pagination

2008-11-18 Thread vladimirn
? -Matt On Tue, Nov 18, 2008 at 10:14 AM, vladimirn [EMAIL PROTECTED] wrote: Thank you Daniel, This is my view script: ?php if (count($this-paginator)): ? ?php foreach ($this-paginator as $banner): ? div div style=float:left; padding-left:20px ?php echo $banner['bannerurl'] ? /div

[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 );

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',

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.

[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

[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 -0700): Anyone? :( Sorry, a lot of us are at ZendCon

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

2008-09-17 Thread vladimirn
://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 here and to type in next row) Next row here[Enter] And so

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, checkbox validation wont work

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 week. ;) vladimirn wrote: Hello all, is anyone

[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',

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 ?php class Zend_View_Helper_LoggedInUser { protected $_view;

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:

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

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',

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 dreaming? =)

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 PROTECTED] wrote: I just downloaded both

[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

[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

[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

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 ?php class IndexController extends Zend_Controller_Action { public function indexAction() { //there

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 visible

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 option 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]: Martin Martinov-2 wrote

[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();

[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

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 zend dojo) when i click on browser Back button

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 this: [code] $listOptions=(array( 'first

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

2008-08-26 Thread vladimirn
which i am building in $listOptions = array( 'first'='first choice', 'second' ='second choice', 'third' = 'third choice', 'clickOne' = 'I want this one to opena hidden text area :)' ); :)) Matthew Weier O'Phinney-3 wrote: -- vladimirn [EMAIL PROTECTED] wrote (on Tuesday, 26 August 2008, 11

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

2008-08-26 Thread vladimirn
', array('tag' = 'dl', 'class' = 'zend_form')), 'Form', )); return $this; } So i dont know what to do and how to make it compatible :) R! wrote: It means that your method setSubFormDecorators must have same parameters as Zend_Form::setSubFormDecorators vladimirn

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

2008-08-26 Thread vladimirn
: -- vladimirn [EMAIL PROTECTED] wrote (on Tuesday, 26 August 2008, 12:23 PM -0700): Thanks for the link and for guide lines. I thought that something like that should be solution, but i need to rephrase my question- how to add on click in my array? is there somethin like: new

[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,

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: -- vladimirn [EMAIL

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

2008-05-16 Thread vladimirn
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 in here Tho, if i missed a topic, please move it onto the right place. Well, i got to make some

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

2008-05-16 Thread vladimirn
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: On 5/16/08, vladimirn [EMAIL PROTECTED] wrote: Hello Jacob

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

2008-05-16 Thread vladimirn
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: Hello Vincent :) Web site is live

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 know that method exist. But when i include file Banner.php which

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

2008-05-16 Thread vladimirn
again later. if i am using first method i rewrote, everything is working on local machine, but not on the live site. 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 know that method exist

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

2008-05-16 Thread vladimirn
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 [code] public function adminIndexAction() { if (!$this-is_admin()) $this-_redirect(/admin/login

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

2008-05-16 Thread vladimirn
... $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, i got to make some changes on the web site which has