Re: Fat CakePHP

2012-08-07 Thread Sergei
Well you can delete Test (5 Mb) folder for sure. -- Sergei On Tuesday, August 7, 2012 9:20:07 PM UTC+9, sanjeev wrote: > > Hello Everybody, > > I have developed CMS in CakePHP but Size of CakePHP installation is too > high. Any idea how to stripped-down CakePHP installation (in terms of file >

Re: Fat CakePHP

2012-08-07 Thread #2Will
Cake is about 9Mb - its not very much. You could dump some bits like the console or some other part you aren't using. Not much gain to be made though, and then anybody building your sites with the cms is denied that component. I hear version 3 will be smaller in terms of file size because o

Re: Fat CakePHP

2012-08-07 Thread Thiago Belem
Please, Define "lite version", what do you think that should be stripped out? -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+uns

Re: Fat CakePHP

2012-08-07 Thread Sanjeev Divekar
Don't you think CakePHP should introduce Lite version for small projects? On Tue, Aug 7, 2012 at 5:51 PM, Tilen Majerle wrote: > you cannot "strip-down" nothing.. > -- > Lep pozdrav, Tilen Majerle > http://majerle.eu > > > > 2012/8/7 sanjeev > >> Hello Everybody, >> >> I have developed CMS in Ca

Re: Plugin Model Custom functions not accessible in controller

2012-08-07 Thread Luis C
Ok, It is even worse now. Let's say I have a hasAndBelongsToMany association in Dog.php with another table (Model). And then in the Controller I have the following $this->Dog->find('all'); print_r($this->OtherModel); exit; Instead of getting an instance of OtherModel and all of the associations

Association nameTranslation is already binded to model Property

2012-08-07 Thread Humberto Correia
Hi, I recently needed to use translation behavior in a project, it all went well wen I wrote the admin backend, but in the frontend I started getting some nasty error from the TranslateBehavior: Fatal Error (256): Association nameTranslation is already binded to model Property [CORE/cake/libs/

Re: Max height for form input cakephp 2.2

2012-08-07 Thread Shosho
Solved! Forgot about the overflow option available in css, lol. Just had to add overflow:scroll; to the css. Thanks for the help lowpass, I know I've been here a lot. XD -- View this message in context: http://cakephp.1045679.n5.nabble.com/Max-height-for-form-input-cakephp-2-2-tp5710136p571022

Plugin Model Custom functions not accessible in controller

2012-08-07 Thread Luis C
Hello, I got a weird issue in CakePHP 2.2. I have created a plugin, let's call it PluginName, and within PluginName I have the following: Controller: - DogsController - CatsController Model - PluginNameAppModel.php - Dog.php - Cat.php (all models extend the PluginNameAppModel.php

Re: change displayed url

2012-08-07 Thread lowpass
I don't know what you mean by "after the link is clicked" but if you want nicer looking URLs then, yes, you need to define a route. First, though, you should be including a "slug", not the title, in the URL. The reason is that a slug removes spaces and other unwanted characters. Take a look at Slug

Re: Send Email using Shell in CakePHP

2012-08-07 Thread euromark
you should use smtp if you send emails locally. especially if you do not know how to set up the environment for sending php mails using mail() etc its always easier to use the smtp protocol then. it also has the advantage to always be the same on every environment. Am Dienstag, 7. August 2012 18

change displayed url

2012-08-07 Thread Jana
The code below is for something like a wordpress feed of articles. It gives me this in the url when clicked. http://www.examplemagazine.com/articles/view/102697 What I want to do is after the link is clicked just give me the name of the article in the url after the magazine site. Like this http://

Re: 3.0: a peek into CakePHP's future

2012-08-07 Thread Devario Johnson
Make router faster = #win -- 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 group, send email to cake-php+unsubscr.

Re: 3.0: a peek into CakePHP's future

2012-08-07 Thread Devario Johnson
Make router faster = #win On Thursday, July 5, 2012 10:36:03 PM UTC-4, José Lorenzo wrote: > > Since its creation, more than 7 years ago, CakePHP has grown with a life > of its own. Its main goal has always been to empower developers with tools > that are both easy to learn and use, leverage gre

Re: Installing CakePHP on MAMP

2012-08-07 Thread Devario Johnson
On Thursday, January 24, 2008 5:31:47 PM UTC-5, alex@gmail.com wrote: > > Hey, > I'm having a major problem with installing CakePhp on a MAMP > application on Mac OSX 10.4.10 > > There's nothing wrong with the MAMP Apache Server, I tried out > Codeigniter and it worked just fine. But when

Re: Send Email using Shell in CakePHP

2012-08-07 Thread lowpass
Does it work if you send the email from a controller? Does it work if you send the email from a normal PHP script? On Tue, Aug 7, 2012 at 6:09 AM, NewBie wrote: > I write a Shell for sending email like this : > > class SendMailShell extends Shell { > function main() { > App::import(

Send Email using Shell in CakePHP

2012-08-07 Thread NewBie
I write a Shell for sending email like this : Controller =& new Controller(); $this->Email =& new EmailComponent(); $this->Email->startup($this->Controller); $this->Email->reset(); $this->Email->to = 'Jonny '; $this->Email->subject = "Subject"; $thi

Image upload validation using MeioUpload

2012-08-07 Thread Clint
I'm using MeioUpload to store images.. and it's working fine except the validation on the form - specifically checking that a filename has been set to upload. When the submit button is pressed, the correct error message will be displayed if the file is of wrong type, but it wont error if the fi

How to call css with ie6 or ie7

2012-08-07 Thread suttipong Pratum
How to coding css with cakePHP thank you sodaZa -- 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 thi

Re: Can CakePHP code be obfuscated for protection?

2012-08-07 Thread Steve Found
This is superb way of doing it IMHO Jeremy since by the time the get to the stage Lightee is now at (iv) they have already paid 60% of the money even if they insisted on having it on their own server. If they decided to pull out then they would have a system that may well have issues but they

Re: Fat CakePHP

2012-08-07 Thread Tilen Majerle
you cannot "strip-down" nothing.. -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/8/7 sanjeev > Hello Everybody, > > I have developed CMS in CakePHP but Size of CakePHP installation is too > high. Any idea how to stripped-down CakePHP installation (in terms of file > size)? > > Regards, >

Fat CakePHP

2012-08-07 Thread sanjeev
Hello Everybody, I have developed CMS in CakePHP but Size of CakePHP installation is too high. Any idea how to stripped-down CakePHP installation (in terms of file size)? Regards, -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Q

Re: Why is composite primary key bad?

2012-08-07 Thread Steve Found
On 07/08/12 01:40, Lightee wrote: I notice that CakePHP does not allow composite primary key. Why is this so? Is it because composite primary keys are bad for some reason or is it simply to stick to convention? I have been using MS Access and there is no such restriction. -- Our newest site fo

Re: Can CakePHP code be obfuscated for protection?

2012-08-07 Thread Steve Found
Spot on sir. 99% of people are honest ... and to be fair, if they could have done it themselves, why would they have called you ? :) Steve. On 07/08/12 12:27, Jeremy Burns | Class Outfit wrote: I think sometimes you also have to let go and trust the client. So what if they do it themselves

Re: Can CakePHP code be obfuscated for protection?

2012-08-07 Thread Christopher Castro
For some of my Cake projects I use a "paid" software that work pretty well: "SourceCop". The problem: There is an online decoder that can be found googling...it's an obfuscator no an encrypter. 2012/8/7 Steve Found > On 06/08/12 03:03, Lightee wrote: > >> Dear CakePHP gurus, >> >> I have an upco

Re: Can CakePHP code be obfuscated for protection?

2012-08-07 Thread Jeremy Burns | Class Outfit
I think sometimes you also have to let go and trust the client. So what if they do it themselves? Have faith in yourself; it's not just the code they are buying, it's also your ability to create and deliver that counts. Jeremy Burns Class Outfit http://www.classoutfit.com On 7 Aug 2012, at 12:

Re: Can CakePHP code be obfuscated for protection?

2012-08-07 Thread Steve Found
On 06/08/12 03:03, Lightee wrote: Dear CakePHP gurus, I have an upcoming project with a stingy customer who looks like the not-willing-to-pay-up type. My cakePHP code will be deposited to his web server for testing before payment. I want to obfuscate my code so that he cannot steal it and the

Re: Can CakePHP code be obfuscated for protection?

2012-08-07 Thread Lightee
Thanks for the suggestion. It is a good one. However, my project is divided into 2 phases. I still need to obfuscate the code so that there will be a 2nd phase. Otherwise, customer can steal the phase 1 code and do phase 2 himself. My boss negotiated the deal. I have no control over the terms.

Re: Max height for form input cakephp 2.2

2012-08-07 Thread Shosho
Well, tried this and it sort of works? There is a scroll bar for the section now, however, the list continues on past the rest of the elements on the form and the scroll bar for it is next to the primary one on the right. See image. Even with that class being the only thing in the css, it still doe

Re: Crreate invoice form

2012-08-07 Thread designv...@gmail.com
http://slash7.com/2006/12/22/vampires/ On Tuesday, August 7, 2012 3:22:48 AM UTC+1, Mr. Manager wrote: > > Dear Sir, > > I am thanks a lots for useful help; however, I cannot understand, may you > help me with this form and I will send the whole application to you to be > easy for you to check.

Multi Tenancy / SaaS

2012-08-07 Thread Dylan Jennings
Hello I'm currently building a SaaS application using cakePHP. I've worked with cakePHP before a few times and I'm comfortable with how it all works. So, I have an `accounts` table which holds information about each tenant, and then a `users` table aswell, which will contain the users for each