I have a site I am trying to use two modules. default & api. The website runs off of default and works fine (http://localhost). But I am trying to use the api module like this (http://localhost/api/other-params). But it still loads the website. Two routes I have are setup like this:
'apiDivisionStandings' => array(
'...
I created a custom template for the category view that displays all subcategories for current category. When i set the current category as is_anchor = yes in the admin, the layered navigation filters show up in the side bar. The Sub categories is one of the filters are there as well, but when i click on one them the page still displays...
Hello there i'm trying to create a form with Zend_Form that will enable my user to upload a unlited number of files to my site, witch is done by javascript.
Something like
<script type="text/javascript">
$(document).ready(function(){
var image_uploade_i = 0;
$('#upload_more').click(function() {
image_uploade_i++;
...
hello all
how to pass variable from zf to javascript/jquery?
thanks
...
Hi,
i am quite familiar with Smarty and recently decided to use Zend framework in implementation.
because i am aware of the various advantages of Smarty, i insisted my contractor to integrate Smarty in.
But now, i am questioning my assumptions.
Should I integrate Smarty in with Zend framework? simply because I am familiar with Smart...
Hi!
Is there any way how to view all sent parameters if I do not know their name?
For example, I sent these parameters:
id = 1 (GET)
name = 'John' (GET)
surname = 'Smith' (GET)
Example
$request = $this->getRequest();
echo $request->getParam[0]; // Will output 1
echo $request->getParam[1]; // Will output 'John'
echo $request->getPa...
hello all
i stared to learn zf for some month , i like to know why other programmer have chocen zend-framework and why do you like zend-framework?
What reasons made you choose Zend-framework?
has zend-framework Satisfied you?
thanks
...
Dear Friends from Stackoverflow,
Please help me with a problem that i'm having when uploading my project to
the server.
I'm using pop up's balloons (http://mckay.cshl.edu/balloons.html) for a project using Zend FW and it works fine on my localhost.
(I'm using MAMP on MacOSX) but when I upload the webpage to the server, the text inside...
Hi guys,
I have a problem, I don't find good examples of "autocomplete" with zend framework (using jQuery with zendx). I need one that works to understand how to develop it.
Someone has done it?
Thank you very much in advance
PS: I know how to do it without ZendX, I mean, doing the form myself (and using jquery as usual with a autoco...
I am uploading files(any type) in MySql tables's blob field. Now I am able to get binary data from that field and when I print it, it shows binary data in firbug console. But I want to download that file as it was uploaded.
How can I convert this binary data into orignal file? How to do it in zend?
Thanks
...
how do i have to nest multicheckboxes so that they are named like this 'foo[]['bar']' .
i've used subforms but they give me naming like this 'foo[bar][]'.
my code:
$sub = new Zend_Form_SubForm('sub');
$wish = new Zend_Form_Element_MultiCheckbox('bar');
$wish
->setMultiOptions($education_direction->getAll())
->setLabel('W...
Hello,
I'm trying to perform database migration from the command line using
"php doctrine generate-migrations-diff", it just gives me the error:
"Could not generate migration classes from difference"
Is there anyone having the same issue?
I'm using Zend Framework + Doctrine 1.2.2
Thanks.
...
I have a query to check how many unique votes each photo has in a photo contest.
In my Votes.php model I have this query, which for 200 photos is taking around 15 minutes to complete:
public function getVotes()
{
$itemsTable = new Photocontest_Model_Photos();
$items=$itemsTable->fetchAll(); ...
How do I get the request object from inside the bootstrap file?
I can try this methods but not work.
$request= new Zend_Controller_Request_Http();
$request = Zend_Controller_FrontController::getInstance()->getRequest();
...
I added a couple new attribute to my products(a boolean "yes/no" fields). They are variables to enable/disable the price from displaying on the product detail page, and grid view.
I managed to get it work on the product info page. But on product grid page I cant seem to access those variable. Specifically, the template i am working with...
I'm looking to setup a custom route which supplies implicit parameter names to a Zend_Application. Essentially, I have an incoming URL which looks like this:
/StandardSystems/Dell/LatitudeE6500
I'd like that to be mapped to the StandardsystemsController, and I'd like that controller to be passed parameters "make" => "Dell" and "model"...
I have a Zend_Framework application, which has a whole bunch of model classes.
I need these model classes to be able to access the application's database (naturally).
Currently I've put this in my index.php:
Zend_Registry::set('db',
$application->bootstrap()->getBootstrap()
->getPluginResource('db')->getDbAdapter());
...
hello
how we could create translate validate error messages on zend framework?
someone could give a example ?
thanks
...
Hiya.
I'm trying to create a Zend Framework project using PHP 5.3.2 and Zend Framework 1.10.3.
i created the source files of the project using the zend framework tool and the db related classes i created with zend-db-model-generator.
example:
in models directory i have the following:
FbUser.php - class Default_Model_FbUser
FbUserMapp...
I used the zendcast video to get me this far. The form is properly displayed. However, I need to change the display order box into a number box of zend dojo type. I cannot figure it out. Even help with examples would be great.
<?php
class My_View_Helper_CategoryDetailElement
extends Zend_View_Helper_FormElement
{
protected $html ...