Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Reza Talamkhani
I think one of the best IDEs is NeptunIDE at http://neptunide.com/ address. but it is not available for download. I'm looking for an IDE with these facilities. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: CakePHP, Linux and MS Sql Server

2012-04-12 Thread euromark
no because there is no such datasource in 2.x: https://github.com/cakephp/datasources/tree/2.0/Model/Datasource/Database Am Donnerstag, 12. April 2012 02:37:18 UTC+2 schrieb rchavik: Mark, Try https://groups.google.com/d/topic/cake-php/WgIhA0mj89M/discussion and see wether it's relevant

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Reza Talamkhani
Please provide an IDE features introduced above... Also be downloadable... -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Amr Osama
I really prefer Aptana Studio 3, it has builtin support for git and remote ftp editor On Thursday, April 12, 2012 7:23:46 AM UTC+2, Reza Talamkhani wrote: Hi, I Need an IDE for CakePHP 2.1 that integerated with cake console and suggestion... I test eclipse, netbeans Codelobster but it did

cake guru needed

2012-04-12 Thread getho
I've got a site which has just moved servers (php45). which isn't working. It was built by a novice and is a bit of a mess. have a very competent php dev working on it but would be good to have someone helping who really knows their confectionery. Hope its in the rules of the group to ask about

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Almudena Garcia
Eclipse rocks :) Aptana is also ok, but slower. El 12 de abril de 2012 10:27, Amr Osama amrosama2...@gmail.com escribió: I really prefer Aptana Studio 3, it has builtin support for git and remote ftp editor On Thursday, April 12, 2012 7:23:46 AM UTC+2, Reza Talamkhani wrote: Hi, I Need

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Reza Talamkhani
I Test Eclipse but no complete suggestion and very slow... -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this

Re: CakePHP and Wordpress

2012-04-12 Thread jeremyharris
As long as you can connect to the WP database, I don't see why this would be that hard. Just set it up as a separate database connection, set up some models and you're good. It really depends on how crazy you want to get. For example, do you want to form relationships that get the meta info,

Using html template in cakephp

2012-04-12 Thread MangeshSathe
Hello , i am new to cakephp. I have html template ready with me. I want to embed it into cakephp. I am very much confused about cakephp directory structure. I have divided template into header, content footer. can anyone tell me how can i place html(ctp) developed files into cakephp's view?

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread John L
try codelobster On Thu, Apr 12, 2012 at 10:04 AM, Reza Talamkhani reza.talamkh...@gmail.com wrote: I Test Eclipse but no complete suggestion and very slow... -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Reza Talamkhani
CodeLobster not support CakePHP version 2.1. It support CakePHP version 1.3. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To

Re: Undefined index error in controller

2012-04-12 Thread Daniel
I found the problem, stupidly I had two copies of the ctp file in my project, in different directories, and I was editing the wrong one. After I deleted the extra file and edited the right file, no suprise the problem went away. -- Our newest site for the community: CakePHP Video Tutorials

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Điển vũ
I think one of the best IDEs is NeptunIDE at http://neptunide.com/ address. but it is not available for download. I'm looking for an IDE with these facilities. You can't download it , why you know it is good ? I use Aptana , with me it is better Netbeans . I use netbeans more than 2

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Reza Talamkhani
I watch a video of NeptunIDE... It is best IDE for work with CakePHP. It is developing and in beta version with invitition... I did download aptana and I'll try one more time. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP

Re: CakePHP and Wordpress

2012-04-12 Thread creat1v1ty
Thanks Jeremy - I'm not sure if I can connect to the WP database. I was hoping someone could point me to an existing plugin/component that does what I need it to do. I'm not interested in writing something from scratch. On Thursday, April 12, 2012 9:29:29 AM UTC-5, jeremyharris wrote: As

Cake Media Plugin: How to enable .docx files for upload and retrieve errors if upload fails

2012-04-12 Thread James Dcunha
Hello all, I am using CakePHP 1.3 and Cake Media plugin (https://github.com/davidpersson/media). With the default setting I am able to upload images and pdf. I tried to upload a .docx file and I am not able to upload it. Following is the validate rule in my Document model ?php class

Re: CakePHP and Wordpress

2012-04-12 Thread jeremyharris
1. If you can't connect to the database how do you expect to pull data from it? 2. You can't expect to get everything for free, sometimes you need to write code. It wouldn't be that hard, as I said, depending on how in depth you want to be. There are no plugins out there that I know of that do

Re: Using html template in cakephp

2012-04-12 Thread jeremyharris
You can read more about the structure here: http://book.cakephp.org/2.0/en/getting-started.html Cake doesn't work like WordPress (which uses header, content and footer templates). It uses proper MVC, that is a layout (kind of like the header and footer templates combined) and view (kind of

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Điển vũ
it is hard to know if you can code faster only with watch video . Unless you spend time to use it, 1 or 2 week coding, then you will figure out which you prefer. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Problems running Cakephp2.1.1 with SQL Server 2008

2012-04-12 Thread Felipe Roman
Hi, Do you know if the CakePHP 2.1.1 is compatible with SQL Server 2008 ? If yes could you please send me some how to ? I configured my local development environment (PHP 5.3.10 and Apache 2.2.21 on Windows 7) I loaded the extensions pdo_sqlsrv and sqlsrv (on PHP 32 bits, I could not load on

Re: Using html template in cakephp

2012-04-12 Thread Mangesh Sathe
Thanks for the Jeremy , i'll go through it. for 3 years i am working on codeigniter. so its little difficult to work on cakeph though its on MVC. On Thursday, 12 April 2012 21:58:31 UTC+5:30, jeremyharris wrote: You can read more about the structure here:

Re: Using html template in cakephp

2012-04-12 Thread jeremyharris
A lot of the principles between CodeIgniter and CakePHP are similar, so there shouldn't be too much of a learning curve. Good luck! On Thursday, April 12, 2012 9:34:37 AM UTC-7, Mangesh Sathe wrote: Thanks for the Jeremy , i'll go through it. for 3 years i am working on codeigniter. so

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Reza Talamkhani
I accept that the use of the software is better to see the video... But It is specially designed for CakePHP. However, I am currently testing Aptana. Seemed to base this software has been inherited from eclipse. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Re: Problems running Cakephp2.1.1 with SQL Server 2008

2012-04-12 Thread Felipe Roman
I forgot to say that I'm able to connect and run queries using one test.php file I created without any frameworks (I mean using sqlsrv_connect() direct) so I think the environment configuration is Ok. thanks again On Thu, Apr 12, 2012 at 1:34 PM, Felipe Roman roman.fel...@gmail.com wrote: Hi,

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Reza Talamkhani
Does not seem to be a bad IDE.(Aptana). Is Special configuration required to work with CakePHP? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related

Re: CakePHP and Wordpress

2012-04-12 Thread creat1v1ty
Easy with the derogatory tone, Jeremy. If I knew how to connect to the WP database, and if I was experienced enough with Cake to do this, I probably wouldn't have posted my question in the first place. I don't expect to get everything for free, but thanks for making that assumption. What I

Re: CakePHP and Wordpress

2012-04-12 Thread jeremyharris
I wasn't intending to be condescending, so I apologize for that. Good luck in your search. On Thursday, April 12, 2012 9:56:52 AM UTC-7, creat1v1ty wrote: Easy with the derogatory tone, Jeremy. If I knew how to connect to the WP database, and if I was experienced enough with Cake to do this,

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Điển vũ
A article about autocomplete on Eclipse ( same as Aptana ) http://mark-story.com/posts/view/code-completion-for-cakephp-in-eclipse -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help

Re: Problems running Cakephp2.1.1 with SQL Server 2008

2012-04-12 Thread stork
I also download and copied the files dbo_sqlsrv.php and DboSource.php into my app/Model/Datasource folder but I'm getting the follow error: 1. file dbo_sqlsrv.php is for CakePHP 1.x, for 2.x you need this one

Re: Problems running Cakephp2.1.1 with SQL Server 2008

2012-04-12 Thread euromark
did you see my post from yesterday? https://groups.google.com/forum/?fromgroups#!topic/cake-php/8y2Y511krEU had the same issue, but on linux. on windows I got it to run with the included SqlServer datasource (you need to follow the instructions from microsoft)

Re: Problems running Cakephp2.1.1 with SQL Server 2008

2012-04-12 Thread Felipe Roman
Hi Stork, I replaced the dbo_sqlsrv.php by Sqlsrv.php into app/models/datasources and I also replace the database.php settings : from public $default = array( 'datasource' = 'dbo_sqlserver', to public $default = array( 'datasource' =

Why does cakephp 2.0 still use VENDORS constant ?

2012-04-12 Thread Điển vũ
Why does cakephp 2.0 still use VENDORS constant ? When its vendor is 'Vendor' folder .. f (!defined('VENDORS')) { define('VENDORS', ROOT . DS . 'vendors' . DS); } -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: Best IDE for CakePHP 2.1

2012-04-12 Thread Justin Edwards
I really like Aptana, it allows right clicking a folder to open a terminal there, so you can easily access command line or bake if you want. I've personally worked with the founder of the company that currently owns it, and he's committed to keeping it an open / excellent product. I tweak any

INSERT, UPDATE, DELETE SQL queries on Cakephp into database

2012-04-12 Thread thom
Hello,, I'm using cakePHP 1.3. I'd like to ask about how to save sql queries on Insert, Update and Delete on CakePHP into logs-table. What I need is everytime user do an insert/ update/ delete, the sql is saved with another user informations into logs-table. I've been searching around and found

Re: INSERT, UPDATE, DELETE SQL queries on Cakephp into database

2012-04-12 Thread euromark
you are probably looking for sth like this: http://bakery.cakephp.org/articles/alkemann/2008/10/21/logablebehavior it is a behavior that can be attached to models in order to log the changes. Am Freitag, 13. April 2012 00:41:08 UTC+2 schrieb thom: Hello,, I'm using cakePHP 1.3. I'd like to

row level ACL

2012-04-12 Thread bs28723
Can any easily explain how to do row level ACL in CakePHP 2.x? I have seen some old posts on this topic, but I don't know how much has changed and would have to be redone. Any examples / tutorials would be good to. Thanks, bill -- View this message in context:

Deleting cached views

2012-04-12 Thread Geek Guy
I need to clear the cache for a certain view (not all the views, just a certain view!). But in CakePHP configuration there's only a method called clearCache() This method deletes ALL the cache and i want to delete just one cached view. Any ideas about how to do this? I need to refresh one

Re: Is this too complicated ?

2012-04-12 Thread bs28723
Was I over thinking this Maybe this simple approach would work. What if I had a table with User_id, Role_id, org_id It is setup as User hasMany Role. the Role_id is unique with the org_id. When get the user, I get an array of roles. Then when I call the Org controller, I create an

Re: INSERT, UPDATE, DELETE SQL queries on Cakephp into database

2012-04-12 Thread thom
On Fri, Apr 13, 2012 at 6:23 AM, euromark dereurom...@googlemail.comwrote: you are probably looking for sth like this: http://bakery.cakephp.org/articles/alkemann/2008/10/21/logablebehavior it is a behavior that can be attached to models in order to log the changes. Thank you euromark

Re: Using html template in cakephp

2012-04-12 Thread Vitor Pacheco
try something like this http://wordpress.org/extend/plugins/wordpress-web-service/ I never used it... 2012/4/12 jeremyharris funeralm...@gmail.com A lot of the principles between CodeIgniter and CakePHP are similar, so there shouldn't be too much of a learning curve. Good luck! On

Re: Deleting cached views

2012-04-12 Thread Mangesh Sathe
hi , why don't you try header cache or header expire. On Friday, 13 April 2012 00:55:10 UTC+5:30, Geek Guy wrote: I need to clear the cache for a certain view (not all the views, just a certain view!). But in CakePHP configuration there's only a method called clearCache() This