Re: Eclipse 3.3.1 and Cake PHP 1.2
Hi All, I did complete the Setup to use the phpeditor for .thtml and .ctp. Cake is listed in my include paths folder. As for the outline, I opened it in a controller, and it only shows the controller, and the functions in the controller. Am I supposed to see a list of the core classes above my controller? I also see $helpers:, $components, $name which are the global variables that I am calling for the controller, but the circle is not solid next to it. So how should the outline look. My looks like this: C Store Controller o $components: o $helpers : o $name : O add() O delete() O edit() O view() O index() I try to activate the autocomplete on cakePHP classes and functions but it does not seem to work. Thank you for all your help. Technoguru On Feb 24, 6:49 am, Ape [EMAIL PROTECTED] wrote: HiTechnoguru, I hope I understood your problem right: Have you setup Eclipse to use the phpeditor as editor for *.thtml , *.ctp and *.php files? See instructions on the article you mentioned:http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-wi... If so: does the outline windows just say 'outline not available' or just nothing. Nothing means that you didn't have a functions, class etc in the current document. 'outline not available' means that it doesn't recognize the file as being php. Have you called a core-class in your document? otherwise you won't see it in the ouline Do you use Crtl-Space for autocomplete? Is cake listed in the Include Path folder in the explorer windows? NB: I always - File: import: 'import as existing project' my apps. Cheers, Ape On Feb 23, 5:26 pm,Technoguru[EMAIL PROTECTED] wrote: I have been following the tutorial athttp://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-wi..., in order to setup a cakePHP and Eclipse Environment that will give me the ability to use cakePHP code completion, as well as run the bake script in the Eclipse Workspace. However it does not seem to work. I am using CakePHP 1.2 and Eclipse 3.3.1 on a Windows XP, that has Apache, PHP, and MYSQL already installed. I get to the point labeled Defining projects in the tutorial, and can't get cake and my project to link up. Can someone explain how my files need to be setup (where do I place the core, and where my projects go in relation to it), how to link the cake core files into my project so I have access to its classes, how to verify that the link was made, and finally the syntax to setup the bake script. The more detail, the better. Thank you very much. UPDATE I have made some progress, but the controller still does not inherit the core classes. Here is how far I have gotten: 1. I installed Eclipse PDT 2. I noticed that I was on the PHP navigator and not the PHP explorer initially, so I opened the explorer by going to Windows - Show View - Other - PHP Explorer (Under PHP tools) 3. I had to convert the project to a PDT project in order to get the Include Path ability. Right click the project, and click Convert to PDT project. Now if you right click you will see the Include Pathoptions. After including the path to the cake core, it stills seems like it is not working. I look in the Outline, and the core classes are not present, and auto complete does not work. Can someone please help us out. Thanks. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Eclipse 3.3.1 and Cake PHP 1.2
I've followed that article and it works great. I'm not an expert in eclipse, my only experience with it was that tutorial. So, once it worked, never touched it again. I have this directory layout: $HOME/php/ --- the webroot and eclipse workplace cake (the core) project1 (app for project1) project2 (app for project2) On 2/23/08, Technoguru [EMAIL PROTECTED] wrote: I have been following the tutorial at http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake, in order to setup a cakePHP and Eclipse Environment that will give me the ability to use cakePHP code completion, as well as run the bake script in the Eclipse Workspace. However it does not seem to work. I am using CakePHP 1.2 and Eclipse 3.3.1 on a Windows XP, that has Apache, PHP, and MYSQL already installed. I get to the point labeled Defining projects in the tutorial, and can't get cake and my project to link up. Can someone explain how my files need to be setup (where do I place the core, and where my projects go in relation to it), how to link the cake core files into my project so I have access to its classes, how to verify that the link was made, and finally the syntax to setup the bake script. The more detail, the better. Thank you very much. UPDATE I have made some progress, but the controller still does not inherit the core classes. Here is how far I have gotten: 1. I installed Eclipse PDT 2. I noticed that I was on the PHP navigator and not the PHP explorer initially, so I opened the explorer by going to Windows - Show View - Other - PHP Explorer (Under PHP tools) 3. I had to convert the project to a PDT project in order to get the Include Path ability. Right click the project, and click Convert to PDT project. Now if you right click you will see the Include Pathoptions. After including the path to the cake core, it stills seems like it is not working. I look in the Outline, and the core classes are not present, and auto complete does not work. Can someone please help us out. Thanks. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Eclipse 3.3.1 and Cake PHP 1.2
Hi Technoguru, I hope I understood your problem right: Have you setup Eclipse to use the phpeditor as editor for *.thtml , *.ctp and *.php files? See instructions on the article you mentioned: http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-wi... If so: does the outline windows just say 'outline not available' or just nothing. Nothing means that you didn't have a functions, class etc in the current document. 'outline not available' means that it doesn't recognize the file as being php. Have you called a core-class in your document? otherwise you won't see it in the ouline Do you use Crtl-Space for autocomplete? Is cake listed in the Include Path folder in the explorer windows? NB: I always - File: import: 'import as existing project' my apps. Cheers, Ape On Feb 23, 5:26 pm, Technoguru [EMAIL PROTECTED] wrote: I have been following the tutorial athttp://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-wi..., in order to setup a cakePHP and Eclipse Environment that will give me the ability to use cakePHP code completion, as well as run the bake script in the Eclipse Workspace. However it does not seem to work. I am using CakePHP 1.2 and Eclipse 3.3.1 on a Windows XP, that has Apache, PHP, and MYSQL already installed. I get to the point labeled Defining projects in the tutorial, and can't get cake and my project to link up. Can someone explain how my files need to be setup (where do I place the core, and where my projects go in relation to it), how to link the cake core files into my project so I have access to its classes, how to verify that the link was made, and finally the syntax to setup the bake script. The more detail, the better. Thank you very much. UPDATE I have made some progress, but the controller still does not inherit the core classes. Here is how far I have gotten: 1. I installed Eclipse PDT 2. I noticed that I was on the PHP navigator and not the PHP explorer initially, so I opened the explorer by going to Windows - Show View - Other - PHP Explorer (Under PHP tools) 3. I had to convert the project to a PDT project in order to get the Include Path ability. Right click the project, and click Convert to PDT project. Now if you right click you will see the Include Pathoptions. After including the path to the cake core, it stills seems like it is not working. I look in the Outline, and the core classes are not present, and auto complete does not work. Can someone please help us out. Thanks. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Eclipse 3.3.1 and Cake PHP 1.2
I have been following the tutorial at http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake, in order to setup a cakePHP and Eclipse Environment that will give me the ability to use cakePHP code completion, as well as run the bake script in the Eclipse Workspace. However it does not seem to work. I am using CakePHP 1.2 and Eclipse 3.3.1 on a Windows XP, that has Apache, PHP, and MYSQL already installed. I get to the point labeled Defining projects in the tutorial, and can't get cake and my project to link up. Can someone explain how my files need to be setup (where do I place the core, and where my projects go in relation to it), how to link the cake core files into my project so I have access to its classes, how to verify that the link was made, and finally the syntax to setup the bake script. The more detail, the better. Thank you very much. UPDATE I have made some progress, but the controller still does not inherit the core classes. Here is how far I have gotten: 1. I installed Eclipse PDT 2. I noticed that I was on the PHP navigator and not the PHP explorer initially, so I opened the explorer by going to Windows - Show View - Other - PHP Explorer (Under PHP tools) 3. I had to convert the project to a PDT project in order to get the Include Path ability. Right click the project, and click Convert to PDT project. Now if you right click you will see the Include Pathoptions. After including the path to the cake core, it stills seems like it is not working. I look in the Outline, and the core classes are not present, and auto complete does not work. Can someone please help us out. Thanks. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---