What i do is display the file upload element and if an image is already
uploaded it will display the image and a notice above the file upload
element with "if you upload a new image it will replace the current one".
You can use the populate method to do the logic.
There's probably a better way b
Definitely view logic. Good call. Still I'm uncertain though because
I'm working with an extended Zend_Form class. Perhaps I should make a
custom Form Element? Or a custom Form Decorator? Or use the view
helper decorator for just that element? I'd love to hear the Zend best
practice take on
Sounds like view logic to me and so I would add a conditional in the view
script.
Edward Haber wrote:
>
> I have a form that I want offer an image upload form element on. This
> has worked great using Zend_Form_Element_File. The upload works fine.
> What is the recommended way to have the u
Have fun doing that. You need to find a SSO (Single Sign On)
solution. If you look at a beast like Google you will see that even
their seperate domains redirect to a sub-domain such as mail.google.com
This keeps the session cookie at one domain *.google.com
There are solutions out there bu
Hello my friends,
I have two sites:
*www.sitea.com*
*www.siteb.com*
I would like to authenticate the user only at *www.sitea.com* and he will
have access to *www.siteb.com*.
At *sitea*, if user is not logged in, it showns sign up form, otherwise it
shows "logged with success" just for sinalizat
Bill Karwin wrote:
>
> If you need options to be in effect, you can either build those into the
> class definition for your related table, or else you can forget about
> table-relationships methods and instead instantiate tables yourself.
>
Actually, I have to correct myself. There is a way t
mbneto wrote:
>
> I have custom classes that extend Zend_Db_Table_Abstract for which I pass
> aditional parameters besides the ones needed by Zend_Db_Table_Abstract
> (the
> $db). I am using a findManyToManyRowset and I could no find a way to
> pass
> those extra parameters to the new created
Hi all,
A few minutes ago I committed a new adapter for Zend_Paginator:
Zend_Paginator_Adapter_TableSelect. As you would suspect, judging by
the name, this adapter specializes in dealing with
Zend_Db_Table_Select objects. The result of this specialization is
that this new adapter is able
Check out the Zend Framework quickstart. It gives you .htaccess
configuration when using Standard Router.
On Thu, Oct 2, 2008 at 8:23 PM, Michael Miller <[EMAIL PROTECTED]>wrote:
> I have that in the class
> AnotherController from above. In that class there is an action called
> indexAction. I
Wow, very cool stuff!
I beg you, please create a ZF proposal :-)
Best regards
Tobias
2008/10/1 zsamer <[EMAIL PROTECTED]>
>
> here you have my own implementation:
> http://code.google.com/p/zend-framework-datagrid/
>
> soon I'm going to translate to English.
>
>
> Filipe Carvalho wrote:
> >
> >
Hey!, Excelente :)
Why you don't create a zf proposal for it ? or maybe why you don't talk with
the Zym Project people, I know that they will going to create a datagrid some
day :O ;).
- Original Message -
From: "zsamer" <[EMAIL PROTECTED]>
To: fw-general@lists.zend.com
Sent: Wednesday,
Yes, of course there is otherwise this caching adapter would've been a waste
of time to implement into ZFW.
APC provides the same functionality as file caching, except that you can't
load an expired cache. But don't be mistaken, this doesn't mean you can't
renew an outdated cache (without it being
I have a form that I want offer an image upload form element on. This
has worked great using Zend_Form_Element_File. The upload works fine.
What is the recommended way to have the uploaded image replace the
upload form if an image exists? I don't need the solution coded, just
the direction
Thank you Matthew,
Your answer solved my problem.
-
Guillaume ORIOL
Sofware architect
Technema
--
View this message in context:
http://www.nabble.com/Dojo-always-enabled-tp19762103p19779597.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi,
I have custom classes that extend Zend_Db_Table_Abstract for which I pass
aditional parameters besides the ones needed by Zend_Db_Table_Abstract (the
$db). I am using a findManyToManyRowset and I could no find a way to pass
those extra parameters to the new created classes.
If I understand
For the password match, make your own form and do it as follow:
class ChangePassword extends Zend_Dojo_Form
{
public function init()
{
$request = Zend_Controller_Front::getInstance()->getRequest();
// Password
$password = new Zend_Dojo_Form_Element_PasswordTextBox('pas
-BEGIN PGP MESSAGE-
Version: GnuPG v1.4.9 (GNU/Linux)
owGbwMvMwCRor/UvqPLs4WbGNWZJkoZGRkaWJkYWFsaWRiZp6QXp8SW5BW6ZOake
TxYsTEwqzs8pLUnNqVQoykzPKNEDAi4urg43FgZBJgY2ViaQIgYuTgGYkSovGObX
9Yfd+O70sEwjd7Vq3Zq9R1/zy0cyLOj+LXBqzeMNqnK/7h/rqwpaHppVvw4A
=tzMr
-END PGP MESSAGE-
On Thu, Oct 2
Hi!
MySQL (and probably others) has the following date/time types:
- TIME
- DATE
- DATETIME
- TIMESTAMP
They each serve their purpose and are not redundant. Timestamp
represents an exact point in time. The others represent floating
times, days, or times within days.
XML Schema also has
you need a AnotherController class and a public method called indexAction
which will be called when you request localhost/myApp/another/
On Thu, Oct 2, 2008 at 11:19 AM, mikemiller991 <[EMAIL PROTECTED]>wrote:
>
> Hi am trying to get some clarification on directory structures. Here is
> what
> I
19 matches
Mail list logo