Re: [fw-general] zend_form:display validation and error messages

2009-09-09 Thread chrisweb
riyas wrote: > everything works fine and mail is gone if I fill this form except that the form is not validated. For example the mail may sent without ‘FullName’, which is a required field > another problem is unable to display messages like ‘'Thank you’ . > this may because of

Re: [fw-general] authentification plugin fails, because form hash is not in session?

2009-05-24 Thread chrisweb
i know do it like this: public function dispatchLoopStartup(Zend_Controller_Request_Abstract $request) { $auth = Zend_Auth::getInstance(); if (!$auth->hasIdentity() && $request->getActionName() != 'login' && $request->getModuleName() == 'admin') { $translate

Re: [fw-general] module bootstrap doesnt load module routes

2009-05-24 Thread chrisweb
chrisweb wrote: > > > - but now i get another error msg: > > An exception occured while bootstrapping the > application.simplexml_load_file() [function.simplexml-load-file]: I/O > warning : failed to load external entity > "file:///C:/xampp/htdocs/gamerszone/a

Re: [fw-general] module bootstrap doesnt load module routes

2009-05-24 Thread chrisweb
ssbg wrote: > > Chris, > > I'm having problems with module configs too, but I'm guessing that your > function name should be "_initRouter()". Are you seeing your error > message logged? If your logger is working, log your routes before you > send them to the router to verify they're being re

Re: [fw-general] authentification plugin fails, because form hash is not in session?

2009-05-23 Thread chrisweb
chrisweb wrote: > > > If i open my browser and enter www.mysite.dev/admin/ (its a virtualhost on > my dev server), it opens show the form i have in my login action, the form > has an hash, but the session is empty, there is no hash in the session, so > if i click on the logi

Re: [fw-general] authentification plugin fails, because form hash is not in session?

2009-05-22 Thread chrisweb
i resend my question cause i made some changes ... Hello, I have an authenfication controller in every module and each controller has an authenfication script in its predispatch method. Now i wanted to change this ... i wanted to use a plugin which should authentificate the user with a predispat

Re: [fw-general] authentification plugin fails, because form hash is not in session?

2009-05-22 Thread chrisweb
i resend my question cause i made some changes ... Hello, I have an authenfication controller in every module and each controller has an authenfication script in its predispatch method. Now i wanted to change this ... i wanted to use a plugin which should authentificate the user with a predispat

Re: [fw-general] authentification plugin fails, because form hash is not in session?

2009-05-22 Thread chrisweb
i resend my question cause i made some changes ... Hello, I have an authenfication controller in every module and each controller has an authenfication script in its predispatch method. Now i wanted to change this ... i wanted to use a plugin which should authentificate the user with a predispat

Re: [fw-general] authentification plugin fails, because form hash is not in session?

2009-05-22 Thread chrisweb
i resend my question cause i made some changes ... Hello, I have an authenfication controller in every module and each controller has an authenfication script in its predispatch method. Now i wanted to change this ... i wanted to use a plugin which should authentificate the user with a predispat

Re: [fw-general] Get an action helper object within a layout view script.

2009-05-22 Thread chrisweb
Razorblade wrote: > > > Hi, > I need to get the returned object from an action helper, within a layout > view script. > How to get the helper object and use it? > Thanks > > Sergio Rinaudo > > to pass data from action itself to the view or in your case to a layout (which is similar to a v

Re: [fw-general] Using fetch() in a loop, internal query doesn't work

2009-05-22 Thread chrisweb
Thesee wrote: > > Hi all, > i'm having some trouble fetching and making query trough a loop. (sorry > for my bad english) > > to explain , please read the example : > > suppose to have 100 bugs unsolved. > > $stmt = $db->query('SELECT * FROM bugs'); > > while ($row = $stmt->fetch()) { >

Re: [fw-general] Keep me logged in + Password reset for login forms

2009-05-22 Thread chrisweb
bytte wrote: > > I've created a basic login system using Zend_Auth and Zend_Acl and now I'm > wondering what's the best way to expand my login form with these two extra > functionalities: > > - "keep me logged in on this computer" feature > - password reset if visitor has forgotten password >

[fw-general] authentification plugin fails, because form hash is not in session?

2009-05-22 Thread chrisweb
Hello, I have an authenfication controller in every module and each controller has an authenfication script in its ini method. Now i wanted to change this ... i wanted to use a plugin which should authentificate the user, so i wont have to add the code in each ini method. Heres the auth controll

Re: [fw-general] zend_application db resource configuration >

2009-05-05 Thread chrisweb
thx ralph, i will read the page you suggested and try it the way you suggested -- View this message in context: http://www.nabble.com/zend_application-db-resource-configuration-%3E-tp23371527p23383038.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] zend_application db resource configuration >

2009-05-04 Thread chrisweb
I found this great db setup example at http://code.google.com/p/zendframeworkstorefront/ resources.db.adapter = MYSQLI resources.db.params.host = localhost resources.db.params.username = root resources.db.params.password = resources.db.params.dbname = gamerszone resources.db.params.driver_option

Re: [fw-general] Zend Framework team reorganization

2009-04-16 Thread chrisweb
Thank you Wil Sinclair for the hard work you have put in Zend Framework, one year ago we switching almost all our websites (+-50) to Zend Framework, we love Zend Framework, especially Zend_Cache Zend_Lucene and Zend_Form which are really great because their use is very easy but the possibilities a

Re: [fw-general] multiple models with same name (m1/models/pages.php and m2/models/pages.php)

2008-09-23 Thread chrisweb
Edward Haber wrote: > > First of all, had I known you were a Zend engineer I probably wouldn't > have opened my big mouth. I'm new to the list. :-) But since it's > already open, i'll just offer a few points of view from my perspective. > > On Sep 22, 2008, at 12:55 PM, Bill Karwin wrote:

RE: [fw-general] multiple models with same name (m1/models/pages.php and m2/models/pages.php)

2008-09-23 Thread chrisweb
lect for editing, etc. There will be more methods in your > model than your front-end uses, but most of the ones the front-end uses > can be used by the backend. > > Hope this helps you along your path as well. > > > > Jeremy Brown > Senior Web Developer > Spea

Re: [fw-general] multiple models with same name (m1/models/pages.php and m2/models/pages.php)

2008-09-23 Thread chrisweb
Hello, Thx for telling me your thoughts, its good to have different opinions about how to solve that problem, i still don't know what way is best, but as you said i think it depends on what you want to achieve ... the idea of having a folder for models where you put all your models is a good on

[fw-general] multiple models with same name (m1/models/pages.php and m2/models/pages.php)

2008-09-22 Thread chrisweb
Hello, I have a noob questions for you ;-) ... i did not know if its better to put this question in the "core" or perhaps "zend_db" folder its why i published it here ... i also searched a lot in the mailinglist archive but did not find a similar question, sry if its an duplicate :blush: my webs

Re: [fw-general] 2 paginator in same view

2008-09-19 Thread chrisweb
Hello, I have added a ticket in the zend framework bug tracker. Chris Hello, ;-) np, i will open a ticket today ... Chris Matthew Ratzloff wrote: > > Well, this is embarrassing. It's a bug that I apparently introduced in > 1.6.1. Please file a ticket and I'll try to fix it within 12 ho

Re: [fw-general] 2 paginator in same view

2008-09-18 Thread chrisweb
Hello, ;-) np, i will open a ticket today ... Chris Well, this is embarrassing. It's a bug that I apparently introduced in 1.6.1. Please file a ticket and I'll try to fix it within 12 hours. In the meantime, you can resolve this by naming your paginator object something besides $paginator;

[fw-general] 2 paginator in same view

2008-09-18 Thread chrisweb
Hello, I have downloaded the new zend framework 1.6.1. I love it but I'm new and only use it since few weeks, i have a first question regarding the pagination: I have a view in my administration which shows me my news articles, there two lists one which shows the last ten active news another one