Hey cool, i´ll take a look on it.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
today Zend_Config_Writer was promoted to the standard/trunk, and will be
shipped with the ZF 1.7 release. It would be nice if some of you could
use it in a practical test, so that in case I can fix bugs
CatharsisJelly wrote:
I have a similar issue at the moment, did you find the solution for this?
Actually, forget that I found my problem I was putting something into a
different namespace. e.g.
$this-_flashMessenger-setNamespace( 'error' );
Hello,
I am having a small problem with validating input
I have everything setup correctlybut it seems that every time I submit
the form it will always validate as true no matter what content is submitted
in the form.
-
Nickolas Whiting
Developer
http://xstudiosinc.com Xstudios
Matthew Weier O'Phinney-3 wrote:
-- nwhiting [EMAIL PROTECTED] wrote
(on Friday, 31 October 2008, 07:34 AM -0700):
I am having a small problem with validating input
I have everything setup correctlybut it seems that every time I
submit
the form it will always validate as true no
Hello,
I'm following the Rob Allen's Getting started with zend framework
tutorial (http://akrabat.com/zend-framework-tutorial/) and coming to
the point of setting up the model I was wondering how I could take a
table prefix from my .ini config file and use it..
Here is my solution:
class Albums
I'm working on a simple way of handling messages with Flash Messenger and
would like any advice I can get before I dive in. First my flash message
needs to handle a type of message, the error message itself and a way for
the user to click a specific specified return to page link. So far all I
see
Hi All,
In case you've not come across this through any other means, I just
thought I'd drop a note to let you know about PHPNW08.
phpnw08 is a 1 day conference, to be held on Saturday 22nd November
2008, for developers, designers, managers or anyone else with an
interest in the PHP
Hi
I used fetchRow of Zend_Db_Table_Abstract.
Now I would like to display all the columns name and their value of that
row, wihout knowing its column names
Usually to get a value I use $row-xyz but in this case I don't know 'xyz',
I would like to display all columns + values, hope I am clear
You can do this:
$row = $table-fetchRow($where)
$cols = $table-info(Zend_Db_Table_Abstract::COLS);
foreach ($cols as $col) {
echo $col . ' = ' . $row-$col . PHP_EOL;
}
debussy007 escreveu:
Hi
I used fetchRow of Zend_Db_Table_Abstract.
Now I would like to display all the columns name
solved ! :)
needed to convert titles and all stuff from ISO-8859-1 to UTF-8 (I used
utf8_encode)
and this BEFORE doing the saveXML
I mean, while actually building the feed !
Apparently, from what I read on the net, the DomDocument uses utf-8 inside,
even if I save the xml output as a
Stefan Gehrig, who emailed me exactly 8 minutes after my original post (note to
self: make question harder next time).
The question: Correctly identify the original source of the foot image on this
page: http://framework.zend.com/wiki/display/ZFDEV/Home.
The answer: While many people correctly
I managed to set up authentication through Zend_Auth and access control
through Zend_Acl. This works without any problem. However, I'd like to take
things one step further.
My view scripts sometimes display links to pages that are not accessible by
the logged in user, because that user does not
OK, since I had to turn away so many people with the correct answer,
I'll give y'all another shot at it. As everyone should know, bughunt
week starts Sunday (11:59 PST to be exact), 11/2 and runs until Saturday
(11:59 PST to be exact), 11/8. I will give out a t-shirt for the 3
contributors who
bytte wrote:
I managed to set up authentication through Zend_Auth and access control
through Zend_Acl. This works without any problem. However, I'd like to
take things one step further.
My view scripts sometimes display links to pages that are not accessible
by the logged in user,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
and again another componented promoted to standard/trunk;
Zend_ProgressBar is ready for your piggy hands and will as well be
shipped with the ZF 1.7 release. Again I'd like you to test the
component in some enviroment to find some maybe hidden
wenbert wrote:
I have this:
pre
$elementDecorators = array(
'ViewHelper',
'Errors',
'Description',
array(array('data' = 'HtmlTag'), array('tag' = 'dd', 'class'
= 'element')),
array('Label', array('tag' = 'dt'),
You could make a view helper. Here's mine, you'd need to adjust to taste:
class My_View_Helper_IsAllowed extends Zend_View_Helper_Abstract
{
public function isAllowed($resource = null, $privilege = null)
{
$front = Zend_Controller_Front::getInstance();
if
Thanks Martin,
That's what I did so far, but I'm not happy with all those 'if/else' clauses
in my view script. I was hoping for a better way.
Chris Martin wrote:
You could make a view helper.
--
View this message in context:
Thanks nwhiting, but links and such are view information, right? So don't
they belong in the view? Think of an image linking to an edit page...
nwhiting wrote:
Pass the edit link based on the Acl level to the view instead of trying to
do it in the view :)
--
View this message in
On 31 Oct 2008, at 15:37, Giovanni A. D. wrote:
Hello,
I'm following the Rob Allen's Getting started with zend framework
tutorial (http://akrabat.com/zend-framework-tutorial/) and coming to
the point of setting up the model I was wondering how I could take a
table prefix from my .ini config
You could potentially make something like a isAllowedUrl($module,
$controller, $action) view helper that checks the permissions and renders
the link itself, but you might lose flexibility when wanting to
include/exclude other html decorators and such.
bytte wrote:
Thanks Martin,
That's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey guys,
It seems that I currently can't stop to promote new components to the
trunks. This time it's ZendX_Console_Process_Unix. Again I'd like to get
bug- and improvement messages from you.
Regards,
Ben
- --
...
:
Hy guys,
a new Hash validator class has been added.
It supports 34 different algorithms which can be used to validate the file
content against.
I hope you find it usefull. Feel free to test it.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
I am attempting to do an in-line editing solution that has dijit elements
declared in a form that then have an xhrPost action that updates the data
and returns the form again. The problem that I'm encountering is that when
the div is returned, the form elements are no longer Dojo-ized - they are
nwhiting wrote:
wenbert wrote:
I have this:
pre
$elementDecorators = array(
'ViewHelper',
'Errors',
'Description',
array(array('data' = 'HtmlTag'), array('tag' = 'dd',
'class' = 'element')),
array('Label',
25 matches
Mail list logo