Re: [fw-general] Zend_Config_Writer promoted to standard/trunk

2008-10-31 Thread Jan Pieper
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

Re: [fw-general] FlashMessenger

2008-10-31 Thread CatharsisJelly
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' );

[fw-general] Zend Form Validation

2008-10-31 Thread nwhiting
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

Re: [fw-general] Zend Form Validation

2008-10-31 Thread nwhiting
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

[fw-general] db table prefix from config

2008-10-31 Thread Giovanni A. D.
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

[fw-general] Flash Messenger

2008-10-31 Thread Tom Shaw
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

[fw-general] [ANN] PHPNW08: Manchester PHP Conference approaches

2008-10-31 Thread Jeremy Coates
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

[fw-general] Zend_Db - get the column names of a row

2008-10-31 Thread debussy007
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

Re: [fw-general] Zend_Db - get the column names of a row

2008-10-31 Thread Felipe Weckx
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

Re: [fw-general] Zend Feed Rss XML and Entities for special chars

2008-10-31 Thread iosonogio
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

[fw-general] And the winner is. . .

2008-10-31 Thread Wil Sinclair
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

[fw-general] Re[fw-general] stricting display of links to non-authorized pages in view scripts- how to?

2008-10-31 Thread bytte
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

[fw-general] Now how do I get a Zend Framework shirt?

2008-10-31 Thread Wil Sinclair
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

[fw-general] Re: Re[fw-general] stricting display of links to non-authorized pages in view scripts- how to?

2008-10-31 Thread nwhiting
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,

[fw-general] Zend_ProgressBar promoted to standard/trunk

2008-10-31 Thread Ben Scholzen 'DASPRiD'
-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

Re: [fw-general] Zend_Form Decorators explanation

2008-10-31 Thread nwhiting
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'),

[fw-general] Re: Re[fw-general] stricting display of links to non-authorized pages in view scripts- how to?

2008-10-31 Thread Chris Martin
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

[fw-general] Re: Re[fw-general] stricting display of links to non-authorized pages in view scripts- how to?

2008-10-31 Thread bytte
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:

[fw-general] Re: Re[fw-general] stricting display of links to non-authorized pages in view scripts- how to?

2008-10-31 Thread bytte
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

Re: [fw-general] db table prefix from config

2008-10-31 Thread Rob Allen
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

[fw-general] Re: Re[fw-general] stricting display of links to non-authorized pages in view scripts- how to?

2008-10-31 Thread Chris Martin
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

[fw-general] ZendX_Console_Process_Unix promoted to extras/trunk

2008-10-31 Thread Ben Scholzen 'DASPRiD'
-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 - -- ... :

[fw-general] New Zend_Validate_File_Hash class added to trunk

2008-10-31 Thread Thomas Weidner
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

[fw-general] Dijit elements and xhrPost

2008-10-31 Thread MarkDNA
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

Re: [fw-general] Zend_Form Decorators explanation

2008-10-31 Thread wenbert
nwhiting wrote: wenbert wrote: I have this: pre $elementDecorators = array( 'ViewHelper', 'Errors', 'Description', array(array('data' = 'HtmlTag'), array('tag' = 'dd', 'class' = 'element')), array('Label',