I created a controller plugin to route the request to the cms controller.
Has someone suggestions to do this with a router.
class My_Controller_Plugin_CmsRouter extends Zend_Controller_Plugin_Abstract
{
/**
* Routes all (public) request to unknown modules to the standard
* Cms
Thomas Weidner a écrit :
Well... I think that when there is no error by validation
$this-_messages is empty...
So why should the chain break when there is no failure ?
There are errors by validation when I upload an ascii file:
* The file 'a.txt' has a false mimetype
* The file
Sorry, but I still think that you are using an outdated revision.
Trunk revision works. I tested it myself yesterday.
Please keep in mind that this component is actually under development and
things change very fast.
So it could be that a failure from a week before is already solved, or I
It's unlikely that you will see any significant speed difference between the
two.
You're better off making sure that everything is cached properly instead of
wasting time on refactoring.
Karol
Tony Ford wrote:
We still use smarty for basic legacy reasons. I'm interested in running
some
Yes I was using an outdated version. The breakChainOnFailure works fine
now. Thanks!
May I point out that with 'a.txt' validation works. If I rename 'a.txt'
to 'a.jpg' then validation passes. This not what I expect.
FYI:
$ file -i a.txt
a.txt: text/plain; charset=us-ascii
$ file -i a.jpg
Nice, but you can not rename the file yourself.
Validation is done on the temporary file, then the file is moved and then
the filter is attached.
So when you rename the file, you rename it after validation and filtering.
There is no processing after that point.
Greetings
Thomas Weidner, I18N
Thank you Matthew.
This issue was my misunderstanding of what the view.encoding was for.
I thougt it was the target encoding (ie related to page Content-Type).
But it is used only by escape() method as the source encoding of the text.
Therefore, when I was setting the view.encoding to UTF-8, I
Nice, but you can not rename the file yourself.
Validation is done on the temporary file, then the file is moved and
then the filter is attached.
What I meant was:
If I click on my navigator's browse button and select the 'a.jpg' file
from my harddisk, validation passes.
So when you rename
I am using Zend Framework to develop a web system.
It has a function (let's call it funcA) required to run periodically.
Thus, I would like to use crontab (Linux command) to run funcA every 15 m.
Unfortunately, it seems that there are some configurations on the bootstrap
file, I need to access
On Thu, Sep 25, 2008 at 1:02 PM, José de Menezes Soares Neto
[EMAIL PROTECTED] wrote:
I am using Zend Framework to develop a web system.
It has a function (let's call it funcA) required to run periodically.
Thus, I would like to use crontab (Linux command) to run funcA every 15 m.
Hi Till,
Could you explain your solution a little bit more?
Regards,
José
2008/9/25 till [EMAIL PROTECTED]
On Thu, Sep 25, 2008 at 1:02 PM, José de Menezes Soares Neto
[EMAIL PROTECTED] wrote:
I am using Zend Framework to develop a web system.
It has a function (let's call it funcA)
Hi friends,
I would like to convert an action into a single file .php
I would like to keep using ZF functions, but I want to access this file .php
alone, not using bootstrap.
i.e.
http://www.mysite.com/myfile.php
It is because this resolves my problem with cronjob creations!
Any help?
José de Menezes Soares Neto wrote:
Hi friends,
I would like to convert an action into a single file .php
I would like to keep using ZF functions, but I want to access this file
.php alone, not using bootstrap.
i.e.
http://www.mysite.com/myfile.php
It is because this resolves my problem
José de Menezes Soares Neto wrote:
I am using Zend Framework to develop a web system.
It has a function (let's call it funcA) required to run periodically.
Thus, I would like to use crontab (Linux command) to run funcA every 15
m.
I'm doing this by just creating a simplified bootstrap
ZF is by default setup for a Http environment this means that you get:
Http Request Object
Http Response Object
So to do what you want you need to use the Cli response object, and
you may need create your own Request object.
Look at the request object abstract. The request object holds data to
this blog post here offers one solution:
http://webfractor.wordpress.com/2008/08/14/using-zend-framework-from-the-command-line/
On Thursday 25 September 2008 13:02:00 José de Menezes Soares Neto wrote:
I am using Zend Framework to develop a web system.
It has a function (let's call it funcA)
-- Panman [EMAIL PROTECTED] wrote
(on Wednesday, 24 September 2008, 01:32 PM -0700):
I have not been able to get BorderContainer to work at all. Neither with ZF
nor directly coding a test page. Has anyone been successful with
BorderContainer?
Yep -- I use it in my pastebin demo:
On Wed, Sep 24, 2008 at 15:26, Matthew Weier O'Phinney [EMAIL PROTECTED]
wrote:
Most likely what's happening is you're getting double-rendering of the
layout due to an error further down the stack. From what I've seen, most
of these errors that have been reported have been due to either:
*
Yann Thomas-Gérard a écrit :
Nice, but you can not rename the file yourself.
Validation is done on the temporary file, then the file is moved and
then the filter is attached.
What I meant was:
If I click on my navigator's browse button and select the 'a.jpg' file
from my harddisk, validation
Hello All,
I have a form with 2 fields and submit button.
Form is created like this:
$form = new Zend_Form();
$form-setMethod('post');
$form-addElement('text','field1', array(
'label' = 'User Name',
You just say what is already described in the manual.
And looking at our issue list you would have mentioned that we will also add
a content-type validator which checks the stored content, as the mime-type
can be changed by users.
As I already wrote several times, this component is not
Is ZF Teem planned official user plugin repository?
--
View this message in context:
http://www.nabble.com/Is-ZF-Teem-planned-official-user-plugin-repository--tp19673010p19673010.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Ok I just saw those issues,
Thank you for your time and informations,
Yann
Thomas Weidner a écrit :
You just say what is already described in the manual.
And looking at our issue list you would have mentioned that we will also
add a content-type validator which checks the stored content, as
-- mezoni [EMAIL PROTECTED] wrote
(on Thursday, 25 September 2008, 09:13 AM -0700):
Is ZF Teem planned official user plugin repository?
Not currently; we've been kicking the idea around for a while, though.
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend
I'm trying to set up a contact form with the proper elements so I can apply a
CSS style sheet to it. Could someone provide me an example of how to
properly use the setLegend and addDisplayGroup methods for interacting with
Zend_Form_DisplayGroup.
--
View this message in context:
Count me in as a vote for doing this. It would be great to provide that
type of resource to users.
- Jason
Matthew Weier O'Phinney wrote:
-- mezoni [EMAIL PROTECTED] wrote
(on Thursday, 25 September 2008, 09:13 AM -0700):
Is ZF Teem planned official user plugin repository?
Not
I'm just in the first steps of putting together a ViewHelpers
repository because there is such a serious need for a resources
repository for ZF. I would welcome any thoughts on this implementation
-- any intelligence on the idea itself (does it already exist in a
better form somewhere
I'm using the trunk version !
Andrew Yager a écrit :
On 24/09/2008, at 10:47 PM, Apsy wrote:
Your patch works with the addElement method. Because if i do it
with the set value with the setters, i have 0 and 1 with for
checked and unchecked value.
The patch is designed to work with the
Regarding your plural (s) helper...
person = people
-Matt
On Thu, Sep 25, 2008 at 10:53 AM, Edward Haber [EMAIL PROTECTED] wrote:
I'm just in the first steps of putting together a ViewHelpers repository
because there is such a serious need for a resources repository for ZF. I
would welcome
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Or in other languages, there is more than one plural form, e.g. in polish.
Ben
Matthew Ratzloff schrieb:
Regarding your plural (s) helper...
person = people
-Matt
On Thu, Sep 25, 2008 at 10:53 AM, Edward Haber [EMAIL PROTECTED]
How come conditional comments are not supported for headscripts? Next to CSS
this method is also commonly used with JavaScript code/files, a common
example is the PNG background fix.
Are there any plans for this or will I have to force my lazy fingers to keep
typing the extra characters?
Thank
This is an excerpt from an email on the fw-mvc list sent on 21 Aug 2008:
$url = $this-_view-baseUrl() . '/css/blueprint/ie.css';
$this-_view-headLink()-appendStylesheet($url, 'screen,projection', 'IE 7');
This outputs:
!--[if IE 7].!-- [endif] --
Jeremy Brown
Senior Web Developer
Colin,
Hope this helps:
http://devzone.zend.com/article/3509-Zend_Acl-and-MVC-Integration-Part-I-Basic-Use
http://devzone.zend.com/article/3510-Zend_Acl-and-MVC-Integration-Part-II-Advanced-Use
Aldemar
- Original Message -
From: Colin Guthrie [EMAIL PROTECTED]
To:
33 matches
Mail list logo