[fw-general] Re: Usage of Zend_Validate with Zend_Form

2010-07-25 Thread neobeacon
this is the way I'm using if($this->getRequest()->isPost() && $form->isValid($_POST)){ but I saw most are use 2 IFs to do it if($this->getRequest()->isPost()){ if ($form->isValid($_POST)){ is using the first way has draw backs ? -- View this message in context: http://zend-framework-com

[fw-general] Re: Unable to write session data when using session resource plugin

2010-07-25 Thread neobeacon
after adding resource.db I add the following lines to config.ini resources.session.use_only_cookies = true resources.session.remember_me_seconds = 86400 resources.session.saveHandler.class = "Zend_Session_SaveHandler_DbTable" resources.session.saveHandler.options.name = "session" resources.se

Re: [fw-general] grade zend framework and compared to Symfony and ASP.NET MVC

2009-09-22 Thread neobeacon
I'm a student and I'm really new for Zend Framework.Yes,PHP and Zend is little bit behind than some other languages and Frameworks.But they are always easy to learn and have appropriate power they want and especially clean.Zend also open source,If you have any idea how would be this in future,I th

Re: [fw-general] To get the complete row using join in Zend_Db_Table

2009-09-16 Thread neobeacon
This is it's SQL code SELECT sec.title AS 'section', cat.title AS 'category', auth.Name AS 'author', modi.Name AS 'modifier', art . * FROM article art INNER JOIN section sec ON sec.id = art.section_id INNER JOIN category cat ON cat.id = art.category_id INNER JOIN user auth ON auth.id = art.auth

[fw-general] To get the complete row using join

2009-09-16 Thread neobeacon
This is the http://www.nabble.com/file/p25473213/article.pdf table structure of mine.I set dependant tables and reference maps for article Zend_Db_Table.I want to get the article row which has exact id value with user names instead author_id and modified_by and section name and category name inst

Re: [fw-general] view helpers within a view helper

2009-09-09 Thread neobeacon
Thanks for all. yes I also think that this way is inefficient.I should use join for this purpose,Thanks again for all -- View this message in context: http://www.nabble.com/view-helpers-within-a-view-helper-tp25351769p25368712.html Sent from the Zend Framework mailing list archive at Nabble.com

Re: [fw-general] view helpers within a view helper

2009-09-08 Thread neobeacon
=)Thanks -- View this message in context: http://www.nabble.com/view-helpers-within-a-view-helper-tp25351769p25352263.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] view helpers within a view helper

2009-09-08 Thread neobeacon
I create a view helper to show comments for a article.(by getting article_id from comments table and using foreach to get each comment). But in comment table only has commentator's id. I used a view helper to convert user_id to get the user name. With in a view helper can I call another view he

Re: [fw-general] Is this easy way to create Complex forms ?

2009-09-01 Thread neobeacon
As Alastair James' advise (who is the writer of above original post) I add following code to action //to add elements to form $form->addElement($username) addElement($description); //assigned the form to the view before rendering it $this->view->form=$form; $this->view->render("cr

Re: [fw-general] Getting POSTed values of a form which build by view script

2009-09-01 Thread neobeacon
Extremely sorry,You are great. Sorry about my english. -- View this message in context: http://www.nabble.com/Getting-POSTed-values-of-a-form-which-build-by-view-script-tp25233309p25239112.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Getting POSTed values of a form which build by view script

2009-09-01 Thread neobeacon
I read this post in this site http://www.nabble.com/Zend_Form-complex-forms-td16785924.html and can I do that way? Thanks,You are grate. -- View this message in context: http://www.nabble.com/Getting-POSTed-values-of-a-form-which-build-by-view-script-tp25233309p25238975.html Sent from the Zend

Re: [fw-general] view.php?id=01 to /view/id/01

2009-09-01 Thread neobeacon
Thanks, But I believe default router will load viewAction when type /view/id/01(I don't want to edit Bootstrap class) Thanks in deep. -- View this message in context: http://www.nabble.com/view.php-id%3D01--to---view-id-01-tp25234061p25238914.html Sent from the Zend Framework mailing list arch

Re: [fw-general] view.php?id=01 to /view/id/01

2009-09-01 Thread neobeacon
Thank you,This is so amazing.Thanks for all developers of the framework. :jumping: -- View this message in context: http://www.nabble.com/view.php-id%3D01--to---view-id-01-tp25234061p25236947.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] view.php?id=01 to /view/id/01

2009-08-31 Thread neobeacon
when using CRUDs,I want to generate page content from Zend_Db_Row object.To get the content from using id of the table (usng GET method) how to config the application.Please help me.Thank you I know how to call database & get the row ,view helpers and etc, I want to know how to set the action c

Re: [fw-general] Getting POSTed values of a form which build by view script

2009-08-31 Thread neobeacon
I also want to use Zend_Form But I don't know how to design this form using Zend_Form.I know how to add form elements and filters and validators.IF you have any idea please send.Thanks. And also I got the logic to get POST[] values.Thanks in deep. http://www.nabble.com/file/p25234466/Picture1.pn

[fw-general] view.php?id=01 to /view/id/01

2009-08-31 Thread neobeacon
To genarate page content with using GET['id'] and using database tables, I create viewAction() in ArticleController class What I want to do to get GET['id'] from viewAction() ? Do I want to configure Zend router to get /view/id/01 url strucure? -- View this message in context: http://www.nabb

[fw-general] Getting POSTed values of a form which build by view script

2009-08-31 Thread neobeacon
If I build a form by using view script (using html tags/without using zend's form elements) how to get posted values from action's page ? -- View this message in context: http://www.nabble.com/Getting-POSTed-values-of-a-form-which-build-by-view-script-tp25233309p25233309.html Sent from the Zend

[fw-general] Getting POSTed values of a form which build by view script

2009-08-31 Thread neobeacon
If I build a form by using view script (using html tags/without using zend's form elements) how to get posted values from action's page ? -- View this message in context: http://www.nabble.com/Getting-POSTed-values-of-a-form-which-build-by-view-script-tp25233310p25233310.html Sent from the Zend

[fw-general] Idea for desinging this form

2009-08-31 Thread neobeacon
http://www.nabble.com/file/p25228110/Picture1.png I hope to use parial() view helper to add "Meta data Information " div and the Tinymce textarea divs from script files. If I add other whole form to view and if form submitted to submittedform action(action = "/submittedform"),How to I access po

Re: [fw-general] How to add a database genarated menu for a layout

2009-08-30 Thread neobeacon
view helper is a .phtml file .Can I genarate it's code from database -- View this message in context: http://www.nabble.com/How-to-add-a-database-genarated-menu-for-a-layout-tp25209362p25210306.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] How to add a database genarated menu for a layout

2009-08-30 Thread neobeacon
If I create a menu controller and index action for generate the menu,Can I use action() from layout to echo output of menu without creating any front controller action plugins(like action stack) thanks -- View this message in context: http://www.nabble.com/How-to-add-a-database-genarated-menu-

[fw-general] How to add a database genarated menu for a layout

2009-08-30 Thread neobeacon
If I use a placeholder for menu and the menu must be generated via database table,how I create the menu placeholder? If you know any good tutorial for this problem,Please inform me.Thank you. -- View this message in context: http://www.nabble.com/How-to-add-a-database-genarated-menu-for-a-layo

Re: [fw-general] Admin module

2009-08-27 Thread neobeacon
I think this link will help you http://blog.keppens.biz/2009/06/create-modular-application-with-zend.html http://blog.keppens.biz/2009/06/create-modular-application-with-zend.html -- View this message in context: http://www.nabble.com/Admin-module-tp25111257p25171623.html Sent from the Zend Fr