Hey Bart,
I figured it out. This does exactly what I wanted it to do. Thanks for the
reply.
Jamie
On Wed, May 21, 2014 at 12:38 AM, Bart McLeod wrote:
> If your problem is the child route taking precedence, you should consider
> adding a priority key and set it to a high value.
>
> Op 21 mei
If your problem is the child route taking precedence, you should consider
adding a priority key and set it to a high value.
Op 21 mei 2014, om 00:31 heeft Jamie Krasnoo het volgende
geschreven:
> Hi All,
>
> I've attached what I've done for the config of my Admin module. I can't seem
> to ge
Hi All,
I've attached what I've done for the config of my Admin module. I can't
seem to get my head around the routing yet. I've taken the Application
config and made it generic so I can get a good start. What I'd like to do
is route /admin/login to the login action of the Auth Controller. However
Hi,
I am having trouble reading through your code sample, do you have an
example with a stack trace/error? Or some kind of reproduction case?
-ralph
On 11/8/13 3:07 AM, Steve Rayner wrote:
I'm getting Object of class Zend\Db\Sql\Expression could not be converted
to string with the following
I'm getting Object of class Zend\Db\Sql\Expression could not be converted
to string with the following code;
$select->join(*array*('tt' => 'discuss_thread_tag'),
'tt.tag_id = discuss_tag.tag_id',
*array*(),
'left')
->join(*array*('t' => 'discuss_thread'),
't.thread_id = tt.thread_id',
*arra
better create some gists at gist.gthub.com and send some links to them as this
source is unreadable…
please include all (relevant) source. Specifically the source of the
MusicUploadForm class
On 17 aug. 2013, at 11:50, Sandeep Singh wrote:
> Hi,
>
> I am working on a project using zend fr
Hi,
I am working on a project using zend framework and i am stuck with a
problem. I have to upload three files via a single form. The files must be
mp3. Only one of them is compulsary . I was able to do study about it but
still few bugs in my code.
If i upload three files with same name then onl
The code below generates the following sql statement:
*
EXAMPLE2:* SELECT "persons".* FROM "persons" WHERE "givenName" LIKE '%john%'
OR "surname" LIKE '%john%' OR "givenName" LIKE '%doe%' OR "surname" LIKE
'%doe%' AND active = 1 ORDER BY "surname" ASC LIMIT '2' OFFSET '0'
$spec = function (Wher
Hey Guys,
I can't figure out how I can add parenthesis to generate a statement like
one below in ZF2:
*EXAMPLE1:* SELECT "persons".* FROM "persons" WHERE *(*"givenName" LIKE
'%john%' OR "surname" LIKE '%john%' OR "givenName" LIKE '%doe%' OR "surname"
LIKE '%doe%'*)* AND active = 1 ORDER BY "surna
I'm trying to get the name of the file that Zend\Cache\Pattern\CaptureCache
is writing to disk.
I know that it is not actually this object that writes the file (I think it
is Zend\Cache\Storage\Adapter) but I don't know how (or when) to access the
file name.
I've been going over all the events tri
Hi all.
I have a number of FilteringSelect elements within my Zend Framework
application that are working fine but they are based on simple queries.
I now need to create a FilteringSelect that will allow me to select the id
of one table while displaying the text of field in a related table, i.e.
Im trying to understand the idea of decoraters.
This is not an idea, it is a design pattern:
http://en.wikipedia.org/wiki/Decorator_pattern
however my textareas, checkboxes and input textbox are still not
showing next to their label .
You can use CSS: (example)
dl {
margin: 1em 0;
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Help-with-decorators-tp3388526p3388526.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general
On 01/28/2011 02:47 AM, Leander Damme wrote:
As far as I can tell, your error originates from
/var/www/unit-testing/tests/application/controllers/IndexControllerTest.php
Line 3.
which is a require_once of 'Zend/Test/PHPUnit/ControllerTestCase.php'
So it does not have anything to do with require
As far as I can tell, your error originates from
/var/www/unit-testing/tests/application/controllers/IndexControllerTest.php
Line 3.
which is a require_once of 'Zend/Test/PHPUnit/ControllerTestCase.php'
So it does not have anything to do with require_once
'controllers/ControllerTestCase.php';
A
On 01/28/2011 01:43 AM, Leander Damme wrote:
Hi Simon,
make sure you have an up2date Zend Framework library in you include path
and 'Zend/Test/PHPUnit/ControllerTestCase.php' exists.
I have also run into case sensitivity issues a couple of times. Developing on a
case-insensitive file system (Os
Hi Simon,
make sure you have an up2date Zend Framework library in you include path
and 'Zend/Test/PHPUnit/ControllerTestCase.php' exists.
I have also run into case sensitivity issues a couple of times. Developing on a
case-insensitive file system (Os X) and deploying on a
case sensitive fs (Lin
Hi all,
This is my first email to the list. So, sorry if this is a bad place to
ask this.
I'm trying to set up PHPunit for testing my ZF projects.
To make things really simple and not have a bunch of code flying back
and forth, here is a reproducible test.
I take Jon's PHPunit Zend Cast co
Yes, it does seem a model will work but not entirely. Simple solution would be
to create an action, for each module, that would create the necessary form and
save the data, but that can get to complicated and time consuming.
I have used a model, like Admin_Model_Module, its job was to represent
Hi Shawn,
Thanks for your comment (also on SO)! I understand your logic, but the origin
of my problem is I have a Blog module, Portfolio module, Contact module etc.
I'd like a loose coupling between these "content" modules and the Admin
module. So the admin acts like a front controller to fetch
I believe you are confusing MVC modules and what you are calling "Page
Modules". It sounds like you need one module and a few models.
Pages_Model_Page has many Pages_Model_Module.
Each, Pages_Model_Module, has one form (Pages_Form_Module_*) and getForm()
method to get the form for the module.
Hi all,
I'm a bit stuck about the architecture I need to design and hope some of you
can give me some hints.
A certain action controller needs to build a page containing a Zend_Form
instance and some html. The form contains subforms which are generated by
other modules. The html is concatenate
Hello i got the same result in an easier way. Im just transfering it
to zend_db now. If i get any problem i reply this message.
SELECT
`ms`.*,
(SELECT COUNT(mi.id) FROM mailingItem as mi WHERE
mi.mailingSchedule__id__FK=ms.id) AS `mailingItemCount`,
SUM(IF(msr.bounce=0,1,0)) AS `sentTotal`,
SUM(
Actually i need to get SUM and COUNT in two child tables. My original
query was this:
$select=$this->getDbTable()->select()
->setIntegrityCheck(false)
->from(array('ms'=>'mailingSchedule'))
->joinleft(array('mi'=>'mailingItem'),
'mi.mailingSchedule__id
On Wed, Sep 22, 2010 at 3:12 PM, My Lists wrote:
> Hello . Please, is there any good soul here that can help me to write
> a specific query to zend_db?
>
> I can deal with joins on zend_db very well but now i need some
> subquery together with joins. Following is my query.
>
> SELECT `ms`.*, C
Hello . Please, is there any good soul here that can help me to write
a specific query to zend_db?
I can deal with joins on zend_db very well but now i need some
subquery together with joins. Following is my query.
SELECT `ms`.*, COUNT(mi.id) AS `mailingItemCount` , msr.sent AS
`sent` , msr.
On Jul 21, 2010, at 1:33 PM, robert mena wrote:
Thanks for that. I surely need to define those parameters and they
will change what solutions I'll be forced to use. But again let's
say I define:
- 99.95% of uptime,
Okay, this means you can tolerate ~5 minutes of outage per week on
aver
Hi Bill.
Thanks for the long reply.
On Tue, Jul 20, 2010 at 1:06 PM, Bill Karwin wrote:
>
> On Jul 20, 2010, at 7:00 AM, robert mena wrote:
>
> I am in a process of developing a new version of my application. The new
>> version must be able to have high availability and scale so I am evaluati
Hi Vincent,
Thanks for your reply.
I have some comments below
Thanks.
On Tue, Jul 20, 2010 at 10:48 AM, Vincent de Lau wrote:
>
>
> I don't have enough experience to advice on this, however: MySQL also
> supports a cluster mode, NDB. It should work transparently but will spread
> the storage
On Jul 20, 2010, at 7:00 AM, robert mena wrote:
I am in a process of developing a new version of my application.
The new version must be able to have high availability and scale so
I am evaluating both hardware and software techniques so I can cope
with the increasing traffic and a SLA.
> -Oorspronkelijk bericht-
> Van: robert mena [mailto:robert.m...@gmail.com]
> a) database
>
> Should I use regular databases? In my case MySQL with the master -
> slave situation. Or should I try Mongo/Cassandra because of the
> auto-sharding features? This is something that I don't
Hi,
I am in a process of developing a new version of my application. The new
version must be able to have high availability and scale so I am evaluating
both hardware and software techniques so I can cope with the increasing
traffic and a SLA.
I already use Zend_Cache to reduce unnecessary calls
-- dmitrybelyakov wrote
(on Friday, 18 June 2010, 04:53 AM -0700):
> My application has a module, say a Blog module, with routes to it like the
> following:
>
> /some/path/news/ (module=blog controller=index action=index)
> /some/path/news/:postAlias (module=blog controller=post action=index)
Hello,
My application has a module, say a Blog module, with routes to it like the
following:
/some/path/news/ (module=blog controller=index action=index)
/some/path/news/:postAlias (module=blog controller=post action=index)
I now need to create a REST api, so I create a Blog_RestController e
Hi all,
I've been struggling to decorate a subform. It's almost there but I
keep running into a 'gotcha'. I can't figure out how to wrap the
innermost dt/dd pairs in a dl element. If I add another HtmlTag the
outer one no longer renders and the inner one inherits the outer one's
class attr
Oh,
'HTTP_USER_AGENT' => 'Mozilla/5.0 (compatible; Purebot/1.1;
+http://www.puritysearch.net/)'
is killing it too.
'REQUEST_URI' is '/index/facebook/format/html'
even if I put
User-agent: *
Disallow: /index/twitter/format/html
Allow: /
Disallow: /index/facebook/format/html
in robots.txt
Nice find! :)
--
Hector
On Fri, Mar 26, 2010 at 4:29 AM, Саша Стаменковић wrote:
> Looks like it's googlebot
>
> 'HTTP_FROM' => 'googlebot(at)googlebot.com'
>
> :)
>
> Ok, he found on home pagehttp://automobi.li/ this
> link /index/facebook/format/html
>
> waiting to see who is accessing the li
Looks like it's googlebot
'HTTP_FROM' => 'googlebot(at)googlebot.com'
:)
Ok, he found on home pagehttp://automobi.li/ this
link /index/facebook/format/html
waiting to see who is accessing the link which is only and only in my
javascript...and looking for the solution for preventing this errors
Will do, stay tunes ;)
Regards,
Saša Stamenković
On Thu, Mar 25, 2010 at 4:25 PM, Hector Virgen wrote:
> That seems fine to me, but there may be something else creating a request
> for that action without ajax. Can you add some logging in your action to log
> the request? It might give you som
That seems fine to me, but there may be something else creating a request
for that action without ajax. Can you add some logging in your action to log
the request? It might give you some details as to what's happening when it
errors.
--
Hector
On Thu, Mar 25, 2010 at 8:18 AM, Саша Стаменковић wr
_helper->ajaxContext
->setActionContext('uzmi-modele', 'html')
->setActionContext('oglasi-broj', 'json')
->setActionContext('kontakt', 'html')
->initContext();
}
//
public function oglasiBrojAction() {
$car = new Automobili_Model_Table_Car();
$form = new Automobili_Form_Quic
Are you manually calling $this->render() in your action, or do you have a
controller plugin or helper that is calling it?
--
Hector
On Thu, Mar 25, 2010 at 8:12 AM, Саша Стаменковић wrote:
> My ajax calls always send the format parameters.
>
> Now I see that I have one json action, that is trig
My ajax calls always send the format parameters.
Now I see that I have one json action, that is triggered ONLY from
javascript, so no user will type /some/action/format/json in the location
bar of the browser, but still I get
exception 'Zend_View_Exception' with message 'script
'some/action.phtml
In my case,
Since I did not take it as a big problem, I did not investigate this
deeply but:
I use jquery and when i look at the headers send by jquery(with
firebug), xmlhttprequest param is set. But the context does not
change...
On Thu, Mar 25, 2010 at 5:06 PM, A.J. Brown wrote:
> Actually,
Correction: obviously ajaxContext does use the format parameter. I'm
not sure what I was thinking :)
On Thu, Mar 25, 2010 at 11:06 AM, A.J. Brown wrote:
> Actually, I believe that ajaxContext does not use the "format" request
> parameter. Your problem is likely that the client is not sending t
Actually, I believe that ajaxContext does not use the "format" request
parameter. Your problem is likely that the client is not sending the
proper headers.
Your best solution would be to use the contextSwitch helper instead,
and change your AJAX calls to pass the format parameter, or to throw
an
arly described within the manual.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message - From: "Arthur M. Kang"
To: "Zend Framework - General"
Sent: Thursday, March 25, 2010 1:28 AM
Subject: [fw-general] Help With Ze
eam Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: "Arthur M. Kang"
To: "Zend Framework - General"
Sent: Thursday, March 25, 2010 1:28 AM
Subject: [fw-general] Help With Zend_Currency Throwing Exception
I'm trying to set a locale and hav
I thinks second requirement is there, but XMLHttpRequest is not. Otherwise,
it would always fail.
Regards,
Saša Stamenković
On Wed, Mar 24, 2010 at 6:15 PM, Jurian Sluiman
wrote:
> On Tuesday 23 Mar 2010 20:15:03 Саша Стаменковић wrote:
> > Interesting. Is there a way to solve it on one place.
I'm trying to set a locale and have use that information throughout my
site for languages, currency, and dates. I would assume this is pretty
standard. The problem occurs when setting a locale without a region and
then trying to instantiate a Zend_Currency object using that locale.
Zend_Date
On Tuesday 23 Mar 2010 20:15:03 Саша Стаменковић wrote:
> Interesting. Is there a way to solve it on one place. What is enough for me
> is to prevent logging errors in error controller.
> So custom exception thrown from controller plugin is fine...if ajax action
> is called without ajax.
>
> Regar
Keep in mind that the AjaxContext helper needs two conditions to be
satisfied in order for it to kick in:
1. The header "X_REQUESTED_WITH" must be "XMLHttpRequest" (automatic with
Prototype and jQuery) and
2. The correct "format" parameter must be specified in the request,
It's that sec
I'm getting a number of logs daily. Very strange, it can't be that all of
these people don't have javascript enabled.
Regards,
Saša Stamenković
On Tue, Mar 23, 2010 at 8:15 PM, Саша Стаменковић wrote:
> Interesting. Is there a way to solve it on one place. What is enough for me
> is to prevent
Interesting. Is there a way to solve it on one place. What is enough for me
is to prevent logging errors in error controller.
So custom exception thrown from controller plugin is fine...if ajax action
is called without ajax.
Regards,
Saša Stamenković
On Tue, Mar 23, 2010 at 5:43 PM, Hector Virge
The AjaxContext helper, in my opinion, is used to enhance an existing page
with Ajax functionality. That means your page would be accessible normally
without javascript, and then enhanced when javascript is available.
If your action is coded to be Ajax-only, and somehow a user requests that
page w
In init method of my controller I have
public function init() {
$this->_helper->ajaxContext
->setActionContext('facebook', 'html')
->setActionContext('twitter', 'html')
->initContext();
}
This loads f
http://n4.nabble.com/file/n1565780/hellowang.rar hellowang.rar
this is my zf project
the index.php can show
but index.php/index/add and index.php/index/edit have 404 error
please someone can help me correct my mistakes~!!!
--
View this message in context:
http://n4.nabble.com/help-me-co
If you want to make a parameter optional, you need to pass it a default:
$router->addRoute( 'adminTeachers',
new Zend_Controller_Router_Route('admin/teacher/:action/:id',
array(
'controller' => 'teacher', 'action' => 'index', 'id' => 0))
);
--
Hector
On Tue, Jan 26, 2010 at 12:12
Excellent, thanks. I ended up with something like:
$router->addRoute( 'adminTeachers',
new Zend_Controller_Router_Route('admin/teacher/:action', array(
'controller' => 'teacher', 'action' => 'index'))
);
If I want to have multiple routes, e.g. admin/teacher, admin/class
would I se
try setting your route to "admin/:action/*"
--
Hector
On Tue, Jan 26, 2010 at 11:58 AM, Mark Steudel wrote:
> Hi,
>
> I am trying to setup a custom router to create a "admin area" type of
> thing:
>
> I've started with:
>
> $frontController = Zend_Controller_Front::getInstance();
> $router = $
Hi,
I am trying to setup a custom router to create a "admin area" type of thing:
I've started with:
$frontController = Zend_Controller_Front::getInstance();
$router = $frontController->getRouter();
$router->addRoute( 'listTeachers',
new Zend_Controller_Router_Route('admin', array( 'cont
For: Mnb_View_Helper_DivWrap
$view->addHelperPath('Mnb/View/Helper/', 'Mnb_View_Helper_')->
addHelper('DivWrap'); // no namespace here needed
should work.
--
regards
takeshin
--
View this message in context:
http://n4.nabble.com/help-w-a-Custom-View-Helper-tp1011557p1015804.html
Sent from th
Should that not be Default_View_Helper_DivWrap ?
Mike Wright wrote:
Mike Wright wrote:
Plugin by name 'DivWrap' was not found in the registry;
used paths:
Zend_View_Helper_:
Zend/View/Helper/:
Mnb/View/Helper/:
/srv/www/mnb.5/application/views/helpers/
But the last 2 lines above show that it
Zend_View doesn't use the autoloader, although the path and name of the
class would lead you to believe that it does. It uses the plugin loader
only, so be sure to register your helper paths in each of your module
bootstraps.
--
Hector
On Mon, Jan 11, 2010 at 1:59 PM, Mike Wright wrote:
> Mike
Mike Wright wrote:
Plugin by name 'DivWrap' was not found in the registry;
used paths:
Zend_View_Helper_:
Zend/View/Helper/:
Mnb/View/Helper/:
/srv/www/mnb.5/application/views/helpers/
But the last 2 lines above show that it knows where to look and is
looking in the right places so addHelperPa
Zend_View uses its own plugin loader. Did you register the helper path for
"Mnb_View_Helper" with your view instance? You can debug your helper paths
with:
var_dump($view->getHelperPaths());
--
Hector
On Mon, Jan 11, 2010 at 1:25 PM, takeshin wrote:
>
> Ensure you registered new namespace wit
Ensure you registered new namespace with autoloader.
(try with require_once)
Ensure you are not using PluginLoader cache.
Try to move your code to Zend_ namespace
and see if it is an issue of autoloader/paths
or typos in your code.
--
regards
takeshin
--
View this message in context:
http:/
Hi all,
Seems I'm lost again...
I'm trying to create a custom view helper called "DivWrap". I've poured
over the reference guide's Zend_View chapter 4 View Helpers again and
again, copied and tried the examples but always receive the following
exception:
Plugin by name 'DivWrap' was not fo
Any one know hoy to refresh one imagen in a forun with decorate?
i alredy make a validate mail and username with jquery in some inputs.
i have a image captcha and i like to put a button/imagen with onclick action
refresh the captcha imagen..
pliz help me!!
Best Regards, Pablo
--
>> AgeValed <<
McKee,
the route you add is incorrect,you should change 'articles/:articleid' to
'articles/:articleid/*' , hope that help you.
best regards.
Jacky
在 2009-12-4,上午8:04, AJ McKee 写道:
> $route = new Zend_Controller_Router_Route('articles/:articleid',
> array('module' => 'articles', 'controller'
hi All,
I seem to be running into a PEBKAC issue with Zend_Rest_Route
I've initialized the rest route with the following (See
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic
)
$front = Zend_Controller_Front::getInstance();
$router = $front->getRouter(
Try mailing fw-general-h...@lists.zend.com. This email should come back
to you regardless of if you are subscribed or not. This will at least
ensure that your email is making it to the list server if you get a
response.
-ralph
Arthur M. Kang wrote:
I am sure I am trying to mail from the acco
I am sure I am trying to mail from the account that was registered and
it is failing.
Mail from my gmail account, which is not subscribed to the list, is
getting through.
Arthur
listm...@websage.ca wrote:
On Mon, 19 Oct 2009 13:47:29 -0700
Arthur Kang wrote:
Does the Zend Lists have
On Mon, 19 Oct 2009 13:47:29 -0700
Arthur Kang wrote:
> Does the Zend Lists have a spam filter or blacklist in front of
> them? I can't get any email through to the lists from my regular
> email address. I don't get any errors or bounces, either. Seems
> like my mail servers IP is blacklisted.
Does the Zend Lists have a spam filter or blacklist in front of them? I
can't get any email through to the lists from my regular email address. I
don't get any errors or bounces, either. Seems like my mail servers IP is
blacklisted.
Could the list administrator contact me with information on ho
Hi Ralph,
Thanks for your reply, I am calling this from Zend_Tool (I am using ZF1.8)
I will change short tags from error.phtml and then check .
Rakesh
Ralph Schindler-2 wrote:
>
> Did you generate this ErrorController / error.phtml script? If so, from
> where? We had originally went throu
Did you generate this ErrorController / error.phtml script? If so, from
where? We had originally went through both the output of Zend_Tool as
well as the quickstart application to ensure that the code does not use
short_tags. So, if you can let us know where the code came from, we'll
be happy to
Hi,
this looks like you have short open tag off.
php.ini:
short_open_tag = On
-- Marco
-Ursprüngliche Nachricht-
Von: onewaylife [mailto:rakesh.mis...@gmail.com]
Gesendet: Dienstag, 29. September 2009 09:28
An: fw-general@lists.zend.com
Betreff: [fw-general] Help me to customize error
Hi,
I am new to ZF and I don't know why for each error I am getting this error
which make impossible for me to debug this please help to get genuin error.
An error occurred
message ?>
Exception information:
Message: exception->getMessage() ?>
Stack trace:
exception->getTraceAsString() ?>
Req
I'm trying to create a session handler that uses Memcached since I
haven't seen an official Zend_Session_SaveHandler_Memcached. I'm also
trying to intelligently do it so I don't have problems with the cache
data expiring before it should logging the user out. That would create
a major annoyance.
T
I've Been following this guide(h
http://www.sumedh.info/articles/store-upload-image-postgres-php.html
ttp://www.sumedh.info/articles/store-upload-image-postgres-php.html ) on how
to store and retrive the image do the postgre db, the storing image is
successful but somehow i cant get the image to b
-- jigen7 wrote
(on Monday, 06 July 2009, 12:34 AM -0700):
> Matthew Weier O'Phinney-3 wrote:
> > -- jigen7 wrote
> > (on Sunday, 05 July 2009, 08:56 PM -0700):
> > > Hi I'm new in using Zend Dojo Form and most of the tutorials is for
> > > version 1.7 as the latest ver is 1.8
> >
> > The chang
Matthew Weier O'Phinney-3 wrote:
>
> -- jigen7 wrote
> (on Sunday, 05 July 2009, 08:56 PM -0700):
>> Hi I'm new in using Zend Dojo Form and most of the tutorials is for
>> version
>> 1.7 as the latest ver is 1.8
>
> The changes to 1.8 will not affect Dojo integration in the least; the
> tuto
-- jigen7 wrote
(on Sunday, 05 July 2009, 08:56 PM -0700):
> Hi I'm new in using Zend Dojo Form and most of the tutorials is for version
> 1.7 as the latest ver is 1.8
The changes to 1.8 will not affect Dojo integration in the least; the
tutorials that exist are still relevant.
> can anyone hel
Hi I'm new in using Zend Dojo Form and most of the tutorials is for version
1.7 as the latest ver is 1.8 can anyone help me to add a combo box in my
page where i can select default values or i can input my value when the
value is not present in the list and also a date picker. how will i declare
i
Hello Krytie,
the ArrayOfTypeComplex strategy is not ignored. Its used for the first level
and then replaced by the DefaultComplexType for the second level. I havent
thought about deeper levels. This is a bug.
I have added an issue to Jira and will look into it for the next release.
Maybe you
Hi,
How would I go about defining an array of complex types as a property of
another complex type? The code below gives me the error.
"Cannot add a complex type MyComplexTypeB[] that is not an object or where
class could not be found in 'DefaultComplexType' strategy."
function wsdlAction(){
this->setDecorators($decorators);
$this->setValue($this->getCaptcha()->generate());
return ''.parent::render($view).'';
}
}
It's the same render function as the existing one in
Zend_Form_Element_Captcha but with the 's added
I'm trying to create a captcha form element in a table row.
I have this for a text element.
// set wrapper around element
$email->setDecorators(array(
'ViewHelper',
'Description',
'Errors',
array(array('data'=>'HtmlTag'), array('tag' => 'td')),
array('Label', array('tag' => 'td')),
the ending ?>
Terre
-Original Message-
From: Jason Webster [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2008 10:10 PM
To: Zend Framework - General
Subject: Re: [fw-general] help pls: headers being set, before preDispatch
This is a fine example of why we should leave off the
y forgot about adding file and line number in that function... It's
been a long day...
Thank for the pointer it helped.
Terre
From: carlos koch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2008 7:33 PM
To: fw-general@lists.zend.com
Subject: Re: [fw-
pointer it helped.
Terre
From: carlos koch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2008 7:33 PM
To: fw-general@lists.zend.com
Subject: Re: [fw-general] help pls: headers being set, before preDispatch
change headers_sent() to headers_sent ($filename
change headers_sent() to headers_sent ($filename, $linenum) and see where
the output started.
2008/10/1 Terre Porter <[EMAIL PROTECTED]>
> Help...
>
> I'm having a bit of a pain with some surprise headers being set
> somewhere...
>
> I've put this in my controllers preDispatch function for testin
Help...
I'm having a bit of a pain with some surprise headers being set somewhere...
I've put this in my controllers preDispatch function for testing..
Code
if (headers_sent()) {
$this->logger('--> preDispatch - headers sent');
logger(headers_list());
}
Code
The logger simply writes
On Tuesday 23 September 2008 14:44:31 amithasija wrote:
> i want to create multiple instances of zend_auth class
>
> as i have two modules
>
> Admin
> Front
>
> wats happening is when i login into admin it automatically get logins into
> front or vice-versa.
>
>
> so wat i want is the i can work on
2008/9/23 amithasija <[EMAIL PROTECTED]>:
> wats happening is when i login into admin it automatically get logins into
> front or vice-versa.
If you want that, why are you creating two instances where one would
be sufficient?
--
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
http://www.sour
i want to create multiple instances of zend_auth class
as i have two modules
Admin
Front
wats happening is when i login into admin it automatically get logins into
front or vice-versa.
so wat i want is the i can work on both modules separately after
simultaneous authentication.
regards a
Hey!
I read some comments about the framework documentation
(http://thislab.com/2008/07/05/zend-framework-where-do-you-want-to-go-tomorrow/),
I guess adding comments into the reference guide for each framework component,
like PHP.net do it, will be great, because we can share our implementation
Greetings all. I am new to Zend (and relatively new to php) and had a
question about how to manage overlaps between native php sessions and
Zend_Sessions.
I have an app that is served as part of a larger group of apps that all
share a common authentication service (a fairly common scenario: Befor
1 - 100 of 155 matches
Mail list logo