Hi I just finished coding my OAuth w/ zend framework. I retrieve my Token. The query string returned has user id,username,secret,token
I try the following
$twitter = new Zend_Service_Twitter(array(
'username' => $auth['username'],
'accessToken' => $auth['token']
));
$rsp = $twitter->status->update('My Tweet');
But I cant successfully...
Hello. I have 3 tables.
1. payment(user_id, calculation_id)
2. user(id, user_name)
3. calculation(id, period_start_date, period_end_date)
I need to select payments with user_name, period_start_date, period_end_date. How can I do it within one query in Zend Framework?
Thanks a lot.
...
Hi,
I have a bunch of simple products listed on the homepage and I want to display the custom options for each one of them. The custom options are added by me from the admin and they show on the individual product page but I just can't display them on the listing page.
I tried this but it didn't work for me.
I'm using Magento 1.4.1.1.
...
Is it possible to use the HMVC pattern in Zend Framework? It is implemented in Kohana 3 by default and I really love it, so now I want to use it in Zend Framework.
Edit
I want to make it possible to:
1) include a complete request (like controller/action) inside an other request
2) make a direct call to the controller/action as above
I...
I have been going through this page to install zend framework on my machine locally.
http://framework.zend.com/manual/en/zend.tool.framework.clitool.html
I can't get it recognize the command in my terminal "zf show version", it keeps coming back to me with command not found. I do have xampp installed on this machine and everytime I run...
Hi, i want to echo an Image inside an Zend Framework View Script (files cant be read by user)
This works in Controller:
$service = My_Service_Factory::getFileServer();
header('Content-Type: image/jpeg');
echo $service->getProfilePicture($user); // returns binary string
exit;
But how to implement this f...
I'm using Zend framework provided IMAP classes to access gmail messages over imap. I access the message headers of all the messages in the inbox one by one and index them locally. The script works fine for inboxes with messages less than 10000. For larger inboxes the script looses the connection, probably a timeout.
Here is the stack tr...
Hi !
I've tried Zend PDF and it works pretty well but I have a troublesome problem : when I add an image to a page with drawImage() it always appears pixilated regardless position and dimensions.
There's many lines I don't understand in the Zend images classes, has someone already encountered this problem?
How can I fix this ?
(I canno...
I am implementing a magento shopping cart for the purpose of selling course material and online/offline tests.
Their is a couple of different ways to purchase the course material.
Book Only
Online Test Only
Book & Online Test
Paper Test Only
Book & Paper Test
Each of the above are represented with their own sku's and prices and va...
How do you output an array with FirePHP?
I'm using FirePHP in a Zend Framework project. I can output the value of individual variables with:
$logger->log('foo = '.$foo, Zend_Log::INFO);
and see something like:
foo = "Ponies!"
However if $foo is an array I only see:
foo = Array
and the word Array is not clickable or hoverable or...
I'm using the Zend Framework GData tools to manipulate various private API feeds (Calendar, contact etc). From what I've read in various examples, each API needs to be authenticated individually like so:
$service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME;
$user = "[email protected]";
$pass = "pa$$w0rd";
// Create an authenticated HT...
I'm currently in the planning/early building phase of a desktop flex application that will be communicating to a Zend Application on a web server.
The flex app will basically be like a layout/view in terms of the MVC pattern, it will make requests to various controller actions and display the data returned in a meaningful way, and post ...
Hi,
I've deployed a project in the staging server and experienced issues regarding the Zend_Rest. I created a simple test service that should return "hello world" on the calling script. The call would take approx. 4secs to finish. It is really slow given the simple task. Any suggestions for optimization?
here's some code snippets :
//...
Hi
Facebook document that you need to do the following for canvas login
Include facebook library
Instantiate class with App Id and secret
Check that the user has a valid session
If they do check also that you can get there user object by doing an api call /me
If they dont then process the login redirect
All this especially the Fac...
I am building an application using Zend_Framework and I would like to ask you for an advice regarding Zend_Form. All forms on the site should be decorated with tables, instead of definition lists. My idea is that I should create a common form (with no elements) and then just instantiate it across the site and add elements as needed. This...
Hi Folks, i use Zend_Auth for one of my Projects, but so far haven't figured out how to set the Lifetime for the Session, or how to extend it (lets say it should run 5 minutes and should reset to that when the user makes an action), here is my Initialization code:
$authAdapter = new Zend_Auth_Adapter_DbTable($this->_model->pdo);...
I would like to keep the old default Zend Router, and just add a router for administration subpages since the controllers are growing in size and I would like to logically separate them a little as well as have cleaner URLs.
The documentation seems to explain how to do other things but not this...
...
I am writing a zend application and trying to keep the functionality as modular as possible. Basically I want to drop the folder into the application and have instant functionality.
Anywho; I'm trying to create sidebar links from each module. The method I'm using is to use the bootstrap:
Here is the function in my bootstrap file. I've ...
Hello,
In an action method, I have the following excerpt of code:
error_reporting(E_ALL);
ini_set('display_errors', '1');
Logger::log('test');
The Logger class is defined in this way:
class Logger {
public static function log() {
echo "test";
}
I deliberately forgot the closing brace of the function to demonstrate the ...
What's the difference between the appendName() and appendHttpEquiv() methods of headMeta()? As an example, is keywords meant to be used with Name or http-equiv?
$view->headMeta()->appendHttpEquiv('keywords', 'keys');
or
$view->headMeta()->appendName('keywords', 'keys');
...