Hello I have problem.
Message: PartialLoop helper requires iterable data
Stack trace:
#0 [internal function]: Zend_View_Helper_PartialLoop->partialLoop('partials/ListaK...', Object(Model_Klasy))
#1 C:\xampp\php\PEAR\Zend\View\Abstract.php(342): call_user_func_array(Array, Array)
#2 [internal function]: Zend_View_Abstract->__call('parti...
Hi,
I want to add contact fetch (gmail,AOL,hotmail,yahoo) script in my social networking site using zend-framework.
Any one can tell me how to do this ?
...
how to access this paramvalue in controller..?
$router->map('Company', 'Company', array(
'controller' => 'companies',
'action' => 'add',
'paramkey' => 'paramvalue',
'anotherparam' => 'anothervalue'));
Plz help me
...
Hi,
first thing I want to know in between two algorithms which one is better
select table1.* from tabel1 inner join table2 on table1.id = table2.table1_id;
and then to extract or
select * from table2;
and then using foreach loop
select * from table1 where table1.id = table2.table1_id
*Please tell me a plausible reason also
and no...
My current code is this:
$select = $this->select()
->from(array('r' => 'recipes'), $this->getAdapter()
->quoteInto("r.*, MATCH(title, directions) AGAINST(?) AS score", $searchText))
->where('MATCH(title, directions) AGAINST(?)', $searchText);
//SQL: SELEC...
I found a few Zend sample applications but all of them use Zend_DbTable. Does anyone know of a full Zend example application built with Propel to learn from?
...
I'm wondering if anyone has found or written an extension that would allow a magento website administrator the ability to add values to their products attribute while adding the product. For example, if I sell books and want the book author to be in a drop down list so that it would be used in layered navigation, it seems odd that I wou...
Here is what happens to some users of IE8 when using the website i am responsible for:
person logs in, credentials are verified, zend auth is created. After login, user is redirected to the default page.
the default page has 5 ajax request that start on document ready. The ajaxes somehow don't have the php session in the request and r...
i'm trying to work out how i can stop zend or redirect zend to go to a different zend controller and action if a check within the boot strap fails.
for example a get variable does not exist or more likely a session does not exist meaning the user must log in.
so the user had originally requested index/someaction
but i want them to go ...
I have a situation where I need to make sequential AJAX requests represented by an ordered list (<ol><li>..) on the page. I use jQuery.
Requirements:
Each request has to wait for the previous one to complete with a successful status.
The success or error message needs to be appended to the corresponding list item.
The process should h...
The problem I have is that I am trying to put a Zend Framework web application online and while it works perfectly on my localhost, it has a lot of errors online. I know that there are certain things required for a Zend website to work.
I need the document root to be serwano.com/staging/fbr
I need php5
I need mod rewrite on
I need t...
I'm using these libraries for an email application I'm building.
$storage = new Zend_Mail_Storage_Imap($imap);
if (strpos($storage->getMessage($i),'chocolate') !== FALSE )
{
//Move to chocolate folder here
}
Also, is there a way to put incoming emails from this sender to automatically go into the chocolate folder from now...
I'm using Zend_Mail_Storage_Imap to retrieve messages. When the code retrieves an email with an attachment it contains 3 parts. The first part's content is the body of the email. The second part's content is the body of the email with some extra whitespace after it. The third part is the base64 attachment.
Why is it showing two part...
I created a custom helper, I was wondering if there was a way to access the view placehilders.
class Zend_View_Helper_MyHelper {
public function MyHelper {
$this->view->appendScript('myscript.js');
}
}
I get: Call to a member function appendScript() on a non-object
Thanks!
...
I have two *.sql files that I use when creating a new web site database. The first file creates all the tables. The second file populates some default records. I would like to execute these files from PHP. I also use the Zend_Framework, if that will help accomplish this.
Additional Info
I don't have console access
I'm trying to au...
I've got my routes configured as below:
routes.rooms.type = "Zend_Controller_Router_Route_Static"
routes.rooms.route = "/rooms"
routes.rooms.defaults.module = "rooms"
routes.rooms.defaults.controller = "index"
routes.rooms.defaults.action = "index"
routes.rooms.chains.room.type = "Zend_Controller_Router_Route_Regex"
routes.rooms.chains...
Hello,
From a header.php layout we can give instructions based on a given controller by doing:
$this->controller === "mycontrollerhere";
Can we do more or less the same but with a specific controller Action ?
Thanks in advance,
MEM
...
Smarty has a {strip} function:
{strip}
<table border='0'>
<tr>
<td>
Hello world
</td>
</tr>
</table>
{/strip}
Which outputs:
<table border='0'><tr><td>Hello world</td></tr></table>
I also want to do this in Zend (to reduce the amount of bites send on each request), without installing Smarty.
However, I don't want to add ...
Here is how i am creating the zend db connection
$DB = new Zend_Db_Adapter_Pdo_Mysql(array("host" => "localhost","username" => "root", "password" => "admin123", "dbname" => "user_management"));
The problem i have is that in my model files mysql_query have been used to run queries. I want to pass the DB connection from the controller...
I currently have about 4 different database tables which output to html tables. Each of these tables uses a count query to calculate data from a 5th table.
That's no problem, but what about when I want to sort and order the data, and paginate etc (like with zend). If it were a one page table, I could probably sort an array.
My thought ...