Separate but related to http://stackoverflow.com/questions/3363764/how-to-dynamically-override-forms-and-or-views-using-zend.
I want Zend to try to load custom forms/views before loading a set of default forms for a web application to let clients create custom forms for their application.
How do you configure the autoloader to load a d...
We've got a lot of ZF experience.
Current project needs a basic user "control panel" and a staff "control panel" backend.
We could roll this from scratch, but it seems like a waste of time. What we'd like:
User Management (registration, forgot password, remember me, etc)
ACL & Authentication
A simple "backend control panel" for th...
It is possible to fetch the zend resources (zend_fetch_resource) without knowing the type of the fetching resource? If so, how?
Note: I am writing PHP extension.
...
Hey,
I got two forms and they share some ids as two input fields are called 'title'.
Zend generates me a nice output like this:
<dl class="zend-form">
<dt id="title-label">
<label for="form1-title" class="required">Description</label>
</dt>
<dd id="title-element">
<input name="form1[title]" id="form1-title" value="..." t...
I just found and installed Zend Framework CE to test my web sites. I've used Apache before but this seems to be a great deal more gui and automated. My question is how do I change the Apache C:/Program Files (x86))/Zend/Apache2/htdocs/ with Zend Framework? Is there a way to do it and have it update everywhere it needs to?
also, I'm pl...
Hello there,
we are trying to find the best solution for merging an XML data coming from an HTML form that the user is filling, with the PDF "template" form that resides on the server. After submitting the form in the browser, user should be able to download his/her merged PDF.
I have found similar questions regarding FDF and PHP but n...
I have installed zend framework on my local machine. I have configured a vhost in httpd.conf and have added a line in my hosts file (127.0.0.1 mysite). I am running windows 7. Everything works perfect. The problem is when i upload on a hosting server the paths get mixed up.
I am uploading on a remote dir called zf-framework. To access t...
I hope you will help me. Please send me the answer quickly.
...
I am building an application based on the Zend Framework, and my issue is that whenever I grab data from the database (from inside the respective model class) using the fetchAll() method, despite the fact that \n characters are stored in the database for the string I'm trying to fetch, when I output the variable to the view script, there...
Is it possible to prevent zend engine to free resources allocated in PHP?
For example, when a process is forked() and the resource is duplicated to the child process, when either child process or parent process exit, the resource is free thus other processes can't access them any more.
...
I have a php array defined in "layout" known as default.phtml and that array is some thing like this
$mydata['abc'] = array("A","A","A","A","A","A","A");
I can get the Layout using a custom defined function
$cls = new cass();
$layout = $cls->getLayout() ;
How do i access the same array "$mydata['abc']" in the Controller and vie...
I have a bunch of sites set up on my local development environment. Out of those sites I have two sites where I experience horribly slow page load times. Horribly slow, like approximately 5 minutes. The thing is my computer (mac pro osx 10.6, dual xeon nehalem processors, 6 gb of ddr3 memory) is adequately equipped and the other sites lo...
I have next settings in application.ini
resources.db.adapter = PDO_MYSQL
resources.db.params.host = localhost
resources.db.params.username = some
resources.db.params.password = somepass
resources.db.params.dbname = name
resources.db.isDefaultTableAdapter = true
have 2 similar models Zend_db_table_Abstract
in first model i use
$db = ...
How do call the Controller/action in Zend framework from Javascript such as
if(a==b){
}
else{
document.myform.action="/fz/controllername/actionname"
}
My controllers are located in the src/controllers/
...
i am getting the error "Cannot refresh row as parent is missing" when I try to save. Here is my code
abstract class Webapp_Model_Resource_Db_Table_Abstract
extends Zend_Db_Table_Abstract
{
/**
* Save a row to the database
*
*
* @param array $info The data to insert/update
* @param Zend_DB_Table_R...
Hi there,
I want to load jquery-admin.js while on admin module, and jquery-site.js while on the front end ( site ) module.
I also initiated the request from the bootstrap so that I can get Zend_Controller_Request_Http data before the bootstrap dispatches( I am afraid that it doesn't work ) like this:
public function _initRequest()
...
Hey
Any Ideas how I can build the following query with the zend_db_table class?
SELECT SUM(x) FROM traffic
thanks
...
Hi,
I am trying to make a GET request to gowalla spots by Zend_Http_Client (cURL adapter) here is my class:
class Application_Model_Gowalla
{
private $_config;
private $options;
private $array;
private $json;
public function __construct() {
$conf = Zend_Registry::get('config');
$this->_confi...
I'm on windows 7 with wamp and I don't know where to put the zend framework, as I know I need to change the path of the include_path but I don't know what should that be to work.
I get this error when I open the test files or anything withing the zend files:
Warning: require_once(PHPUnit/Framework.php)
[function.require-once]: ...
The story goes like this:
I have Zend server CE PHP5.3 with all the modules available enabled running on Debian Etch.
I decided to upgrade Debian Etch to Lenny, then also upgraded PostgreSQL 8.1 to 8.3
Restored the database mydatabase --> $ psql mydatabase < schema_and_data.sql
Checked the web site that connects to a postgreSQL databas...