;action' => 'index'
)
);
$router->addRoute('language', $route);
$defaultRoute = new
Zend_Controller_Router_Route(':module/:controller/:action/*',
array( 'module' => 'default',
'controller' =
Hi,
I'm trying to add "language route" support. I'm using the code down below :
$router = new Zend_Controller_Router_Rewrite();
$languageRoute = new Zend_Controller_Router_Route(':language',
array('language' => 'fr'), array('language' => 'fr|en'));
$defaultRoute = new
Zend_Controller_Router_R
: "Laurent Melmoux" <[EMAIL PROTECTED]>
To: "Zend Framework General"
Cc: "Thomas Weidner" <[EMAIL PROTECTED]>
Sent: Friday, December 05, 2008 1:08 PM
Subject: Re: [fw-general] [Zend_Form]
Zend_Form_Element_File::getValue() is calling
Zend_File_Transfer_Ht
Laurent Melmoux a écrit :
Thomas,
my comment :
Thomas Weidner a écrit :
Hy,
I was thinking of 2 naming strategies :
1) You are storing the name of the file in the db
here the current solution is perfect, you get the file name with
getValue() ready to be saved in the db
2) You are NOT
o1,
1__photo2, ..., 56__photo1, 56__photo2)
so you call getValue() have the file stored
insert the data in the db, fetch the pk value with lastInsertedId()
and then reapply the Rename filter
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Or
2')->getTransferAdapter();
file2 is save in the right directory while file1 is save in /temp directory
It seams that is due to the fact than each form elements have is own
instance of TransferAdapter.
Regards,
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://laurent.2mx.fr/
w.thomasweidner.com
- Original Message ----- From: "Laurent Melmoux" <[EMAIL PROTECTED]>
To: "Thomas Weidner" <[EMAIL PROTECTED]>
Cc: "Zend Framework General"
Sent: Wednesday, December 03, 2008 4:02 PM
Subject: Re: [fw-general] Zend_Form + Zend_File_Transf
n try catch block as you do it with all other classes instead of
changing ZF code. :-)
It does the trick. :)
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message - From: "Laurent Melmoux" <[EMAIL PROTECTED]>
To: &qu
k
http://www.thomasweidner.com
- Original Message - From: "Laurent Melmoux" <[EMAIL PROTECTED]>
To: "Zend Framework General"
Sent: Wednesday, December 03, 2008 7:04 PM
Subject: [fw-general] [Zend_Form] Zend_Form_Element_File::getValue()
is calling Zend_File_Transf
Element_File::getValue() would leave
more flexibility for the developer on how he want to handle the file.
What do you think?
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://laurent.2mx.fr/
$request->getPost();
if($form->isValid($formData)) {
echo "FORM VALID";
} else {
print_r($form->getMessages());
}
} else {
// It's over symplified here
$data = array('comment'=>
Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message - From: "Laurent Melmoux" <[EMAIL PROTECTED]>
To: "Zend Framework General"
Sent: Wednesday, December 03, 2008 3:01 PM
Subject: [fw-general] Zend_Form + Zend_File_Transfer issue
quot; not found by file
transfer adapter', $find));
See :
Zend_File_Transfer_Adapter_Abstract ::getFileInfo($file = null)
Zend_File_Transfer_Adapter_Abstract ::_getFiles($files, $names = false,
$noexception = false)
Is it a issue or am I using incorrectly Zend_Form + Zend_File_Transfer ?
);
}
Is that the best way?
Thank you
Regards,
--
Laurent Melmoux
;),
array('id' => '\d+')
);
$router->addRoute('details', $route);
And I’m using this apache rewrite rule
RewriteEngine on
RewriteRule
!\.(pdf|php|js|ico|txt|gif|jpg|jpeg|png|swf|css|rss|zip|tar|rar|\.gz)$
index.php
The error seam to occur when a property detail is displayed.
http://chambres-hotes.monescapade.fr/auvergne/puy-de-dome/la-lauzeraie/105
Does any one have any pointers?
Regards,
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://www.2mx.fr/
Hi,
I agree with Matt the data grid component should use various source
adapters.
A good thing too could be to split the data grid in several loosely
couple components.
Zend_Data_Sorter
Zend_Data_Filter (Zend_Data_Filter_Abstract, Zend_Data_Filter_Number,
Zend_Data_Filter_String, Zend_Data
-
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://www.2mx.fr/
Matthew Weier O'Phinney a écrit :
-- Laurent Melmoux <[EMAIL PROTECTED]> wrote
(on Friday, 01 August 2008, 06:54 PM +0200):
So should I do:
1) One placeholder + key
er_Standalone
$view->globals()->urlRoot
$view->globals()->urlAssets
$view->globals()->urlTheme;
$view->globals()->urlImages
4) Keep using my current setup
5) Other suggestions?
What are your recommendations ?
I'm curious to know how others tackled this problem too.
Thanks for ridding this topics,
Regards,
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://www.2mx.fr/
his is a great idea and will help make contributing much easier IMO.
Regards
Marco
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://www.2mx.fr/
Tél. | +33 870 440 905
ng list will be enough :
* fw-general for end-users
* fw-dev for ZF development.
Please pardon me if this subject has been already discussed.
Regards,
Laurent
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://www.2mx.fr/
need to develop his app like Zend_Form or Zend_View enhanced ,
Zend_Tool get "less interest". $0.2 :)
So as Paddy said more stuff demonstrating the proposals will be good.
Regards,
Laurent
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France |
Well did not realise that this happen when I forward to another action.
Then if I modify the response in the forwarded action it seams to have
no effect. I will do some digg in.
Laurent Melmoux a écrit :
Hi,
I need some help.
I can’t figure it out what’s going with my Response Object and
en in Zend_Controller_Front::dispatch() just after the call to the
dispatcher I have
protected '_headers' =>
array
empty
Headers are gone :(
Do you have any pointers ?
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://www.2mx.fr/
easy it is to have it rendered by Zend_Form.
Regards,
Laurent
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://www.2mx.fr/
g the model to the form object and not the form object
to the model?
Thanks and best regards,
Ralf
--
Laurent Melmoux
Conseil et Solutions Web | [EMAIL PROTECTED]
2mx - Annecy, France | http://www.2mx.fr/
rPage(), $grid->getPageOffset());
$grid->populate($rows);
// Grid Renderer
$options = array(
'labels' => $this->_labels,
'pkname' => 'user_id',
'urlbase' => $this->view->url(array('page'=>'@@page@@'), null, false,
fa
se case of pre-filtering
data. And I’m style convinced that post filtering is a better approaches. :)
--
Laurent Melmoux
Annecy, France
Amr Mostafa a écrit :
Hi Laurent,
While I don't have the answer to your question specifically, I know
that Zend_Form used to validate before filter
Thanks Amr,
I should have search the list :)
--
Laurent Melmoux
Annecy, France
Amr Mostafa a écrit :
Hi Laurent,
While I don't have the answer to your question specifically, I know
that Zend_Form used to validate before filtering like you are
suggesting. But that was modified per
user that is input is wrong. Then filter
data for formatting and security.
Best Regards,
--
Laurent Melmoux
Annecy, France
ich is rendered as checked
in firefox.
Regards,
--
Laurent Melmoux
Annecy, France
the moment.
But if you would like to help me with this task, you can always
contact me.
Regards,
Pieter Kokx
Laurent Melmoux schreef:
Unfortunately no :(
But you can still have a look to the code implementation and examples.
I’m going to need such a class in the coming weeks. I don’t wa
Laurent,
Is the documentation for your wiki code parser also available in
English, since I am not very good in French?
Regards,
Pieter Kokx
Laurent Melmoux schreef:
Hi Pieter,
You can have a look at http://wikirenderer.berlios.de/ too
Regards,
Hi Pieter,
You can have a look at http://wikirenderer.berlios.de/ too
Regards,
--
Laurent Melmoux
Annecy, France
Pieter a écrit :
Hi,
When I am looking to Text_Wiki, it doesn't seem like it is totally
what I was thinking of, but still, it could be usefull. I could be a
great help
Thank's Matthew for this detailed answer.
The Plugin will do the trick ! :)
Matthew Weier O'Phinney a écrit :
-- Laurent Melmoux <[EMAIL PROTECTED]> wrote
(on Tuesday, 18 December 2007, 01:36 PM +0100):
I’m using the preDispatch() method in a controller to detect if the
ly or via
_forward(), $this->getRequest()->isDispatched() always return true.
What is strange, is that it seems it was working a few svn versions ago…
But now I’m not sure.
Is there a bug? Or am I not using a good strategy to detect a _forward()?
--
Laurent Melmoux - [EMAIL PROTECTED]
Annecy - France
mentation
directory all of the files not under SVN version control, and rerunning:
autoconf && ./configure && make
Hope that helps!
Best regards,
Darby
Laurent Melmoux wrote:
Hi Darby,
Yep, I tried with Cygwin too, and I have the same error!
I’ll try again tomorrow .
Hi Darby,
Yep, I tried with Cygwin too, and I have the same error!
I’ll try again tomorrow .
--
Laurent Melmoux - [EMAIL PROTECTED]
Annecy - France
Darby Felton a écrit :
Hi Laurent,
xinclude is not a command on the systems on which I build the manual; it
looks like maybe a line break was
values.
Right -- because calling fetchAll() on a zend_db_adapter object returns
an associative array; db adapters are meant for basically raw data
access. Zend_Db_Table works differently as it is implementing a Table
Data Gateway pattern, which returns rowsets of Row Data Gateways --
which allow
Hi,
I thought that this might be of interest:
http://fr3.php.net/manual/en/function.PDO-prepare.php#79178
--
Laurent Melmoux - [EMAIL PROTECTED]
Annecy - France
Christian Ehmig a écrit :
Hi!
Some time ago I noticed that Zend_DB and especially Zend_Db_Adapter_Abstract
prepare ANY statement
I’d tried to install all sort of package relative to xml and docBook but
I still got the same error.
Does someone have an Idea?
--
Laurent Melmoux - [EMAIL PROTECTED]
Annecy - France
I wonder is the cookie set only when needed, or is the remember me cookie
set on the next request, which may be caused by my redirect?
-Original Message-
From: Laurent Melmoux [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 December 2007 5:35 PM
To: Steven Brown
Cc: 'Darby Felton';
cookie("Zend_Auth_RememberMe", $duration, time()+6000, '/');
*In my bootstrap:*
// Session
include 'Zend/Session.php';
if(isset($_COOKIE["Zend_Auth_RememberMe"])){
Zend_Session::rememberUntil($_COOKIE["Zend_Auth_RememberMe"]);
unset($_COOKIE["Zend_Auth_Remember
rememberme
Sorry for the long URL. :)
Best regards,
Darby
Laurent Melmoux wrote:
Hi all,
Until now I had call Zend_Session::start() at the beginning of bootstrap
file, so far so good.
But now, I would like to add a remember me option on my login form, so
if the authentification succe
g URL. :)
Best regards,
Darby
Laurent Melmoux wrote:
Hi all,
Until now I had call Zend_Session::start() at the beginning of bootstrap
file, so far so good.
But now, I would like to add a remember me option on my login form, so
if the authentification succeed and the remember me have been checked I
won’t work because the session
is already started!
What do you consider as best practice to deal with this use case?
Where Zend_Session::start() should be called ?
Regards
--
Laurent Melmoux - [EMAIL PROTECTED]
Annecy - France
Matthew Weier O'Phinney a écrit :
-- Laurent Melmoux <[EMAIL PROTECTED]> wrote
(on Tuesday, 04 December 2007, 10:36 AM +0100):
I’m already using the laboratory Zend_Form in my current project. :)
Wow -- I didn't expect people would be using that code already!
t message for specific fields.
* The “message” key of the validators rule will overwrite all messages
set with those methods.
*Labels*
Zend_Form::setLabels();
Could be useful too to set all labels at once, if you store all your
model translation in a format support by Zend_Translate.
--
Lau
Hi pakmannen,
You can have a look at this issue :
http://framework.zend.com/issues/browse/ZF-2128
--
Laurent Melmoux - [EMAIL PROTECTED]
pakmannen a écrit :
Hi all,
Have a question regarding Zend_Filter_Input and unknown fields. Basically, I
have a form with, say, five fields. I want to
Hi,
you can have a look at Varien_File_Uploader in the magento ecommerce
platform : http://www.magentocommerce.com/
--
Laurent Melmoux - [EMAIL PROTECTED]
Annecy - France
Gunter Sammet a écrit :
Hi all:
Does anybody already have written an upload class for Zend Framework?
If yes, would it
/developerworks/linux/library/l-tune-lamp-1/
http://www.ibm.com/developerworks/linux/library/l-tune-lamp-2.html?ca=dgr-lnxw01LAMPTuningP2
http://developer.yahoo.com/performance/rules.html
--
Laurent Melmoux - [EMAIL PROTECTED]
ashish.sharma a écrit :
Hello All, I am working on PHP from quite some
- From: "Laurent Melmoux" <[EMAIL PROTECTED]>
To: "Zend Framework General"
Sent: Friday, September 07, 2007 3:28 PM
Subject: [fw-general] Locale Sensitive Zend_Validate_*
Hi every body,
Is there any plan to make the Zend_Validate_* class “locale aware” ?
Best Re
Hi every body,
Is there any plan to make the Zend_Validate_* class “locale aware” ?
Best Regards,
--
Laurent Melmoux, [EMAIL PROTECTED]
lter_Input without extending it.
--
Laurent Melmoux, [EMAIL PROTECTED]
From the debian website we can read that :
"No new functionality is added to the stable release. Once a Debian
version is released and tagged `stable' it will only get security updates."
http://www.debian.org/doc/manuals/debian-faq/ch-getting.en.html#s-updatestable
Here is the debian Changelog
log this bug in the tracker it would be helpful as we
track
these down.
Kevin
- Original Message - From: "Laurent Melmoux" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 07, 2007 1:04 PM
Subject: [fw-general] FlashMessenger - Indirect modification of
overloaded
propert
tracker it would be helpful as we
track these down.
Kevin
- Original Message ----- From: "Laurent Melmoux" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 07, 2007 1:04 PM
Subject: [fw-general] FlashMessenger - Indirect modification of
overloaded property
Hi,
I'
, with the lastest svn export.
It's seems relatated to overloading array ?
http://weierophinney.net/matthew/archives/131-Overloading-arrays-in-PHP-5.2.0.html
--
Laurent Melmoux, [EMAIL PROTECTED]
Annecy - France
I just checked with the latest SVN version and it work :
2007-03-31T14:26:31+02:00
2007
2007-04-01T02:00:00+02:00
2007
--
Laurent Melmoux, [EMAIL PROTECTED]
Annecy - France
Thomas Weidner a écrit :
Hi Julien,
What is the output when you run the script below?
Maybe you both (laurent
Hi,
I'm runing on a linux debian sarge with php version 5.2.1-0 (dotdeb
package).
Here is my output :
2007-03-31T10:13:17+02:00
2007
7-4-01T01:00:00+0100
--
Laurent Melmoux, [EMAIL PROTECTED]
Annecy - France
Gavin Vess a écrit :
Hi Julien,
What is the output when you run the script
Hi,
I’m looking for best practice to build the List part, with sorting and
filtering, of a CRUD application. Using OOP which will fit well with
Zend_Db_Table and the MVC part of the framework. I would appreciate if
anybody can share some links or code.
Regards,
--
Laurent Melmoux, [EMAIL
HP a couple weeks ago, and posted my
slides online:
http://weierophinney.net/matthew/archives/137-BostonPHP-Framework-Presentations.html
It goes through a sample CRUD application.
Thanks Matthew,
Would it be possible to download the source code somewhere ? :)
--
Laurent Melmoux, [EMAI
o "/admin/" cannot be dispatched as a
controller...
Best regards,
--
Laurent Melmoux, [EMAIL PROTECTED]
Annecy - France
Thank you Chris !
It could be interesting to add it in the framework manual.
Chris Shiflett a écrit :
Laurent Melmoux wrote:
Does any body knows wich rewrite rule should I write in
lighthttpd to use with Zend_Framework?
Peter Pistorius gives one for lighttp here
Does any body knows wich rewrite rule should I write in lighthttpd to
use with Zend_Framework ?
--
Laurent Melmoux, [EMAIL PROTECTED]
Annecy - France
I trying to run my test site on ZF 0.2.0 but Zend_Config_Array is not in
\library\Zend\Config\ nor in incubator...
Where it is gone ?
--
Laurent Melmoux, [EMAIL PROTECTED]
Annecy - France
65 matches
Mail list logo