I'm trying to sort out an opt in mailing list system. I understand the basic principles and design required but i'm having an issue with it being picked up as spam.
If i send a html email through outlook through [email protected] it works fine and is not treated as spam. When i use the Zend_mail object to send mail it sends but is treate...
I'm using Zend Framework 1.8/1.9's Zend_Application and the resource system to initilize a bunch of resources. I would like to only load certain .ini files based on the module being requested – for example, loading "help.ini" if (and only if) the CMS module is requested ("/cms"). Trouble is, I'm not sure how to access the request object ...
I've done most of my coding on smaller projects for myself and classes, and this summer ended up working on a fairly large project.
For reference, I'm working on a web app using Zend Framework, and I'm working with one other person.
I started working on it in May - at the time, there was a lot of code already written (pretty sloppily)...
I need to get the unique URL identifier for the product that is created after inserting an item into Google Base using the Zend_Gdata_Gbase library.
I can't seem to do this. I am finding a startling lack of documentation online about manipulating the objects used in these applications.
The url that I add to the object does not work to...
Is there is standard way to consume Zend_Rest_Server response with jquery?
I have a simple web service that I need to invoke and process result with ajax,
preferrably JQuery.
I assume I can parse xml response somehow, but that doesn't look like a mature solution.
...
Hi
Does anyone have an easy way to calculate how many points across a page a piece of text will consume in a particular font and size? (easy = minimal lines of code + computationally cheap). Zend_Pdf doesn't appear to have a function that does this, except for some very expensive calls for each character to getGlyphForCharacter(), getU...
public function getWorksheetData($id) {
/** create the following query using select object:
SELECT wc.label, wd.notes FROM worksheet_data wd
LEFT JOIN worksheet_columns wc ON wd.column_id = wc.id;
*/
$id = (int) $id;
$select = $this->_db->select()
->from(array('wd'=>'worksheet_data'),
array('wc.label','wd.notes'))
->join(arr...
I have read..some articles on the internet, but i don't get it :|, can you guys give me an example, how to make something like this: $_SESSION['name'] = 'value'; and echo $_SESSION['name'].How can I create something like this, with ZF?
Best Regards,
...
I've figured out how to get models into partialLoops using the setObjectKey method of the PartialLoop helper. What I'm wondering if there is a way to specify that specific partial loops use the model key and other ones don't. Right now I think I have to do something like this:
// sets the object key for ALL partialLoops
$this->partialLo...
Hey everybody,
I want to query a WHOIS server with PHP. This means that I have to TCP connect to Port 43 on the WHOIS server. Is there a way to do this with the ZEND Framework? I only found HTTP socket adapters.
I will do it with the native PHP socket functions if ZF does not provide wrapper classes.
Thank you
Lennart
...
I'm trying to show a list of the next 20 days' events from a Google calendar account. Infuriatingly recurring events aren't being shown (I assume because their start times are old)... So. Any ideas?
require_once dirname(__FILE__).'/../../../Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_HttpCl...
I am trying to Build a basic app, 2 PHP files, one using Zend_Rest_Server, the other - Zend_Rest_Client.
Here is server code:
class test1 {
public function test() {
return "mytest";
}
}
include_once ("common.php");
set_include_path('.' . PATH_SEPARATOR . '..\..\library/' . get_include_path());
require_once 'Zend/Load...
I need to write the following query:
SELECT forum_threads.id AS id_thread,
forum_threads.topic,
forum_threads.date_created,
forum_posts.content,
CONCAT(users.first, ' ', users.last) AS author_name
FROM forum_threads,forum_posts,users
WHERE forum_threads.category_id=1
AND forum_threads.author_id=users.id
AND forum...
I've been working with Zend Framework for a couple weeks so this might be a complete noobie question but I'm wondering if there's a way to customize the layout of forms in an explicit way using Zend_Form. I've looked all over the place but every example of Zen-Form I've found use the echo example.
For example, when I work with Smarty an...
Hello,
I have a result array fetched form database.
it's structure ion print_r is like this :
Array ( [id] => 1 [code] => MSjoo7 [description] => Hello World [Organization_id] => 1 )
Now i want to set these fetched values in my Zend Form's elements some think like this:
Code: MSj007
Description : Hello World
http://yfrog.com/0jscre...
Hello
I use Adodb and Active Record for database abstraction. I have started to use Zend Framework, and one of the reasons I like it so much is due to it's "Use at Will" architecture which allows me to continue using Adodb rather than Zend's db_table functionality.
I have taken a look at Zend_DB_Table on paper, but really want to know...
Hello you all:
I'm trying to create a controller inside a module using the Zend_Tool doing this:
$ zf create module admin
$ zf create controller login admin
With the first command it creates de module hierarchy, but in the second command it creates the controller and view into the default namespace.
Is it something that I'm doing wr...
Hello Everyone,
My hosting plan allows me to host multiple sites. When I try to add the Zend Framework libraries to php.ini, another Drupal site I have becomes a completely blank whitescreen. This is the offending line:
include_path = "/home/myusername/myzendusingsite.com/html/Zend"
The Drupal site is located at:
/home/myusername/m...
Hi all,
I want to provide my users with the ability to edit blocks of content on the sites I've designed for them.
Most blocks are contained in a <div>, and the users can have free choice of the HTML they use inside the block. However, there are some blocks which are contained in, for example, <ul> tags, and I want to limit the users ...
So I have an app that uses the Zend amazon web services client. I am now getting an error from the service, and I want to see the raw request and response.
I can't find a way to do this in the docs! This class implements Zend_Rest_Client so it seems like there should be a rawResponse() method but there isn't. This is on a production se...