No adapter found for Application_Model_Table_TableName
It can occur if your Database configuration in configs/application.ini is wrong the file doesn't exist in the path
How to get checkbox multi-option Zend Form array values in View
We can get the Multi-option values set in Zend Form and to compare the values in the view using the following function.
Ex: $multiValues = $this->form->getElement('all_users')->getMultiOptions();
In the 'all_users' is the form elememnt name in the Form
Ex: $multiValues = $this->form->getElement('all_users')->getMultiOptions();
In the 'all_users' is the form elememnt name in the Form
How to fix the url routing when using SEO url
While we use seo url like http://domain/destination/destination-name.phtml all the url is reset to destination controller if you have not used the default attribute. To fix that you need to use the 'default' attribute with the url parameters
Ex:
$this->url(array('controller'=>'events','action'=>'new-year.html'),'default',true);
Ex:
$this->url(array('controller'=>'events','action'=>'new-year.html'),'default',true);
Subscribe to:
Posts (Atom)