Re: Redesign my old website

2011-10-16 Thread WebbedIT
The fair and right answer is there is no BEST solution. You have to consider all the skill sets of those that are going to be using the chosen framework and see what will suit them. CakePHP can certainly handle sites of any size and as such I never use another framework, unless a client requests

Re: radiobutton problem

2011-10-16 Thread WebbedIT
Sorry I meant to remove the legend and label params and cake with automagically create the correct legend from the field name. Paul. On Oct 15, 1:01 pm, gimmebucks sapew...@gmail.com wrote: set the 'legend' to your desired name. On Oct 14, 3:02 pm, WebbedIT p...@webbedit.co.uk wrote:

Re: Theme still referring to base webroot css file

2011-10-16 Thread WebbedIT
What is the [username] coming from in: link rel=stylesheet type=text/css href=/[username]/css/ default.css / HTH, Paul On Oct 15, 10:09 am, Travis Rowland travis.rowl...@gmail.com wrote: My webroot folder in my Theme folder had a capital W -- go figure. On Sat, Oct 15, 2011 at 12:08 AM,

Runnin tests on CakePHP 2.0

2011-10-16 Thread Matteo Landi
Hi everybody, I'm having some troubles trying to run tests (both browser and cli): on the one hand if I open http://localhost:3000/test.php (I'm using cakephp-instaweb) I get a blank page and I am unable to select tests to run; on the other, if I run ./Console/cake testsuite core

SQLite and database exceptions.

2011-10-16 Thread Matteo Landi
Hi everybody, I'm developing a test application on top of a SQLite database. As you probably may know, by default *integrity checks* on SQLite database are disabled, and in order to activate them you need to issue the following query once the connection with the database has been enstablished:

Re: $fields not honored inside hasMany relation

2011-10-16 Thread Matteo Landi
On Tue, Oct 11, 2011 at 6:23 PM, Matteo Landi landima...@gmail.com wrote: On Tue, Oct 11, 2011 at 6:15 AM, Angad Nadkarni angad.nadka...@gmail.com wrote: Hi Matteo, this is not a bug. Cake requires the post_id field  to fetch the associated Post associated array as well, hence even when you

Strange Problem with default.po

2011-10-16 Thread Marcus James
Hi All, I have a strange problem with default.po file, i am creating a multi-lingual website, the problem is the when i see the file in windows any browser the site works fine and all text are loaded from default.po but when i access the website from a macbook it doesnot show the text from

Re: Strange Problem with default.po

2011-10-16 Thread majna
try: echo Configure::read('Config.language'); (in a view or layout, and test on both OS) -- 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: Strange Problem with default.po

2011-10-16 Thread majna
maybe default language is auto detected based on browser headers echo env('HTTP_ACCEPT_LANGUAGE'); -- 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: Runnin tests on CakePHP 2.0

2011-10-16 Thread majna
maybe there's issues with your python web server, try using wamp, mamp, xampp etc. for your stack Check PHPunit install and required version from CLI first. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: performance / traffic / .. - one READ or few FIND calls?

2011-10-16 Thread cakii
alright, thank you guys ! -- 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

Bad performance

2011-10-16 Thread Jerre
Hey Folks! So we've developed a CakePHP (1.3) application and it is currently live in production (www.fom.be). However there seems to be some performance issues regarding the CPU load with multiple simultaneous requests. The website is for an event which takes place 2 times a year. Between the

Re: Runnin tests on CakePHP 2.0

2011-10-16 Thread Matteo Landi
On Sun, Oct 16, 2011 at 3:47 PM, majna majna...@gmail.com wrote: maybe there's issues with your python web server, try using wamp, mamp, xampp etc. for your stack Check PHPunit install and required version from CLI first. You saved my day: when I installed PHPUnit with apt, didn't notice that

Layouts

2011-10-16 Thread Meroe Kush
Hello all! I am looking for advice on a way to pass the currently used layout into the next accessed controller. Should I just use a session and set it and reference it in each of the methods or is there a way to look at the layout from the previous controller and pass to the requested

Re: Runnin tests on CakePHP 2.0

2011-10-16 Thread majna
I think your web server is hardcoded to rewrite only index.php. https://github.com/lamby/cakephp-instaweb/blob/master/cakephp_instaweb.py try suggested apps above :( -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: Runnin tests on CakePHP 2.0

2011-10-16 Thread Matteo Landi
On Mon, Oct 17, 2011 at 12:10 AM, majna majna...@gmail.com wrote: I think your web server is hardcoded to rewrite only index.php. https://github.com/lamby/cakephp-instaweb/blob/master/cakephp_instaweb.py try suggested apps above :( I think you are wrong: I'm able to load the summary page of

2.0 Upgrade Problem (with $controller-request in RequestHandlerComponent)

2011-10-16 Thread zuha
(I have searched for answers, I have attempted self-debugging for 4+ hours, Including going through the core up and down. ) Its going to be hard to be clear on this problem but here's my best effort... In /lib/CAke/Controller/Component/RequestHandlerComponent.php in the initialize function I

Re: Runnin tests on CakePHP 2.0

2011-10-16 Thread majna
try to uncomment this line https://github.com/cakephp/cakephp/blob/2.0/app/Config/core.php#L95 or play with Configure::write('App.baseUrl', env('SCRIPT_NAME')); in test.php, I don't know... Maybe you should open issue on cakephp-instaweb github. -- Our newest site for the community: CakePHP

CakePHP 2.0 Released

2011-10-16 Thread Larry E. Masters
The CakePHP core team is very exited to announce a major jump in the version numbering. CakePHP 2.0 stable is out! we have put endless hours into this release and great ideas have made it into the the framework for this version. This is a quick summary of what 2.0 means for you The CakePHP core

Handling Timezones in cakephp

2011-10-16 Thread jovial
I have added a timezone field on user sign up page.Now when a tutor logins then he will fill his timezone and will also fill his availability(timinings he will be available in a week) Now there is a functionality of FINDING A TUTOR .Any 1 ho wishes to search a tutor will enter start date start

CakePHP + Highcharts

2011-10-16 Thread Armando Marcovich
Hello, I need help to implement charts using Highcharts + CakePHP (to create charts from MySQL database), please help me!! How i can do this? Thanks... -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

RE: CakePHP 2.0 Released

2011-10-16 Thread Meroe Kush
Exciting news! Thanks so much Larry and the rest of the contributors! From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Larry E. Masters Sent: Sunday, October 16, 2011 8:39 PM To: cake-php@googlegroups.com Subject: CakePHP 2.0 Released The CakePHP core

Re: CakePHP 2.0 Released

2011-10-16 Thread Matthew Kaufman
Can't wait to get to installing and setting up Cake 2 Stable later tonight shortly to see These points interest me the highest! - HTML 5 form inputs support in form helper. - A Sexier default look taking advantage of new CSS 3 features. To be honest the default baked views were horrible.

Re: CakePHP 2.0 Released

2011-10-16 Thread Jeremy Burns | Class Outfit
Thanks and congratulations! Jeremy Burns Class Outfit http://www.classoutfit.com On 17 Oct 2011, at 03:44, Matthew Kaufman wrote: Can't wait to get to installing and setting up Cake 2 Stable later tonight shortly to see These points interest me the highest! HTML 5 form inputs support

Re: CakePHP 2.0 Released

2011-10-16 Thread O.J. Tibi
Yeah! Rave party everywhere for CakePHP 2.0! Wuzah! -- 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

Re: CakePHP + Highcharts

2011-10-16 Thread WebbedIT
Search if someone has already written a helper: http://www.google.co.uk/search?q=cakephp+highcharts http://highslide.com/forum/viewtopic.php?f=9t=8220 Or write one yourself: http://book.cakephp.org/view/1097/Creating-Helpers HTH, Paul On Oct 17, 12:41 am, Armando Marcovich

Re: Layouts

2011-10-16 Thread Nitin Hittalamani
Yup...You need to mention if you are using other lay out instead of default. This is what i used to do. On Mon, Oct 17, 2011 at 3:37 AM, Meroe Kush whme...@gmail.com wrote: Hello all! ** ** I am looking for advice on a way to pass the currently used layout into the next accessed

Re: $fields not honored inside hasMany relation

2011-10-16 Thread WebbedIT
You agree that the primary key of a table for which you are then fetching related hasMany records is required as part of Cakes automagic on hasMany associations. It would then take more processing (albeit, a negligable amount) to then unset that primary key. But the question I ask myself is,

Re: CakePHP 2.0 Released

2011-10-16 Thread DerekGardiner
How long with cake 1.3* be supported? We've just spent a significant amount of time writing an application in 1.3* and would be gutted to find out if we have to port to 2.0 already. On Oct 16, 11:40 pm, O.J. Tibi ojt...@gmail.com wrote: Yeah! Rave party everywhere for CakePHP 2.0! Wuzah! --

Re: CakePHP 2.0 Released

2011-10-16 Thread Matt Kaufman
Yes, Also --- Does this bring a lot of opportunity to come for rewriting and enhancing the quality of many of the major and or popular plugins out there for 2.0 Stable? I love the new file naming (Config/, etc,) and Structure of it entirely! Matt Kaufman http://mkfmn.com/ Sent from my

Re: Bad performance

2011-10-16 Thread somebody who carez
http://www.webpagetest.org/result/111017_8J_4a440d13d78d67a2001c9db245c8fed0/1/details/ compress images use cdn sorry I can't be of more help, but this is the most obvious stuff I can see. If you need more I'd have to send you a invoice. Thank you, -nop nop nop On Sun, Oct 16, 2011 at 12:13

Can't get Plugin model to work / be noticed at all

2011-10-16 Thread #2Will
Hello I'm trying to make a calendar plugin for 1.3. Its sort of working, but the Event model definition is being ignored and so its relationship to other models (in the main app) are not working. I guess im putting it in the wrong place, but ive gone round and round and round in circles and its