How could I set the minFontSize property on Zend_Tag_Cloud?
It looks like that at the moment, but I get an error:
Decorator is no instance of Zend_Tag_Cloud_Decorator_Tag
$cloud = new Zend_Tag_Cloud(
array(
'tags' => array(
array('title' => 'Code', 'weight' => 50),
array('tit...
I get every time this error, why?
OpenID login failed!
$consumer = new Zend_OpenId_Consumer();
if (!$consumer->login('http://openid.org/webo')) {
die("OpenID login failed!");
}
...
"installing Zend Framework is so easy!!!!" yeah right...
Ok I'm working with a beginner's book and the ONE thing that is not excessively detailed is the most important part: Installing the darn thing. After browsing the quickstart guide for hours, all it said was:
"download Zend [...] add the include directory (bla bla) and YOU'RE DONE...
Hi,
I am having trouble over ridding the default set of decorators with Zend_Form.
I am attempting to extend Zend_Form in order to implement a different decorator style.
class CRM_Form extends Zend_Form
{
public function init()
{
$this->setDisableLoadDefaultDecorators(true);
$this->addDecorator('FormElements')
->addDecorator(...
I am using Zend Framework and want to be able to end my URLs in ".htm". What should I add to my .htaccess file?
So the following would be equivilent:
www.mysite.com/controller
www.mysite.com/controller.htm
As would:
www.mysite.com/controller/action
www.mysite.com/controller/action.htm
Nothing I have tried seems to work.
...
Currently I'm creating a controller (ZendFramework) that gets from database an URL string by given id.
/linker/show/id/6
I.e. id=6 /products/list/type/games.
In LinkerController I would use _forward() method to pass also optional params (POST, GET), but this method takes parameters such like ($action, $controller, $module, $params) an...
Actually, I'm looking for a framework which helps me using a "Data Mapper" pattern.
I have noticed that a lot of PHP framework propose an "Active Record" implementation...
I found the "Active Record" too poor for managing "functional data"...
It also seems simpler to handle "complex transactions" with this pattern, or to handle non-DBMS...
Zend framework: what is the significance of controller filenames that have "init" in them? I have 3 files that seems to have exactly the same code, named:
TestController_init.php
TestController.init.php
TestController.php
?
...
What are (the best) approaches for the Zend Framework to nest different controllers actions into one big one?
And how would I solve the following situation:
A link in my main big view calls an other view where I can select a specific value and come back automatically after selecting to the main view and pre-filling this selected value?
...
I'm trying to send some emails via GMail SMTP and the CC and BCC lines are not receiving the email. I've tested GMail SMTP with Evolution (Linux email client), which works fine, though I could not get a raw dump of the communication because it's via SSL.
Here's the communication log from Zend_Mail:
220 mx.google.com ESMTP 22sm2669783yx...
Hello,
I'm using Zend Framework but I have a little problem:
How could I redirect internal all requests from
localhost/zendframework/
to
localhost/zendframework/www/
What have to put into my .htaccess in the folder localhost/zendframework/?
...
I've never created a custom route before, but I finally have a need for one. My question is: How can I create a custom route, and where should I create it? I'm using Zend Framework 1.9.6.
...
I have just sucessfully tested my Zend based application on the localhost.When I deployed it on a shared hosting site I got the error below.It happens whenever I try navigate to protected pages of my application.
Warning: include(/home/davidkag/public_html/prototype/application/models/DbTable//Users.php) [function.include]: failed to op...
What is the right way to assign a few validators to the same data field when using Zend_Input_Filter.
E.g. my validators array is this and I need to validations on Field2:
$validators = array(
'Field1' => array(
'NotEmpty',
'messages' => 'Field1 must be filled'
),
...
I am trying to migrate to zend framework. Should each webpage be a Controller or an action.
What is the advantage of having multiple actions. Can they talk to each other? and whats the best use of Action helpers and View helpers.
Please guide me on how to start on the framework.. thanks
...
I'm trying to copy a site built on ZF from production to a localhost environment. All files and db contents were copied but I just get a blank screen. No errors, nothing
Changes made in config.ini I added an entry for development:production
general.host = "localhost:8888"
db.adapter = PDO_MYSQL
db.params.host = localhost:8888
db.params...
Hi,
I want to upload an image with Zend Framework version 1.9.6. The uploading itself works fine, but I want a couple of other things as well ... and I'm completely stuck.
Error messages for failing to upload an image won't show up.
If a user doesn't enter all the required fields but has uploaded an image then I want to display the up...
I'm inserting a new row into my database with this code:
$data = array(
'key' => 'value'
);
$this->getDbTable()->insert($data);
How can I get the row id of the this row that I just created?
...
Currently, I'm getting a regular DbTable Auth Adapter:
protected function _getAuthAdapter($formData)
{
$dbAdapter = Zend_Db_Table::getDefaultAdapter();
$authAdapter = new Zend_Auth_Adapter_DbTable($dbAdapter);
$authAdapter->setTableName('users')
->setIdentityColumn('username')
->setCredentialColumn('passw...
I currently have Zend setup to look for a layout script in each module's view/scripts/layout.phtml file (ie: /application/modules/moduleName/scripts/layout.phtml). This is by setting layout[] to nothing (blank) in the application.ini file (resources.layout[] = )
The issue is that many modules may share the same layout. I don't want to...