Re: call store procedure in cakephp

2008-10-17 Thread spub
You want to call a view from a mysql stored procedure? You could probably make a request to a controller. Without a controller you wouldn't have much in your view!! On Oct 17, 6:31 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i want to convert my whole system in store procedure, so that

Re: Naming Conventions

2008-10-16 Thread spub
Should be able to do this in the model. Class Service extends AppModel { var $useTable = 'service'; } On Oct 16, 4:48 pm, MDB [EMAIL PROTECTED] wrote: Hello all,  I have a cake application that I need to add an existing table to that doesn't follow the cake naming convention and I am

Re: Check out this CakePHP Job Board - Small Problem

2008-09-01 Thread spub
look at previous posts on routing. You need to either use some rule in .htaccess or add some custome routes. cakephp is expecting to see a controller called uploads.. On Sep 1, 8:36 pm, kujina [EMAIL PROTECTED] wrote: Please check out my simple job board here: http://82.34.51.7/jobboard My

Re: General purpose page / design issues

2008-05-20 Thread spub
In terms of adding small pieces of functionality I tend to use a mixture of requestActions and renderElement. For example in an ecommerce site I may use $categories = $this- requestAction('/categories/index'); to retrieve the categories and display them on the index page. Same would apply for