[fw-general] Graphs using Zend Framework

2010-03-15 Thread Sergio Rinaudo
Hello, I'm wondering if is there any component to manage graph using Zend Framework ( like jpgraph for example ) or if I have to use an external php library. I've already searched the documentation, I did not find any. Thanks Sergio ___

[fw-general] Re: how to decorate error message

2010-03-15 Thread dmitrybelyakov
Hi, As i can see from your example the error is in the same row with input and label. Now you can style it with CSS or if you whant to cang the / markup you can use setMarkupListStart()/setMarkupListStart(). Here's a link to http://zendframework.com/apidoc/core/Zend_Form/Decorator/Zend_Form_Deco

[fw-general] Re: how to decorate error message

2010-03-15 Thread dmitrybelyakov
Hi, As i can see from your example the error is in the same row with input and label. Now you can style it with CSS or if you whant to change the / markup you can use setMarkupListStart()/setMarkupListEnd(). Here's a link to http://zendframework.com/apidoc/core/Zend_Form/Decorator/Zend_Form_Deco

[fw-general] Re: Zend_Tool Modules Config

2010-03-15 Thread takeshin
Answered in this thread on SO: http://stackoverflow.com/questions/2438728/zend-framework-1-1-modules-setup/2440006 -- regards takeshin -- View this message in context: http://n4.nabble.com/Zend-Tool-Modules-Config-tp1591640p1591977.html Sent from the Zend Framework mailing list archive at Nabb

Re: [fw-general] Zend_Form + JQuery + tabs

2010-03-15 Thread David Mintz
On Fri, Mar 12, 2010 at 4:45 PM, Mike Wright wrote: > David Mintz wrote: > >> On Fri, Mar 12, 2010 at 1:34 PM, scs wrote: >> >> Hi, >>> I would validate each step's data and save it in session. >>> However, if any previous tab is clicked and there was an attempt to >>> change any validated input

[fw-general] Zend_Nav / acl for individual links

2010-03-15 Thread tonystamp
Hi I have set up a site using zend_nav from an xml config file. In the admin area is a table of articles, with links to edit or delete each article. Although zend_nav will not display items that have a role greater than the logged in users role on the main menu, i was wondering if it's possbile t

Re: [fw-general] Graphs using Zend Framework

2010-03-15 Thread Ralph Schindler
There is no graphing component in ZF. You might want to have a look at this proposal: http://framework.zend.com/wiki/display/ZFPROP/Zend_Image+-+Dolf+Schimmel But you also might want to have a look at a few other technologies: * jpgraph you already mentioned is very good * outputing XML fr

Re: [fw-general] Re: Purpose of .zfproject.xml project file

2010-03-15 Thread Ralph Schindler
Its purpose is to track the assets that the tools has created. That is the only way that Zend_Tool can determine the context of a particular file.. so it answers questions like: "is this file a model file or a controller file?" "What is this directory for", "Where is the models directory for

Re: [fw-general] problem with Zend_Session_SaveHandler_DbTable

2010-03-15 Thread Ralph Schindler
Wow, interesting. Can you file an issue for this? This looks like a good patch to include. How did the null terminator get included in the object data btw? -ralph Ondrej Ivanič wrote: Hi, 2010/3/12 Ondrej Ivanič : Surprisingly, the output from error_log was truncated: 1071: Zend_Auth|a:1:{

[fw-general] Zend Lucene displays blank screen when no results found

2010-03-15 Thread pixel_paul
Hi, When I submit a query to Zend_Lucene with a string that exists in the index, the results are displayed as expected, however when string is not found, I get a blank page with no error messages. Code used as below: require_once 'Zend/Feed.php'; require_once 'Zend/Search/Lucene.php'; $index =

AW: [fw-general] problem with Zend_Session_SaveHandler_DbTable

2010-03-15 Thread Stefan Gehrig
Hi Ralph, you'll get NULL characters in your serialized string, when you serialize objects containing private or protected member variables... Best regards Stefan -Ursprüngliche Nachricht- Von: Ralph Schindler [mailto:ralph.schind...@zend.com] Gesendet: Montag, 15. März 2010 15:48 An:

[fw-general] Setting up a multi-language site

2010-03-15 Thread holografix .
Hi I am developing a multi-language site/application and have this scenario: Check if a cookie exists with a language value. If the cookie does not exists, query a 'ip2country' table, set the language based on user's ip and set the cookie User may change language later and the cookie is updated.

Re: [fw-general] Setting up a multi-language site

2010-03-15 Thread Hector Virgen
The benefit of a front controller plugin is that it will have access to the request. This would, for example, allow you to add a link in your layout that reads "View in French" that would be a link to the current page but with a "lang" parameter in the request: View in French Your plugin could th

Re: [fw-general] Setting up a multi-language site

2010-03-15 Thread scs
You can set and initiate the default language in the bootstrap init function. And do the switching in the plugin. As a suggestion, instead of querying the ip2country db, it would be -in my opinion- a better practice to find the browser's default language and set the language accordingly. scs On

Re: [fw-general] Zend_Service_Twitter short url

2010-03-15 Thread Ralph Schindler
There is an outstanding proposal at: http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_ShortenUrl+-+Martin+Hujer Comment on it, and lets drive it to completion. -ralph Shaun Farrell wrote: I am in the process of updating the Zend_Service_Twitter to add all the Twitter API calls. I am

Re: [fw-general] Zend PDF drawText and blank PDF files

2010-03-15 Thread Ralph Schindler
Since you are on Solaris, can you output the PHP_OS string for me? Also, can you copy the iconv related information from your phpinfo()? I think I might know the problem.. -ralph Shadedream wrote: I'm testing out a tutorial for Zend PDF to see if it will be suitable for a project I'm working

[fw-general] Programmer wanted

2010-03-15 Thread Steffen Moll
Hi everyone, we are looking for a programmer for a website-builder (comparable with http://www.npage.de/, but specialized on a certain industry). Project-Management, concept, design, hosting and sales are all covered by the existing team. Therefore we are "only" looking for somebody who can

[fw-general] Zend_Form_Element_Hash with two random server

2010-03-15 Thread whisher
Hi, Hi, I'm debugging a script hosted by two server. You can land on serverOne or ServerTwo randomly. I'm getting troubles from the script so the first thing I thaught of was Zend_Form_Element_Hash. Could me tell me your opinion about it, please ? Bye -- View this message in context: http://

Re: [fw-general] Zend_Form_Element_Hash with two random server

2010-03-15 Thread Hector Virgen
If both servers can access the same session data (for example, by using db-based sessions or a memcached server), then you shouldn't run into any problems using a hash element. -- Hector On Mon, Mar 15, 2010 at 1:42 PM, whisher wrote: > > Hi, > Hi, > I'm debugging a script hosted by two server

[fw-general] Zend_Dojo_View_Helper_Dialog

2010-03-15 Thread Kyle Spraggs
I've written a view helper for Dojo dialogs. It works with both standard and enhanced (dojox.widget.Dialog) versions. See http://www.spiffyjr.me/2010/03/15/updated-zend_dojo_view_helper_dialog/ for more details. - Kyle Spraggs www.blitzaroo.com blogs @ www.spiffyjr.me follow me @ www.twitter

[fw-general] Re: Zend_Rest_Client posted XML

2010-03-15 Thread will barker
I suppose one issue is that im not posting xml at all, Im posting querystring style data. I think I thought zend_rest_client would format that appropriatly for me into xml. whoops. can sombody please tell me how to post an xml request to the api? And does ZF have a handy component to help me bu

[fw-general] ZF 1.10+ paths, installs and autoloading

2010-03-15 Thread Mike A
Asking this because I've researched for a week but remain unclear. I need to know not only for projects but to help newcomers in a book chapter currently under authorship. Before asking I have set up a test project having access to two modules (default and admin) with a personalised library and tw

[fw-general] Zend Form adding and removing elements from controller

2010-03-15 Thread prado
I removed some elements in the controller that I created before with Zend Form object (whose class is sitting in application/forms folder). I am unable to add those elements back, seems it is not straightforward, as an example I can use $form->removeElement('active'); but can't do $form->addEleme