Re: CakePHP 1.3 and AMFPHP

2012-10-29 Thread Doug Hagan
https://github.com/dhagan/cake2-amfphp On Sunday, April 10, 2011 8:15:34 PM UTC-7, sams wrote: there is this article http://bakery.cakephp.org/articles/vernerd/2009/06/28/flex-remoting-with-cakephp-cpamf-plugin-1 in the comments someone says it works well with 1.3 when changing routes -

Re: CakePHP 1.3 and AMFPHP

2012-09-30 Thread Doug Hagan
I migrated the cakephp 1.3 with amfphp to cakephp 2.0, seems to work. I'm willing to make it available on github if there is any interest On Saturday, April 9, 2011 10:45:59 PM UTC-7, R0ckET wrote: hello, someone has used AMFPHP with cakephp 1.3? -- Like Us on FacekBook

implementing i18n in a non cakephp app

2011-09-02 Thread dole doug
hi there I have an old webapp on which i have to add i18n support. At this moment I've added a __() around my messages which i need to be translated and changed in my interface. I don't have great experience with cake or programming in OO but I'll like to know the logic by which cakephp can

Re: Can I place the join fields in the Home.ctp?

2011-06-27 Thread Doug Hale
$this-Form-input('password'); echo $this-Form-input('firstname'); echo $this-Form-input('lastname'); echo $this-Form-input('email'); ? ?php echo $this-Form-end(__('Submit', true));? Thanks Doug On Mon, Jun 27, 2011 at 1:37 AM, Ryan Schmidt google-2...@ryandesign.comwrote: On Jun

Can I place the join fields in the Home.ctp?

2011-06-26 Thread Doug
::display() in file: app\controllers \users_controller.php. ?php class UsersController extends AppController { var $name = 'Users'; function display() { } } ? Obviously I am a cakePHP noob so go easy. Thanks Doug Hale -- Our newest site for the community: CakePHP Video

Re: Cookbook is partially offline/broken

2011-05-02 Thread Doug
Me too. Google Chrome will load cakephp.org but returns a server error when I follow any of the three links (1.1, 1.2, 1.3) to the Books. I can load those same pages using Firefox with no problem. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

Theme still referring to base webroot css file

2011-04-26 Thread Doug
Hi. I set up a theme directory structure for themes within my cakephp 1.3 app. It seems to work correctly except that it's still referencing the base css file (app/webroot/css/cake.generic.css) instead of the themed css file (app/views/themed/default/webroot/css/default.css).

Re: Theme still referring to base webroot css file

2011-04-26 Thread Doug Springer
25, 2011 at 12:12 PM, Doug douglas.sprin...@gmail.com wrote: Hi. I set up a theme directory structure for themes within my cakephp class ArticlesController extends AppController { var $view = 'Theme'; var $theme = 'default'; Looks like you got these mixed up. -- Our

Re: Email Attachments Don't Work (1.2)

2008-04-25 Thread Doug @ Straw Dogs
For anyone else suffering this problem the solution is: For some reason Cake won't do attachments unless you state the filePaths first. This is the case even if you are using an absolute path for your attachments. Thanks. On Apr 21, 2:47 pm, Doug [EMAIL PROTECTED] wrote: I've done a scount

Email Attachments Don't Work (1.2)

2008-04-21 Thread Doug
I've done a scount round the group for info on this but not found any help. One person wasn't answered - I hope that won't be the case this time round. Basically I'm attempting to send an email with attachment. Using this code: //@todo Send from client email address $this-Email-to

Ajax Update HABTM?

2008-03-05 Thread Doug
I've built the scaffold which works fine at updating my HABTM record from the edit screen. However, in my app I want to be able to update my HABTM record via the view using an Ajax call. For example: Customer - - Product I want to be able to view my customer with a select box (or checkboxes)

Bakery Article Submission - Broken?

2008-03-04 Thread Doug @ Straw Dogs
I'm trying to submit an article/component in the Bakery but its returning a blank screen on submission. I'd give more information but thats as much as there is. Nothing. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: saveAll() Problems

2008-02-22 Thread Doug @ Straw Dogs
on associations and saving data?http://book.cakephp.org/view/66/models#associations-78 Sam D On Thu, Feb 21, 2008 at 5:41 AM, Doug @ Straw Dogs [EMAIL PROTECTED] wrote: I've been banging my head against a wall trying to get $this-Model- saveAll() working. I'm hoping someone has the answers

FormHelper::input() has no size option??

2008-02-22 Thread Doug @ Straw Dogs
I'm a bit suprised to find that the input method of the form helper doesn't have a size attribute. Am I missing it or do I need to hack it in myself? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group.

Fatal error: Call to a member function schema() on a non-object

2008-02-02 Thread Doug @ Straw Dogs
I'm having loads of problems using bake in 1.2 beta. The above error (Fatal error: Call to a member function schema() on a non-object) occurs when I attempt to bake a view for my tables called apps. It has multiple relationships to other tables. Mainly hasMany relationships. I've created the

Re: Baked Views have no fields...

2008-02-02 Thread Doug @ Straw Dogs
This is on version 1.1 - the currently available stable download. The pattern appears to be: Any table of two words like widget_types or incoming_calls fails to bake views with fields. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are

Segmentation fault on baking controller

2008-02-02 Thread Doug @ Straw Dogs
On Cake 1.2 beta:: When I bake a controller that has belongsTo associations I get a segmentation fault. This gets printed to the screen after asking the creation questions. Specifically Would you like to create the methods for admin routing. Any ideas? :(

Re: Segmentation fault on baking controller

2008-02-02 Thread Doug @ Straw Dogs
I've found the solution to this: You must build the models and controllers for 'parent' tables (those that haveMany) before you build their childrens controllers. On Feb 3, 12:08 am, Doug @ Straw Dogs [EMAIL PROTECTED] wrote: On Cake 1.2 beta:: When I bake a controller that has belongsTo

Baked Views have no fields...

2008-02-01 Thread Doug @ Straw Dogs
Hello all When I generate MVCs using the bake.php script for tables of two words my view ends up having no form fields. I can't find any info on this - has this happened to anyone before? For example I have a table called: incoming_calls and my generated model is called: IncomingCall. My

Re: requestAction issue when using a plugin

2007-01-31 Thread Doug
of loadController is still used to determine if the controller is a plugin or not (in dispatch.php - function dispatch ). Doug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: requestAction issue when using a plugin

2007-01-31 Thread Doug
On Jan 31, 2:20 am, Dr. Tarique Sani [EMAIL PROTECTED] wrote: Go ahead hack the CakePHP core to make it work - create a patch and post a ticket in the Trac with your patch attached - someone from the dev team will apply the patch or suggest alternatives. Thanks for your advice. I opened a

requestAction issue when using a plugin

2007-01-30 Thread Doug
if this is a bug I will look for a way to report it, but maybe I am just misunderstanding something. Doug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php

Re: more routing + admin routing questions...

2007-01-28 Thread Doug
Just modify your routes to specify the admin route before the catchall: $Route-connect('/admin/*', array('controller' = 'admin', 'action' ='index')); $Route-connect('/*', array('controller' = 'contents', 'action' ='index')); On Jan 28, 1:40 am, GuyBowden [EMAIL PROTECTED] wrote: Hi, I