the helper but we pass the actual objects, but you could
chose to have the helper find the role of the identity on it's own by
placing Zend_Auth::getInstance()->getIdentity()->role; inside the
isAllowed helper ]
Hope this helps,
Ramon de la Fuente
On 1-10-2010 15:56, Serkan Temize
In the meantime - since you've extended Zend_Mail and overridden the
'send()' method, why don't you override the setBody() and/or
setBodyHtml() as well and save the text in your mail object yourself
before it's encoded?
Kind regards,
Ramon de la Fuente
Hector Vir
.
Gerard
Ramon de la Fuente wrote:
Also, if you have different actions depending on the button that
submits the request, you could
use Javascript to alter the "action" of the form prior to submit.
The form tag looks like:
The inputs look something like:
value="Local&quo
.action =
</tt><tt>'<a rel="nofollow" href="http://www.remoteurl.nl/someform.php">http://www.remoteurl.nl/someform.php</a>';
</tt><pre style="margin: 0em;">
}
}
Ofcorse this could probably look a little smoother using your
howard chen wrote:
Please feel free to answer:
1. What OS you are using during development? Windows? Mac? Linux?
Windows locally with Apache 1.3; FreeBSD development server with Apache 1.3
2. Do you edit source code on localhost or remote? i.e. is your
testing environment reside on localhos
If you create view helpers you can call them from anywhere in the levels
with "this->helper()". I feel that having DB queries and php logic isn't
right for a view script, but acceptable in a view helper (well, actually
not DB queries, but model instantiation inside the view helpers...)
- Ramo
;);
/* Create a router */
$router = new Zend_Controller_Router_Rewrite();
$router->addConfig($config, 'routes');
/* Create a Zend_Controller_Front object and add route */
$front = Zend_Controller_Front::getInstance();
$front->setRouter($router);
It's used with the default rewrite rules in t
Hi All,
Fiddling around with Zend_Form_Element and extending it I created a
F500_Form_Element_File (temporary, untill Zend one finally comes
around...). I also added a decorator called "Progress" to automatically
add the needed HTML for an upload progress bar, but in doing so I need
some ext
Hi all,
Are there any types of PDF documents that Zend_Pdf cannot open?
I'm trying to open a certain PDF document, but Zend_Pdf::load() throws
the followtin exception (with trace):
"Zend_Pdf_Exception: PDF file syntax error. Offset - 0x22BF. Object
number expected."
C:\x\projects\zend_frame
nvironment:
$writer = new F500_Log_Writer_FirePHP();
$logger = new Zend_Log($writer);
$filter = new Zend_Log_Filter_Suppress();
$filter->suppress($live);
$logger->addFilter($filter);
[ Note the rename of the class Zend_Log_Writer_FirePHP - as not to
conflict with the Zend namespace, at least for now)]
T
I've installed it - took about 4 minutes to get up-and-running... I love
it already! Debugging without breaking the application output - it is
exactly what the doctor ordered!*grin*
Eric Marden wrote:
I'm intrigued. Keep us abreast of the progress of this extension.
--
Eric Marden
-
letter. Perhaps you could try that?
Regards,
Ramon de la Fuente
Chuck Bai wrote:
Hi,
I have a App working fine with Apache 2.0/PHP 5.2.4/ZF 1.0.2. Now, I
upgrade to Apache 2.2 with others remain the same (I changed PHP
config to run with Apache 2.2). The app broke: the home page
(http
Hi all,
I've been fidling around with Zend_Mail for seding messages - and I'm
trying to accomplish capturing any errors while sending. I was using a
try {
$mail->send()
} catch ( Exception $e) {
// do something
}
block but if I use an impossible email address for example, I get an
on-sc
Three thumbs up, incredible work!
Matthew Weier O'Phinney wrote:
(as announced on fw-mvc)
Greetings!
I'm happy to announce that Zend_Layout has now been successfully merged
to core!
This includes the following components:
* Zend_Controller_(Plugin|Action_Helper)_ActionStack
* Zend_Contro
Hi Greg,
This could have something to do with the security within the browser. I
had the same kind of issue where the PHP session ID wasn't resent to the
server by the browser, but only in IE. FireFox worked fine. I also use
local url's with entries in the local hosts file, and I figured out t
Amazing job guys, I'd like to give you all a big well-deserved
pat-on-the-back!
So.. if you could all line up in a neat and organised fashion I'll get
started...
(with a bit of luck, all the Wiki problems will be over by the time I'm
done. Then again..)
Regards,
Ramon de la Fuente
h();
$response = $front->getResponse();
if ($response->isException()) {
Zend_Debug::dump($response, 'Response', $islive);
}
echo $response;
-
So no throwExceptions() and no Zend_Debug::dump() when we're in a live
situation.
Cheers,
Ramon de la Fu
Hi,
Please excuse my quick reply. I got the same error while running
"phpunit Alltests" and figured that to be the missing extention. I now
see that it was the wrong case (T) and that "phpunit AllTests" should work.
Kind regards,
Ramon
Richard Thomas wrote:
Anyone able to help? Looks like
Hi Richard, Thomas,
Pointing out the obvious - forgive me if this is too simplictic -
shouldn't the command be "phpunit Alltests.php" (note the .php)
Or "php Alltests.php" for that matter...
Richard Thomas wrote:
Anyone able to help? Looks like a phpunit issue which I am not to
familiar with
Heads-up: Yesterday I couldn't submit an issue to Jira due to a timeout
- today I can't even get to the issues page due to a proxy-error...
Regards,
Ramon de la Fuente
f proper introduction and overall
documentation. And that is something I wanted to bring a little
attention to.
Kind regards,
Ramon de la Fuente
the whole release (not
only code maybe?), and what can be done to pitch in?
Sorry for the length of this email, but I felt the need to express these
concerns.
Kind regards,
Ramon de la Fuente
Hi All,
Then why not just set a variable in the Registry? Or am I overlooking
something?
Regards,
Ramon
Maurice Fonk wrote:
You are right. That's what you get for thinking out loud, you can be
wrong, I don't quote Socrates for nothing ;). You can't use attributes
of the object (controll
Hi all,
I tried to find the newsgroup/project team for the Http_Client real
quick but I coudn't find it so here goes to fw-general:
I get the following error when opening an RSS feed:
*Fatal error*: Uncaught exception 'Zend_Http_Client_Adapter_Exception'
with message 'Invalid chunk size "E9F
Three thumbs up from over here as well!
I decided to take the bitter with the sweet months ago and develop new
projects in the Zend-Framework, knowing I would probably have to revisit
all projects multiple times due to refactoring. I have, but the design
has always changed for the better. Than
hp(455): if
(!Zend_Filter::isBetween($options['start'], 1, 1000, true)) {
library\Zend\Service\Yahoo.php(486): if
(!Zend_Filter::isBetween($options['results'], 1, 20, true)) {
library\Zend\Service\Yahoo.php(491): if
(!Zend_Filter::isBetween($options['start'], 1, 10
the first
starting point), and I would also agree with moving the ::dump() method
to a Zend_Debug class and the registry methods to Zend_Registry.
Regards,
Ramon de la Fuente
Bill Karwin wrote:
Please take a look at http://framework.zend.com/issues/browse/ZF-958
We propose to move Zend.ph
Hi Andries,
I currently import the Zend_Framework completely from SVN to it's own
directory, and add the path to the "Zend_Framework/library" folder to
php_path with a .htaccess directive. This means I maintain only 1
framework folder for all projects, and leaves me free to add a 'lib'
folder
n the following days.
Regards,
Ramon de la Fuente
config.
When relying on the default controller the $dispatchDir returns NULL -
and it calls Zend::loadClass('IndexController', NULL) and bombs out.
What am I doing wrong here?
Kind regards,
Ramon de la Fuente
Same here... (windows as well)
Hello,
My checkout of the framework is failing with these errors;
Error: In directory 'C:\Documents and
Settings\tcullen\Desktop\zfw2\incubator\tests\Zend\Mail\_files\test.maildir\cur'
Error: Can't move 'C:\Documents and
Settings\tcullen\Desktop\zfw2\incubator
31 matches
Mail list logo