I'm running into this issue trying to pass a string data over ~1200
characters to PDO Oci through Zend_Db.
The call itself is a simple Zend_Db_Adapter_Abstract::insert call. The code
looks like:
--
$dbh = Db::getInstance();
$data = array (
'COLUMN' => $answ
Okay, got messed up with some old code. Let me correct that. To turn
off view rendering for the forums. I use this bit in the
Forums_IndexController
class Forums_IndexController extends Zend_Controller_Action {
function preDispatch() {
set_include_path(APP_PATH . 'application/modul
The insert() method of Zend_Db_Table returns the new primary key for the row.
The lastInsertId() method only exists of Zend_Db_Adapter classes, not the Table
class.
On 27/02/2009 12:30 PM, Bob O wrote:
FYI..all 3 tables have auto_incrementing id fields that are PK's
and when all parts pertainin
FYI..all 3 tables have auto_incrementing id fields that are PK's
and when all parts pertaining my problem
i am able to submit all of the other information correctly..
Bob O wrote:
>
> Im having a heck of a time with this one..I have searched high and low,
> and what has seemed to be a remedy
Im having a heck of a time with this one..I have searched high and low, and
what has seemed to be a remedy isnt working for me..
any help would be great
I have 1 form and 3 tables that i submit to with 1 post.
These tables are joined by ids
here is my code
public function createAdvertiser(
Ben,
I'll have to get my head around it a little more. But at first glance, this
looks absolutely perfect for the job: just what I was looking for. Thanks a lot!
> Date: Fri, 27 Feb 2009 19:36:47 +0100
> From: m...@dasprids.de
> To: fw-general@lists.zend.com
> Subject: Re: [fw-general] Zend_C
Forgot a piece.
I said I need to turn off view rendering for the forums. So in the
Initializer preDispatch I have
function preDispatch(Zend_Controller_Request_Abstract $request) {
if($request->getModuleName() == 'forums'){
$this->_front->setParam('noViewRenderer',
$reques
vadim gavrilov wrote:
Nice, Any way of having the structure or if possible the code. I am
just looking on what kind of structure and the way other developers
use. And if that something better/convenient then what i use then i
would like to adopt new ideas.
The code isn't finished, but I can
-- mapes911 wrote
(on Friday, 27 February 2009, 10:00 AM -0800):
> sweet. you guys rock!! i'll give this a try tonight.
>
> i did a quick search of code in pastebin and didn't find dojo.back. perhaps
> he didn't use it?
I did use it -- it's in both the main and bugapp branches. Look in the
js
Nice, Any way of having the structure or if possible the code. I am just
looking on what kind of structure and the way other developers use. And if
that something better/convenient then what i use then i would like to adopt
new ideas.
Thanks.
On Fri, Feb 27, 2009 at 7:36 PM, Deanna Bonds wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hehe, we just had the same topic some days ago. I solved the same
problem some time ago, with simply a new route (which
i will probably port to ZF in modified way some day). It works like this:
Fixed text is prepended with an @, while translatable par
sweet. you guys rock!! i'll give this a try tonight.
i did a quick search of code in pastebin and didn't find dojo.back. perhaps
he didn't use it?
anyway, i found some example code so i'm going to give this a whirl.
question that pops into my head now is this: let's say a user bookmarks a
ur
vadim gavrilov wrote:
Thanks for that. Did anyone made something that uses Modules? Not just
controllers in a single directory?
I am working on one that uses the new ZF structure that has modules.
In the modules directory there are 3 modules. One is the marketing part
of the application,
The exception you are looking for is Zend_Controller_Dispatcher_Exception.
If you are using the included error handler infrastructure, and your error controller is based of
the examples, this will result in a 404.
On 27/02/2009 2:07 AM, gllop wrote:
I'm trying to thow a Zend_Controller_Action
I'm not sure what you want to do. But if you define public $helper =
'formNote' you should make something like:
class Zend_View_Helper_FormNote extends Zend_View_Helper_FormElement {
public function formNote($name, $value = null, $attribs = null)
{
... bla bla bla
return ...
}
}
Hi y'all,
Is there any easy way to implement routes such that they honour translations as
well, without having to manually create routes for them?
For instance:
/gebruiker/aanmelden
/benutzer/anmelden
Should both route to
/user/sign-up
Or something similar.
Cheers
___
Hi, dojo.back has the kind of functionality you are looking for.
I used dojo.back in conjunction with dijit.layout.ContentPane
to be able to use the browsers back/forward butons and
bookmarking.
Some info on the subject can be found here:
http://docs.dojocampus.org/dojo/back
And if I'm not mi
-- mapes911 wrote
(on Friday, 27 February 2009, 12:14 AM -0800):
> I am developing an application that uses ajax/dojo.xhrget calls often to
> manipulate certain divs within a page. I would like to be able to update the
> url in the browser as the user clicks different areas so that if a user
> dec
-- Matthew Ratzloff wrote
(on Thursday, 26 February 2009, 09:55 PM -0800):
> Ah. I missed the addition of Zend_Loader_Autoloader to the framework,
> apparently.
It's in the incubator -- not yet in trunk.
> On Thu, Feb 26, 2009 at 1:49 PM, Matthew Weier O'Phinney
> wrote:
>
> -- Matthew R
'Twas brillig, and gllop at 27/02/09 10:07 did gyre and gimble:
I'm trying to thow a Zend_Controller_Action_Exception to dispatch a 404 page
error. The ErrorController and the Plugin_Handler instance are already
implemented but I don't know how can i exactly dispatch the exception. I
supose it wi
Hi,
I just spotted that fix describe in issue ZF-2992 hasn't been replicated
across new versions of framework up to 1.7.5
But when i added that patch manualy is working fine :)
It's look like was missed durinig some merging :)
--
Marek Wawro
website: http://www.flaber.net
A good idea could be write a Lucene's PHP extension. These would be more
efficient.
The Zend_Search_Lucene component could stay for testing and learning.
Matthew Weier O'Phinney-3 wrote:
>
> -- monkeyiq wrote
> (on Monday, 15 December 2008, 05:25 PM -0800):
>>Sorry if this is the incorrec
Hello,
I came accross to a post with the following code:
require_once 'Zend/Form/Element/Xhtml.php';
class My_Form_Element_Note extends Zend_Form_Element_Xhtml
{
/**
* Default form view helper to use for rendering
* @var string
*/
public $helper = 'formNote';
}
(I don't
See my project: svn co http://mz-project.googlecode.com/svn/trunk/demo
You can also browse at
http://code.google.com/p/mz-project/source/browse/#svn/trunk/demo but
structure in the repository is a bit different
-- Mon
On Fri, Feb 27, 2009 at 6:52 PM, vadim gavrilov wrote:
> Thanks for that.
Hello folks,
Is where any easy way to add a 'error' class to the input element, if there
was validation errors?
For example:
Or its just possible with overriding some class?
--
Pagarbiai,
Vladas Diržys
Tel.: +370 620 69020
www.dirzys.com
Date: Thu, 26 Feb 2009 12:43:34 -0600
From: guice...@gmail.com
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Asssign view variables with dispatchLoopShutdown()?
---
On Thu, Feb 26, 2009 at 11:48 AM, Matthew Weier O'Phinney
wrote:
.
and only when no other actions need to be dis
Thanks for that. Did anyone made something that uses Modules? Not just
controllers in a single directory?
Thanks.
On Fri, Feb 27, 2009 at 12:17 PM, Robert Castley
wrote:
> See how I do it at:
> http://code.google.com/p/jotbug/source/browse/#svn/trunk/JotBug
>
> - Robert
>
> ---
See how I do it at:
http://code.google.com/p/jotbug/source/browse/#svn/trunk/JotBug
- Robert
From: vadim gavrilov [mailto:vadim...@gmail.com]
Sent: 26 February 2009 18:08
To: keith Pope; fw-...@lists.zend.com; Zend Framework - General
Subject: [fw-general] Re:
I'm trying to thow a Zend_Controller_Action_Exception to dispatch a 404 page
error. The ErrorController and the Plugin_Handler instance are already
implemented but I don't know how can i exactly dispatch the exception. I
supose it will be something like:
throw new Zend_Controller_Action_Exception
Is there a way to do this in the bootstrap eg. with a helper or plugin?
I would like to do this without having to modify what class my existing
controllers extend?
Thanks.
SWK
Ballsacian1 wrote:
>
> I extended the Zend_Controller_Action to apply the Context helper to all
> my actions dynamical
Hi all,
I am developing an application that uses ajax/dojo.xhrget calls often to
manipulate certain divs within a page. I would like to be able to update the
url in the browser as the user clicks different areas so that if a user
decided to bookmark the page, they would be able to return to the s
31 matches
Mail list logo