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
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
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
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
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
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
=)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.
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
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
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.
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
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
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.
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
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
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
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
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
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
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.
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-
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
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
23 matches
Mail list logo