Hi zfer,
it seem that the file rename filter not work correctly,it not rename the
file when i upload the file first,but it worked when i upload the same file
after the first.
for example,i add a rename filter that set target to c.jpg,and then upload a
file named a.jpg,but the uploaded file would re
Seems as it will rename it only if the name of the uploaded file already
exists in the directory. Not sure though.
On Tue, Mar 3, 2009 at 10:07 AM, Jacky Chen wrote:
> Hi zfer,
> it seem that the file rename filter not work correctly,it not rename the
> file when i upload the file first,but it w
Jacky,
Your description is quite confusing.
When you can give a code example somebody of us could be able see your
failure.
Greetings
Thomas
- Original Message -
From: "Jacky Chen"
To:
Sent: Tuesday, March 03, 2009 9:07 AM
Subject: [fw-general] rename filter not work correctly
dojo.back uses encodeURIComponent() internally.
To dedode you can use decodeURIComponent().
But the url hash string needs to be encoded, so I dont
think you can get around this urlencode behaviour in the hash.
> Date: Mon, 2 Mar 2009 11:31:49 -0800
> From: mapes...@gmail.com
> To: fw-general@l
Hi
Here's some code:
// Setup cache object
$frontendOptions = array(
'lifetime' => 1800,
'automatic_serialization' => true
);
$backendOptions = array(
'cache_dir' => '../data/cache/'
);
$cache = Zend_Cache::factory(
'Core',
'File',
$frontendOptions,
$backendOptions
Hi,
Yes I think you have it correct there, I have been using this the same
way so I could use html in my form description.
$formElement->getDecorator('Description')->setOption('escape', false);
.Chris
kwylez wrote:
How do I override the 'escape' value for a given element inside of a subFo
I can't check the source code now, but common sense says it will override
default lifetime settings (1800) in this call with the specific one (3600).
_
De: holografix . [mailto:hologra...@gmail.com]
Enviado el: martes, 03 de marzo de 2009 16:18
Para: fw-general@lists.zend.com
Asunto: [fw
Try running the Firebug profiler, Zend_Db_Profiler_Firebug, to see if its
the database queries are the culprit. I assume you already have indices
defined for the playground_id and device_id columns.
Might be time to switch to a data table like display (e.g. YUI DataTable)
containing a list of al
To expand on jason's comment, adding a call to getAdapter() should fix it.
$contactPersonId = $dbAdvertiserPerson->getAdapter()->lastInsertId();
jasonistaken wrote:
>
> The insert() method of Zend_Db_Table returns the new primary key for the
> row.
> The lastInsertId() method only exists of Z
Hiya folks,hopefully this will be a simple one. Have been googling like nuts
but can't work out where I should place the actual file containing a front
controller plugin in a default installation? Heeelp!
Dan :-)
Yea, it actually does seem to decode it already, so when i read the hash
string in my onload code it's decoded, I was just hoping I could have it
display decoded so it looks nicer.
Thanks though.
Filip Wirefors wrote:
>
>
> dojo.back uses encodeURIComponent() internally.
> To dedode you can u
On Tue, Mar 3, 2009 at 5:44 PM, Xavier Vidal wrote:
> I can't check the source code now, but common sense says it will override
> default lifetime settings (1800) in this call with the specific one (3600).
Good point for you :-)
Regards
--
Fabien MARTY
fabien.ma...@gmail.com
Dan Ballance wrote:
Hiya folks,hopefully this will be a simple one. Have been googling
like nuts but can't work out where I should place the actual file
containing a front controller plugin in a default installation? Heeelp
The Initializer front controller plug-in is in the applications
d
I am using some custom routes for my site and a couple are conflicting.
Is there a way to set them up so both the following routes point to
their respective actions.
At the moment these both point point to the 'item-view' action, I was
hoping the first one would match http://www.a.com/default/
Hi Matthew,
If you use this method to attach the javascript routine to the submit
button, then in the foobar routine setup an xhrPost to process the form,
should I still have an action and a method setup in my controller when I
instantiate my form?
I've been playing with a Zend_Dojo_Form which I
Thanks, I'll give that a try. Do I then need to manually include that myself
or will the framework automagically detect it there?
Many thanks for your help,
Dan
On 3 Mar 2009, 5:53 PM, "Deanna Bonds" wrote:
Dan Ballance wrote: > > > Hiya folks,hopefully this will be a simple one.
Have been goo
Dan Ballance wrote:
Thanks, I'll give that a try. Do I then need to manually include that
myself or will the framework automagically detect it there?
The bootstrap file (also in the application directory) uses this code to
register the Initializer
require_once 'Initializer.php';
$frontCon
Thanks Chris
On Tue, Mar 3, 2009 at 9:28 AM, Chris MacPherson wrote:
> Hi,
>
> Yes I think you have it correct there, I have been using this the same way
> so I could use html in my form description.
>
> $formElement->getDecorator('Description')->setOption('escape', false);
>
>
> .Chris
>
>
> kwy
Thank you very much.
best regards,
holo
2009/3/3 Fabien MARTY
> On Tue, Mar 3, 2009 at 5:44 PM, Xavier Vidal wrote:
> > I can't check the source code now, but common sense says it will override
> > default lifetime settings (1800) in this call with the specific one
> (3600).
>
> Good point for
Hi all,
I have two questions concerning Zend_Form
1) Is there an easy way to add a decorator or utilize another method to get
Zend_Form_Element_Button to insert additional elements inside its tags, like so
(notice the 's):
Send
2) Is there an easy way to have a Zend_Form_Element rendered betwe
> From: list-zf-gene...@nico.edtinger.at
> To: fire-eyed-...@hotmail.com
> Date: Mon, 2 Mar 2009 16:46:56 +0100
> CC: fw-general@lists.zend.com
> Subject: Re: [fw-general] Zend_Mail & Zend_Mail_Transport_Sendmail (ZF 1.7.5)
> bugs. Can somebody confirm?
>
> Hi strange-looking-man!
>
I guess
mapes911 wrote:
>
> Hi Matthew,
>
> If you use this method to attach the javascript routine to the submit
> button, then in the foobar routine setup an xhrPost to process the form,
> should I still have an action and a method setup in my controller when I
> instantiate my form?
>
> Any help wo
I had started this concept a while ago but never had time. I want to
create a zend framework class set for ExtJS. I will use the model of
dojo as far as it applies, but it and extjs have different scopes. dojo
is more of a way to make your pages dynamic and ajaxie, extjs is more
of an web
Hi,
I need to make a very complex database driven form, which retrieves a
rowset and renders that rowset, dependent rowsets, links and applies
various decorators to each element or group of elements.
Currently I am solving this with a Zend_Form extension that iteratively
crawls through all the da
1. Include the span in the label and turn off escaping.
e.g. $form->addElement('button', 'submit', array('type' => 'submit', 'label'
=> 'Send', 'escape' => false));
2. I don't think that's possible without using the ViewScript decorator or
writing a custom one. The regular decorators are not awa
Hi Mon,
Thank you for your reply.
1) So I can turn of escaping? Great! I tried including it in the label, and
indeed it escaped the characters. This was just what I needed to know. Thanks!
2) Hmmm, so I guess I'm stuck to a ViewScript decorator then huh? I was trying
to avoid it, for the re
-- Deanna Bonds wrote
(on Tuesday, 03 March 2009, 06:30 PM -0600):
> I had started this concept a while ago but never had time. I want to
> create a zend framework class set for ExtJS. I will use the model of
> dojo as far as it applies, but it and extjs have different scopes. dojo
> is
Hi,
I'm going to create a CMS in PHP with the Zend Framework.
I thought to make URLs like this:
http://www.xyz.com/[cms_path]/[language]/[module]/[page]/[subpage]/[subsubpage]/...
This is because I dont want to use the page Ids in the URLs.
Now the question is how to route this, because I don'
*Sorry didn't do reply all *
By default the router uses /:controller/:action/* or if you have modules
then /:module/:controller/:action/* the /* indicates that anything can be
there instead so i think you should use just that.
On Wed, Mar 4, 2009 at 9:28 AM, Matthias W. wrote:
>
> Hi,
>
> I'm g
If i have the following:
xyz.com/:module/[lang]/:controller/:action/*
how can i make it so it will actually dispatch the
xyz.com/:module/:controller/:action/* but will show the [lang] in there. I
know using a router but how exactly?
Thanks.
--
Vincent Gabriel.
Lead Developer, Senior Support.
Z
30 matches
Mail list logo