[fw-general] The postdispatch event of all action will be executed twice after integrating smarty.

2009-12-12 Thread andythinker
No matter what I extend zend_view or implement Zend_View_Interface,the postdispatch or predispatch will be executed twice. Why Any response is welcome. Thank you in advance. -- View this message in context: http://n4.nabble.com/The-postdispatch-event-of-all-action-will-be-executed-twice-afte

Re: [fw-general] Zend Partials???

2009-12-12 Thread Daniel Latter
Partials have their own local variable scope so wat u can do is define local variables in the partial and instead of passing a rowset object pass an array of key value pairs as the second parameter to the partialLoop, the keys will be the local variable names, this allows you to standardise

Re: [fw-general] Adding simple route in application.ini

2009-12-12 Thread Daniel Latter
Strange, i don't get any error?? On 12 Dec 2009, at 16:16, umpirsky wrote: It processed the route from config as well, but throwed same error. Error does not occurs in url helper, like your reproduced case, but also when I type in address bar http://mysite.com/oglas/25 direct visiting m

[fw-general] Zend_Form translate messages

2009-12-12 Thread umpirsky
Hi. If anyone have po file with all error messages http://framework.zend.com/manual/en/zend.validate.messages.html it would be nice to share ;) Othervise, I'll make one and share. PS Dont ask me which language I need :) Regards, Saša Stamenković. -- View this message in context: http://n4.nab

[fw-general] Zend Partials???

2009-12-12 Thread Stephenalistoun
Hey all, I'm wanting to use a partial for a list, to be able to read my columns names automatically instead of me manually saying which columns must be read for example $this->strTitle,$this->strLastUser etc. So that i can use one partial. Is there a way of doing this? //index.pthml $this->part

[fw-general] Problem with zend tool

2009-12-12 Thread Jigal sanders
On my ubuntu machine when i try to create a controller: zf create action edit events I get the error: Fatal error: Cannot redeclare class Zend_Tool_Project_Provider_Manifest in /usr/share/php/libzend-framework-php/Zend/Tool/Project/Provider/Manifest.php on line 69 I have created a symlink to z

Re: [fw-general] Routers and caching

2009-12-12 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BenG wrote on 11.12.2009 12:11: > Hi, > > Our application requires a number of routes to be defined which are > dependent on dynamically populated database fields. This currently results > in quite a lot of queries on each page load. > > Is it possib

Re: [fw-general] cant reset issue tracker password?

2009-12-12 Thread Pádraic Brady
You have to reset your password from a separate location: http://framework.zend.com/crowd/ The link should be put somewhere obvious at some time ;). Paddy Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative ___

[fw-general] cant reset issue tracker password?

2009-12-12 Thread jshpro2
The JIRA email confirmation at signup reads: "(If you forget your password, you can retrieve it via the "Forgot Password" link on the sign up page)" And I have no forgotten password link, on the signup page or any other page

Re: [fw-general] Adding simple route in application.ini

2009-12-12 Thread umpirsky
It processed the route from config as well, but throwed same error. Error does not occurs in url helper, like your reproduced case, but also when I type in address bar http://mysite.com/oglas/25 direct visiting my new route. Does it works same for you? Regards, Saša Stamenković. Daniel Latter

Re: [fw-general] Adding simple route in application.ini

2009-12-12 Thread Daniel Latter
Hi, OK, at least its processing you route. I manged to re-create this error by passing a null value to the id parameter when using the url helper, maybe this is your problem? Try: url(array(), 'car'); ?> and see if that works. Dan 2009/12/12 umpirsky > > Hi. > > I get same as you from u

Re: [fw-general] Adding simple route in application.ini

2009-12-12 Thread umpirsky
Hi. I get same as you from url helper. But visiting /oglas/25 gives me Fatal error: Uncaught exception 'Zend_Controller_Router_Exception' with message 'id is not specified' in Zend\Controller\Router\Route.php:350 again (zf 1.9.6). So I get same behaviour as with application.ini :( Thanks for

[fw-general] Re: Adding simple route in application.ini

2009-12-12 Thread Daniel Latter
Sorry, there is a typo in my email I have used 'olgas' instead of 'oglas' 2009/12/12 Daniel Latter > Hi umpirsky, > > > I have done some testing and I cant get the config method to work but the > following works for fine me: > > // bootstrap _init function > // http://forums.zend.com/viewtop

[fw-general] Adding simple route in application.ini

2009-12-12 Thread Daniel Latter
Hi umpirsky, I have done some testing and I cant get the config method to work but the following works for fine me: // bootstrap _init function // http://forums.zend.com/viewtopic.php?f=69&t=1312#p4770 public function _initRouter() { $front = Zend_Controller_Front::getInstance(); $router

Re: [fw-general] Adding simple route in application.ini

2009-12-12 Thread umpirsky
I tried that as well, but got Zend_Controller_Dispatcher_Exception: Invalid controller specified (oglas) thrown in Zend\Controller\Dispatcher\Standard.php on line 242 as I said above. What url helper generates (oglas/25) is even better, but get fatal error (also explained above). Thanks for th

Re: [fw-general] Adding simple route in application.ini

2009-12-12 Thread Daniel Latter
Judging by what u want, shouldn't it be: /oglas/id/:id ? On 12 Dec 2009, at 10:52, umpirsky wrote: Hi. I want my url /default/car/view/id/25 to turn into /oglas/id/25 In order to achieve this, I added in application.ini resources.router.routes.car.route = "/oglas/:id" resources.router.rou

[fw-general] Adding simple route in application.ini

2009-12-12 Thread umpirsky
Hi. I want my url /default/car/view/id/25 to turn into /oglas/id/25 In order to achieve this, I added in application.ini resources.router.routes.car.route = "/oglas/:id" resources.router.routes.car.defaults.module = "default" resources.router.routes.car.defaults.controller = "car" resources.rou