So I have several sites running under the same zend setup. All of the sites run pretty normally except one. Upon loading or reloading this one site, reguardless of which page your on (excluding the 404 page explanation later...) you get a serious pause before any content begins to download. Using firebugs net panel you can see that the f...
Am currently evaluating the best RIA technologies to use for building a new e-commerce site.
Currently there are two options we are looking at.One is the flexstore example where we intend to embed the intuitive shopping cart into our site or go full JQuery in providing the needed end user experience.We intend to use Zend as our server pl...
Friends,
How I integrate Ajax with zendframework.I need some good tutorials.
...
Hello,
I made my first project with ZF, used the Zend_Tool component.
For the index controller a created some actions, and they work well.
But my question is, when do you create a new controller?
thanks!
...
In my zend project ,I want to show some health problems along-with a drop-down box and a text-area.My Controller and views are given below.
class IndexController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
$healthproblems =new Model_DbTab...
Iam trying to set up the GuestBook Application which comes with zend framework tutorial , Iam following the steps one by one,
However when I enter this command - zf create db-table Guestbook guestbook
Iam getting an error, I have pasted the error here -
C:\xampp\htdocs\quickstart>zf create db-table Guestbook guestbook
...
Here's the code:
<?php
class Order extends Zend_Db_Table_Abstract
{
protected $_name = 'orders';
protected $_limit = 200;
protected $_authorised = false;
public function setLimit($limit)
{
$this->_limit = $limit;
}
public function setAuthorised($auth)
{
$this->_authorised = (bool) $auth;
}
public function insert(arra...
I'm learning by reading this tutorial: Link
Here's the code:
<?php
require_once 'Zend/Loader.php';
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
public static $root = '';
public static $frontController = null;
public static function run(){
self::setupEnvironment();
self::prepare();
...
I accidentally removed the application from the left pane and now I can't get it back no matter what I do.
I tried opening the .solution file from within Zend Studio, but it only loads the file, not the entire solution.
How can I have it load the entire application?
Edit:
I still can't what to open. In Visual Studio, you can open a pr...
Hi,
Iam coding my first Zend Framework application. Iam looking for some good applications for beginners to learn the framework and its intricacies.
I went through the quick start guestbook application from Zend's website in first 2 days and it was a nice tutorial and I got to learn many things from it.
However I want to go through ...
In ASP.Net you'd create a MasterPage and have whatever pages use that.
I need my pages to use the same basic layout. Where do I create it?
...
Ive got a view helper in library/my/view/helper/gravatar and so in any view I can call $this->gravatar($email).
But how can I access this function in the models (or controllers)?
Sorry if its already been asked but Im new and the documentation is bloody awful in parts.
Thanks everyone
...
Does the Zend Framework (or applications built using Zend_Application) provide any mechanism for persisting ACL lists, or is that detail left to the individual system/application developer?
Most of the examples I see online involve setting up your ACL rules in code. I'm curious if there's any standard/preferred way to save these rules ...
Hello,
ATM I set the currency and locale objects in the bootstrap and assign them to zend registry.
Then in the controller that needs them, In the init I do:
public function Init() {
$this->locale = Zend_Registry::get('locale');
$this->currency = Zend_Registry::get('currency');
}
I was wondering if there's away to make v...
fopen(C:/xampp/htdocs/adv/application/views\helpers/Layout.php) how to fix this path?
And why does ZF is searching for bundled helpers in this folder and not in zend library folder?
By the way, here path is fine, but still searching in wrong folder
fopen(C:/xampp/htdocs/adv/application/controllers/helpers/ViewRenderer.php)
...
whats the best way to get Statistics Web pages by the users visited ?
anybody may explain how do we implement to get statistics web pages by the each users visited
and the most page is visited?
...
So, I have a .pdf file and I need to be able to determine if it was created by being scanned into a PDF or not. I'm trying to determine if it is a pdf I can display as text or not.
I have PHP & Zend at my disposal.
I'm thinking I might be able to use Zend's
$pdf->properties['Producer']
but I'm not 100% sure.
Is there any way to be...
Hi all,
Update I was able to get this to work by creating a custom Label decorator, which extended Zend/Form/Decorator/Label.php. I added a setTagClass() method to it and overrode the render method to create the enclosing tag with the desired class. There might be a more elegant way to do it but this seems to work.
I'm looking for in...
Hello, assume this situation
$form->addElement('select', 'companies', array(
'disableTranslator' => true,
'label' => Zend_Registry::get('Zend_Translate')->_('companies'),
'filters' => array('Int'),
'required' => true,
'multiOptions' => array(1 => 'Company 1', 2 => 'Company 2')
));
if($_POST...
I just finished reinstalling the "All-In-One Eclipse PDT" from zend.com. It's unable to debug even the simplest "Hello World" PHP script. How can such a major open-source app be released in such a bad shape? What am I doing wrong?
This is the result of doing a "Debug As... 2. PHP Script":
Problem signature:
Problem Event Name: APP...