[fw-general] Zend_Session problem

2009-10-28 Thread Vibhor Singh
Hi folks, I am having a problem using Zend_Session in my app. Using ZF version 1.9.1 I am using the following code to set a members data in session for a period of 2 hrs after successful login Zend_Session::rememberMe(60*60*2); However, the session goes out in merely 5 -10 mins.

[fw-general]

2009-08-21 Thread Vibhor Singh
Hi all, Is there any way to call a custom action helper in a model file? Can anyone suggest a different approach? Any help would be greatly appreciated. Thanks, Vibhor

[fw-general] RE: [fw-mvc] [fw-general] call a custom action helper in a model file

2009-08-21 Thread Vibhor Singh
, Vibhor Singh wrote: Hi all, Is there any way to call a custom action helper in a model file? Can anyone suggest a different approach? Any help would be greatly appreciated. Thanks, Vibhor

RE: [fw-general] [fw-mvc] - Zend_Config_Xml with attributes

2009-08-18 Thread Vibhor Singh
Vibhor Singh wrote on 17.08.2009 13:13: Now suppose I want to access data under this node(items type=”shoes”), then how should I do this using the Zend_Config_Xml object. Can someone please help me in this? Any help would be greatly appreciated. $config-items[0]-type === 'clothes'; $config-items

[fw-general] [fw-mvc] - Zend_Config_Xml with attributes

2009-08-17 Thread Vibhor Singh
Hi all, I want to use Zend_Config_Xml feature of ZF to automate my system. I am curious to know whether Zend_Config_Xml is able to read custom attributes of any xml file. If so, can someone please let me know how can this be achieved? My xml file would look something like this: ?xml

RE: [fw-general] Re: [fw-mvc] - Where to put common DB calls

2009-07-30 Thread Vibhor Singh
Thanks Abraham for your comments! From: Abraham Block [mailto:atbl...@gmail.com] Sent: Wednesday, July 29, 2009 6:43 PM To: Vibhor Singh Cc: fw-...@lists.zend.com; fw-general@lists.zend.com Subject: [fw-general] Re: [fw-mvc] - Where to put common DB calls I would suggest either to use

[fw-general] [fw-mvc] - Where to put common DB calls

2009-07-29 Thread Vibhor Singh
Hi, Can someone plz tell me whether there is any provision in ZF where I can put my common DB related functionalities, something like how action helpers is to controllers? All suggestions are welcome. Thanks, Vibhor

[fw-general] - Using router

2009-06-05 Thread Vibhor Singh
Hi all, I have a modular ZF application. I am trying to use the Standard Router to rewrite some urls. I want to make this link: http://domain.com/project_folder/news/news/view/id/67 to be pointed as http://domain.com/project_folder/ http://domain.com/project_folder/%20view/id/67

[fw-general] Action controller in modular structure

2009-05-12 Thread Vibhor Singh
Hi, I am using a modular directory structure for my zend app. Here is the structure: Appname - frontend -modules -module1 -controller

Re: [fw-general] Public folder but application uses modules

2009-03-04 Thread Vibhor Singh
yes. I am developing an application with several modules. So I have the following dir structure: zfproject --backend --frontend --layouts --scripts --modules --default --controllers --models --cms

[fw-general] Child rows get deleted but Parent does not

2009-02-20 Thread Vibhor Singh
Hi all, I have implemented a one-to-many relationship between 2 tables (contests, contest_winners) One contest can have many contest_winners The problem is that when I delete a contest, the child records get deleted but the parent record does not. It gives the following error: Fatal

RE: [fw-general] Child rows get deleted but Parent does not -- corrected

2009-02-20 Thread Vibhor Singh
but Parent does not try to call the delete function in your model something else, like deletebyid($id)... Vibhor Singh-2 wrote: Hi all, I have implemented a one-to-many relationship between 2 tables (contests, contest_winners) One contest can have many contest_winners The problem

RE: [fw-general] Confused about decorators

2008-12-18 Thread vibhor singh
as Zend: library Zend Controller Form, View, etc. My Decorator Composite.php your other library classes, e.g. helpers, plugins, forms -- Mon On Thu, Dec 18, 2008 at 2:57 PM, vibhor singh vib...@pivisions.com wrote: Just to add I am

[fw-general] Confused about decorators

2008-12-17 Thread vibhor singh
Hi all, I have just begun learning ZF. I have come across Decorators and am finding a bit difficult to grasp it. My question is where I need to put my new decorator class in the project folder. It looks like the following: vQuick -application

RE: [fw-general] Confused about decorators

2008-12-17 Thread vibhor singh
Just to add I am getting the following error: Message: Plugin by name 'Composite' was not found in the registry; used paths: My_Decorator_: My/Decorator/ Zend_Form_Decorator_: Zend/Form/Decorator/:Zend/Form/Decorator/ _ From: vibhor singh [mailto:vib...@pivisions.com] Sent: Thursday