Re: [fw-general] Re: Zend_Tool doesn't find my providers

2010-03-22 Thread Mads Lie Jensen
Hej Chris Morrell I don't know why it's switched, but it doesn't seem that bad to configure the providers in a INI file. You can also include them using something like: Configuring the providers in the ini-file is not a problem for me either. But the online reference-guide doesn't mention

[fw-general] Zend Navigation Menu View Helper

2010-03-22 Thread SiCo
I'm trying to use the menu view helper, so far it works well but I am struggling to get the setOnlyActiveBranch(true) to act as expected. It works fine when a page has sub pages. i.e. only that branch is returned giving me a compact menu: Main 1 - Sub 1 - Sub 2 However if the active branch

[fw-general] Tying Dojo and Zend form validation together - I'm dreaming, right?

2010-03-22 Thread Cameron
Hi guys, I've got a pie in the sky idea, and I'm just wondering if it's even remotely possible, or if I should give up and try something else. I've got a bunch of Zend_Dojo_Form forms with a bunch of custom validators on the Zend side - they work fine, the form errors out when values are

[fw-general] Upload File

2010-03-22 Thread Sami
* Edit post * Report this post * Reply with quote Upload File Postby sami_ghname82 on Mon Mar 22, 2010 10:24 am Hi All I have this code to upload a file to server. I need if the file exist change file name by code and uploaded another time not by the user. How can proposed name

RE: [fw-general] Using an external database for user credential

2010-03-22 Thread Sergio Rinaudo
And how to inject $db inside a model so that all the method inside that model take the new $db instance as $this ( if it is possible.. )? Thanks Sergio From: djvir...@gmail.com Date: Fri, 19 Mar 2010 08:12:48 -0700 To: kaiohken1...@hotmail.com CC: fw-general@lists.zend.com Subject: Re:

Re: [fw-general] ZF CLI Bash Completion Script

2010-03-22 Thread Ralph Schindler
This is pretty awesome, I am gonna check it out ... I'm trying to get the script to dynamically load the commands (right now they're just hard coded so custom providers and future updates aren't included) but I can't for the life of me get it to work. I could alter the output of help in

Re: [fw-general] Re: Zend_Tool doesn't find my providers

2010-03-22 Thread Chris Morrell
Good point. I've added comments on both pages where the outdated information exists. Hopefully it'll be updated in the next version of the documentation (if I find time I'll read up on the docbook format and submit a patch myself). CM On Mon, Mar 22, 2010 at 4:15 AM, Mads Lie Jensen

[fw-general] Zend_Navigation and Breadcrumbs

2010-03-22 Thread Alayn Gortazar
Hi everybody, I'm trying to use Zend_Navigation to print my sites breadcrumbs, but it seems it doesn't work as I expected... What I want is a structure with a unique root, different branches and a final leave (page). What seems logical in a breadcrumb guided site. This is the structure that I

Re: [fw-general] Cannot instantiate Zend_Filter_StringToLower with encoding param

2010-03-22 Thread Valentin
Try this $f = new Zend_Filter_StringToUpper(); $f-setEncoding('UTF -8'); $var = $f-filter($var); Bye

Re: [fw-general] Re: Zend_Tool doesn't find my providers

2010-03-22 Thread Chris Morrell
I've submitted a patch to the documentation: http://framework.zend.com/issues/browse/ZF-9507 CM On Mon, Mar 22, 2010 at 11:44 AM, Chris Morrell ch...@cmorrell.com wrote: Good point. I've added comments on both pages where the outdated information exists. Hopefully it'll be updated in the

[fw-general] Re: Doctrine - default directory structure

2010-03-22 Thread jsuggs
I'm trying to wrap my brain around some of these concepts as well. Just out of curiosity, who all uses module specific models? In the case of dasprids.de (source: http://site.svn.dasprids.de/) Ben separates the models into their respective module utilizing the default module somewhat as a

[fw-general] Re: Would anyone want Zend_VersionControl_Subversion?

2010-03-22 Thread tonystamp
Sounds promising! -- View this message in context: http://n4.nabble.com/Would-anyone-want-Zend-VersionControl-Subversion-tp1598693p1678016.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Re: Getting resources in bootstrap

2010-03-22 Thread tonystamp
If you need to access another resource in the bootstrap, you first ensure that the method loading the required resource has been run, then simply fetch it: $this-bootstrap('cachemanager'); $cache = $this-getResource('cachemanager'); -- View this message in context:

Re: [fw-general] Using url view helper with named custom route - exception id not specified

2010-03-22 Thread Hector Virgen
You are using the named parameters id and fileType in your route, but your regex requirements are using applicationID and file. The name that comes immediately after the colon is the parameters name, so your route should look more like this: $applicationRoute = new Zend_Controller_Router_Route(

Re: [fw-general] Re: Getting resources in bootstrap

2010-03-22 Thread holografix .
Hi Thanks. I dont't know if it's a problem with Zend_Cache_Manager. inside _initTranslate() $this-bootstrap('cachemanager'); $manager = $this-getResource('cachemanager'); // Zend_Debug::dump($manager); == ok returns a Zend_Cache_Manager object $cache = $manager-getCache('cache'); produces a

[fw-general] Using Zend_Mail (and all the functionalities transport etc...) standalone requirements.

2010-03-22 Thread MEM
Hello all, I have seen several tutorials on the net, explaining how to use the Zend_Mail component, however, I'm wondering, what if we don't want to use anything else, then the Zend_Mail and relative classes? What are the minimum requirements for having the ability to send e-mails using ZEND

Re: [fw-general] Re: Getting resources in bootstrap

2010-03-22 Thread holografix .
Hi Zend_Cache_Manager documentation is wrong. Followed the docs and made same mistake. http://framework.zend.com/manual/en/zend.cache.cache.manager.html 1. $manager = new Zend_Cache_Manager; 2. 3. $dbCache = array http://www.php.net/array( 4. 'frontend' = array