cakephp on MAMP

2008-06-17 Thread bdiddymc
Hello All... This is my first post and I have a feeling i'm doing something stupid, but can't find an answer... I'm trying to set up cakephp onto my Mac with MAMP. When I launch cake in the browser the page shows up, but it doesn't look properly styled. My research suggests its an issue with

Re: How do I redirect from an element

2008-06-17 Thread francky06l
If you want to render a new view when searching, you should not use ajax but normal submit, then the complete view will be rendered ... Maybe I misunderstood the problem. hth On Jun 17, 6:26 am, Shahzad [EMAIL PROTECTED] wrote: Thank you very much for you reply. Though I have solved the problem

Rotating Cake logs?

2008-06-17 Thread [EMAIL PROTECTED]
Hi, I was wondering if there was a log rotation feature built somewhere in the Cake core (or an extension ofcourse) The reason I am looking for this within cake and not leaping to the standard log rotation in Linux is that many vhosts with many logs would make that a bit of a pain to manage. I

Re: Form validation - multiple forms and multiple tables used per model

2008-06-17 Thread Marcelius
Hey Foreach form create a new instance of corresponding model where data should be saved: $foo = new MyModel(); foreach($posteddata){ $foo-create($myPostedData); if ($foo-validates()){ //great... } else { $errors = $foo-validationErrors; ] All your other questions are well documented btw :-)

Re: cakephp on MAMP

2008-06-17 Thread Lance Willett
When I launch cake in the browser the page shows up, but it doesn't look properly styled. My research suggests its an issue with the mod_rewrite... but I can't seem to find out how to solve it. Hi bdiddymc, See Beware the Finder and dot files:http://tinyurl.com/5572wp. A very common error

1.2 RC1 Release Notes - wood and trees

2008-06-17 Thread leo
Where do I find the release notes? Daft question I know, but I can't find any for the current release. Mariano suggested I read them. I would if I could find them. The link on the forge goes to a blank page. --~--~-~--~~~---~--~~ You received this message because

Re: cakephp on MAMP

2008-06-17 Thread leo
Have you tried phpinfo? Sorry if this is beneath you, but create a file with the contents ? php phpinfo() ? make sure there are no spaces before or after the chevrons. Save it as phpinfo.php and open it in your browser. Search the results page for mod_rewrite (in apache2handler section, loaded

About i18n's question !

2008-06-17 Thread ghostjackyo
Excuse me ! Sometime i write i18n's code and i am make .mo file ! But why i can't run it's ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

About session's question !

2008-06-17 Thread ghostjackyo
Excuse me ! I have some session's question ! I am making some file which name was uba.session_id ! When i am logout my web . I want remove this file . But i don't know how to write this action code . --~--~-~--~~~---~--~~ You received this message because you are

Re: About session's question !

2008-06-17 Thread francky06l
if you create the file yourself and have a logout action, just unlink the file in your logout. However, you might want a cron job to clean up the files on regular basis since some user won't logout. On Jun 17, 11:14 am, ghostjackyo [EMAIL PROTECTED] wrote: Excuse me ! I have some session's

Re: Rotating Cake logs?

2008-06-17 Thread davidpersson
Wouldn't it be possible to let logrotate manage the cake logs? http://gentoo-wiki.com/HOWTO_Setup_Logrotate This way you don't have to code that in php. It's already there. [EMAIL PROTECTED] wrote: Hi, I was wondering if there was a log rotation feature built somewhere in the Cake core (or

paginator cake 1.2 how to pass all name parameters and normal parameters tips

2008-06-17 Thread Alessio
Ok, I lost a few a time...to understand how to pass all the params in the paginator, making work good. I remember in the old version, the paginator was able to remember all, also the params from get... So I have to created this idea that works with all, except the params from get... For

Re: 1.2 RC1 Release Notes - wood and trees

2008-06-17 Thread Dardo Sordi Bogado
Just had to type: http://www.google.com , then input cakephp rc1 and hit search, thats all you need. http://bakery.cakephp.org/articles/view/release-pure-cake-power-in-rc1 On Tue, Jun 17, 2008 at 5:12 AM, leo [EMAIL PROTECTED] wrote: Where do I find the release notes? Daft question I know,

Re: Rotating Cake logs?

2008-06-17 Thread [EMAIL PROTECTED]
Hi David, My first thought was to use logrotate since it is there and does the job well. Problem is I don't know of a way to configure logrotate to automatically rotate *.log found under /var/vhosts/ in any number of sub-directories. • I want Cake to react and start rotating custom logfiles like

Radio with single onclick

2008-06-17 Thread Ben
Hello there. I created a form with a radio section. But i just can't figured out how to put an onclick funktion to one single Button... I red this post http://groups.google.com/group/cake-php/browse_thread/thread/838c12d3bbeb873/75739688579656a1?lnk=gstq=radio+onclick#75739688579656a1 and in

Re: Rotating Cake logs?

2008-06-17 Thread keymaster
You may want to have a look at this: http://groups.google.com/group/cake-php/browse_thread/thread/eeeba3c3c5236a6a/46f8914f25a9499e#46f8914f25a9499e ... instructions for porting log4php to cake. Although, if you have something working already, and it satisfies your needs concisely without

How to create test cases for plugins

2008-06-17 Thread jaro
Hi, I've been reading a lot about test cases but cannot find a how-to approach in testing plugins controllers. Read the tutorial in http://book.cakephp.org/view/160/testing#testing-plugins-485 but that was only for models. I created the ffg to test my pizza_controller.php. I named it

Re: Models are not committed :)

2008-06-17 Thread Nirav
Thanks a ton Tarique. Setting the cache to false helped! - Nirav On Jun 17, 1:55 am, Dr. Tarique Sani [EMAIL PROTECTED] wrote: On Tue, Jun 17, 2008 at 9:24 AM, Nirav Mehta [EMAIL PROTECTED] wrote: If there are consecutive publications with the same author who is not in the database, the

Simple Auth not working when models are defined

2008-06-17 Thread Aaron
I'm attempting to use the Auth component to do pretty basic auth with no acl in cake 1.2.x.x trunk. It seems to be working fine when I have controllers but no explicit models classes defined. However, once I declare a simple model class I see the following error no matter which action I

Re: How to create test cases for plugins

2008-06-17 Thread barduck
I am also struggling with the test framework and it isn't an easy path. There isn't plenty of documentation and it is sometimes outdated or incorrect. But look at section 4.7.6.2 The testAction method in the cookbook. In your case, it isn't displaying anything in debug() because by default,

Re: Rotating Cake logs?

2008-06-17 Thread [EMAIL PROTECTED]
Thanks for the tip. I will have a look at it. But like you said I was in need of this in a bit of a hurry so I hacked together a Component for the time being. When (if?) is is approved it should be at this url in the bakery in case anyone is interested:

Email CakePHP

2008-06-17 Thread Pierre MARCOURT
Hello, I am using PHPMailer and i have an issue when the email is sent. When the user forgot is password, I generate another one and I send it to him. The thing is, when he submits the form, my view disappear. If i try this : $this-Email-send(); $this-set('msg', 'The email has been successfully

Re: Simple Auth not working when models are defined

2008-06-17 Thread Aaron
Thanks for the quick response but I have already tried that and it doesn't make a difference. I've moved the beforeFilter() stuff into app_controller.php, into users_controller.php and other combinations. Looking at the stack trace it is getting into the Auth component but the component's

Re: Simple Auth not working when models are defined

2008-06-17 Thread Chris Hartjes
On Tue, Jun 17, 2008 at 9:43 AM, Aaron [EMAIL PROTECTED] wrote: Thanks for the quick response but I have already tried that and it doesn't make a difference. I've moved the beforeFilter() stuff into app_controller.php, into users_controller.php and other combinations. Looking at the stack

using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread [EMAIL PROTECTED]
Hello, I might fill in a ticket with this but as I don't know if it's an obvious mistake from my part I'd rather post here first. Also I don't know (yet) how to write tests. So the problem I'm facing is that I was trying to implement a __construct method in a model like so : function

Re: include model data in other views?

2008-06-17 Thread steve
Thanks Daniel - I did think of that, but ideally I'd like to be able to make a self-contained module out of the box that could be dropped anywhere if need be. Is the problem with requestAction that it has to traverse back up the tree to get to the data it needs, leading to slower load

Re: using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread Gwoo
You are not duplicating the parent constructor. Check out model.php and copy the __construct() definition with all its params. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group,

Re: using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread thomas mery
Just noticed that I did not specify that I was running on CakePhp 1. 2 RC1 On Tue, Jun 17, 2008 at 3:59 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I might fill in a ticket with this but as I don't know if it's an obvious mistake from my part I'd rather post here first. Also I

Help using render without layout

2008-06-17 Thread Rickshaw
Hello, I am currently attempting to put together a home.ctp for the application I'm working with. On this page I am attempting to render a couple of different views I've got put together. The one I am having an issue with is rendering the side navigation menu. The following is my code for the

Can Cake save extra fields in HABTM join tables?

2008-06-17 Thread Jaime
Buah, sorry to bother the Group with YAHABTMQ (Yet Another HABTM Question), but I'm really stuck with this. I guess Cake can not save extra fields in HABTM join tables. I haven't seen nothing related to this in the nice book. To stick on the Post HABTM Tag example, this is not working:

html select State/Country dropdown in CakePHP ?

2008-06-17 Thread butangphp
Hey, I was wondering if there Cake has a way to automatically generate a list of states/countries in the form of a dropdown menu. Maybe using the form helper or html helper ? Any help would be greatly appreciated. Thanks! --~--~-~--~~~---~--~~ You received this

SaveAll does not save HABTM (with example)

2008-06-17 Thread Jaime
Yet Another HABTM Question (sorry, but I've read the fine manual and found nothing on this). To stick on the traditional example: Post belongsTo User Post HABTM Tag $this-data = array( 'Post' = array( 'id' = 1, ), 'User' = array( 'name' = 'John Doe', ), 'Tag' = array(

Re: 1.2 RC1 Release Notes - wood and trees

2008-06-17 Thread leo
They are NOT release notes! You would have to be beyond the need for release notes to extrapolate this comment from that document: Please read the release notes regarding LIKE and other SQL operators. That should be:  $conditions = array(or=(array( 'edifici LIKE %?%' = $searchText,

Re: Form validation - multiple forms and multiple tables used per model

2008-06-17 Thread koala kid
Hi, thanks for your help, its really appreciated. I'm new to cake and although I know its going to be beneficial in the long run right now the learning curve sucks and what really makes it worse is the lack of decent documentation. For example the behaviour you gave me the link to seems to do

Overriding Table Prefix

2008-06-17 Thread jeff aigner
I have an interesting problem. I am developing an application with cakePHP, however the user login info is legacy data (my 'user' model should be using the table `profiles` instead of `users`). This normally wouldn't be a problem, because I could just set the $useTable variable in the user

Re: Radio with single onclick

2008-06-17 Thread Lance Willett
I created a form with a radio section. But i just can't figured out how to put an onclick funktion to one single Button... Ideally, you would not use an onclick attribute at all, but instead use an event listener to watch for that specific radio button being clicked. You would first look at

Re: How to perform find without redundant model name in results array

2008-06-17 Thread b logica
On Fri, Jun 13, 2008 at 8:34 PM, Tim Fisken [EMAIL PROTECTED] wrote: On Jun 12, 12:54 pm, AD7six [EMAIL PROTECTED] wrote: It's redundant only if you have no model associations unless you want to risk for example, Post.comment being impossible to access. But shouldn't this logic also apply

Re: SaveAll does not save HABTM (with example)

2008-06-17 Thread davidpersson
I've got exactly the same problem and only came up with the same workaround.. Hope anyone out there knows a solution for this. On Jun 17, 4:34 pm, Jaime [EMAIL PROTECTED] wrote: Yet Another HABTM Question (sorry, but I've read the fine manual and found nothing on this). To stick on the

Re: ACL inherit access not working

2008-06-17 Thread elGEoRgE
All right thanks, I see it works with the aco added. We moved from beta to RC1 and realize this behavior changed. The other concern I have is if you can run sucessfully all the acl tests with RC1 nightly 14.06.2008: http://localhost/test.php?group=acl or if this fails are the expected behavior:

Re: Form validation - multiple forms and multiple tables used per model

2008-06-17 Thread koala kid
Ok, I dug around and found out what to name the file and where to save it, I think. I saved the file as multi_validate.php in app/models/ behaviours/. Is this correct? I then defined my rules eg: var $validationSets = array( 'admin' = array(

Install problems on shared host

2008-06-17 Thread JDG
I have installed Cake onto a shared hosting environment. The host is setup to have my home directory as /home/companyname. In this directory there is a symlink website - / mnt/webhosting/sites/companyname I installed cake into a directory called cake. When trying to run cake, I get nothing -

question about pagination 1.2

2008-06-17 Thread Alessio
In the version of 1.2 and in the prev... the problem was the same... preserve the parameters of research...passing from page to page... There was post get redirect...a really bad solution... now searching various persons..i see that the most use a redirect... i have created the solution to use

Re: Form validation - multiple forms and multiple tables used per model

2008-06-17 Thread koala kid
OK, I think I worked out what to name the file and where to save it: app/models/behaviours/multi_validate.php. However I can't get it to work. The form submits without validating. I first set my validation rules in the model eg: var $actsAs = array('MultiValidatable'); /**

Containable on pagination

2008-06-17 Thread clrockwell
I have been going over trac tickets and google searches for 2 hours, I cannot get this to work. $limit = 5; $order = 'Company ASC'; $fields = array('Exhibitor.Company', 'Exhibitor.City', 'Exhibitor.State', 'Exhibitor.Booth', 'Exhibitor.Product', 'Exhibitor.Url'); $this-paginate =

Re: ACL inherit access not working

2008-06-17 Thread aranworld
With the latest svn checkout, I can run the ACL test case with 96 passes Auth test case with 35 passes, 1 fail, and 4 exceptions DBAcl test case with 13 passes, and 1 fail With the DBAcl there appears to be a problem with the Tree Behavior right now that is causing the rght values to not get

Re: Containable on pagination

2008-06-17 Thread Dardo Sordi Bogado
http://api.cakephp.org/tests/containable_8test_8php-source.html#l03076 On Tue, Jun 17, 2008 at 4:14 PM, clrockwell [EMAIL PROTECTED] wrote: I have been going over trac tickets and google searches for 2 hours, I cannot get this to work. $limit = 5; $order = 'Company ASC'; $fields =

Re: Install problems on shared host

2008-06-17 Thread DaveMahon
You can add Options FollowSymLinks to .htaccess and see if that makes it happier. There is a big performance hit though. You might consider disable mod_rewrite support in app/config/core.php first to see if that helps. PHP would do the URL rewrites, but it still might be faster than the

Re: Containable on pagination

2008-06-17 Thread clrockwell
Thats useful. It still took me 5 minutes of looking at it to realize it should be: $this-paginate = array('conditions' = $conditions, 'limit' = $limit, 'order' = $order, 'fields' = $fields, 'contain' = array('Exhibitor')); $this-set('results', $this-paginate('Exhibitor')); Instead of what I had

Re: Containable on pagination

2008-06-17 Thread clrockwell
Thats useful. And It still took me 5 minutes of looking at it to realize it should be: $this-paginate = array('conditions' = $conditions, 'limit' = $limit, 'order' = $order, 'fields' = $fields, 'contain' = array('Exhibitor')); $this-set('results', $this-paginate('Exhibitor')); Instead of what I

Re: Sharing tmp with other applications

2008-06-17 Thread DaveMahon
Actually, there's an even easier way - and the official one to boot! Edit the cache command at app/core/config.php to look like Cache::config('default', array('engine' = 'File', 'path' = '/custom/ tmp/path')); Full notes for this command are in config.php. On Jun 16, 1:03 pm,

Re: Install problems on shared host

2008-06-17 Thread Lance Willett
My suspcicion is that this has to do with the symlink. Running php info has the SCRIPT_FILENAME as /mnt/webhosting/company/cake/app/ webroot/info.php, while the rest of the path related variables show / cake/... Hi JDG, There are quite a few answers to the shared hosting setup already here

Re: using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread [EMAIL PROTECTED]
thanks gwoo, it worked :) Just thought I didn't have to since there were default values set. On Jun 17, 4:17 pm, thomas mery [EMAIL PROTECTED] wrote: Just noticed that I did not specify that  I was running on CakePhp 1. 2 RC1 On Tue, Jun 17, 2008 at 3:59 PM, [EMAIL PROTECTED] [EMAIL

Re: 1.2 testing

2008-06-17 Thread Stupergenius
Heh, umm no. I'll give that a go and report back. Thanks, Ben. On Jun 16, 5:47 pm, Joel Perras [EMAIL PROTECTED] wrote: Might be an obvious question, but have you downloaded and installed SimpleTest into app/vendors ? -Joel. On Jun 16, 2:42 pm, Stupergenius [EMAIL PROTECTED] wrote:

Re: How to perform find without redundant model name in results array

2008-06-17 Thread Tim Fisken
On Jun 17, 9:24 am, b logica [EMAIL PROTECTED] wrote: On Fri, Jun 13, 2008 at 8:34 PM, Tim Fisken [EMAIL PROTECTED] wrote: this case. Odd as it might seem, it would be better, and more consistent, if Cake produced an array like this: $post['Comment'][0]['Comment']['author']

Re: Simple Auth not working when models are defined

2008-06-17 Thread Dardo Sordi Bogado
Check that you have not leading or trading spaces. http://bin.cakephp.org/saved/33005 On Tue, Jun 17, 2008 at 10:53 AM, Chris Hartjes [EMAIL PROTECTED] wrote: On Tue, Jun 17, 2008 at 9:43 AM, Aaron [EMAIL PROTECTED] wrote: Thanks for the quick response but I have already tried that and it

Re: html select State/Country dropdown in CakePHP ?

2008-06-17 Thread fr3nch13
I accomplished something similar to this using ajax calls (ajax helper and cakephp 1.1). This should point you in the right direction: http://calculator.boxcart.com/ On Jun 17, 10:28 am, butangphp [EMAIL PROTECTED] wrote: Hey, I was wondering if there Cake has a way to automatically generate a

Re: cakephp on MAMP

2008-06-17 Thread bdiddymc
Hi, Thanks for the replies. So using the CakePHP Bin do I just post the link here: http://bin.cakephp.org/view/1954519462 That's the HTML output of the welcome page. The css being used is: link rel=stylesheet type=text/css href=/cake/css/ cake.generic.css / I use TinkerTool to allow me to

echo line break from string

2008-06-17 Thread Dave
Hi guys, I have a problem. I have a string f.ex: $text = Lorem Ipsumbr /dolor sit amet; if I echo it like this: echo $text; it will show me: Lorem Ipsum dolor sit amet without line break what do I have to do so it breaks the line? or am I doing something wrong? Dave

Re: dynamic variable names?

2008-06-17 Thread Dave
thanks for your help, i solved it this way: for($i=0;$icount($user_info[0]['education_history']);$i++){ $var_name = 'education_history_'.$i.'_name'; global $$var_name; $$var_name = $education_history['name']; } --~--~-~--~~~---~--~~ You

CakePHP 1.2 RC1 on IIS with ISAPI_Rewrite

2008-06-17 Thread uniacid
I've been trying to get this fixed for a few days now but I cannot find any info that has actually helped resolve it, I've checked a few other threads here and in the cake groups but nothing has help me. My only issue with my cake install is that the include files (css, js, img) are not being

Re: Can Cake save extra fields in HABTM join tables?

2008-06-17 Thread Jaime
On 17 jun, 23:05, Joel Perras [EMAIL PROTECTED] wrote: Read: tinyurl.com/4kbe9q Thank you Joel. So all the problem was that I didn't set a 'id' field in the join table. I thought that an 'id' was only required to modelized tables, not to join tables. At least, I've never set id's before on my

Re: cakephp on MAMP

2008-06-17 Thread bdiddymc
looking at the CSS file... maybe it is working...? There's just not that much styling made. I thought the welcome page has a blue band at the top and some cake branding? Should the welcome page just be all white. Blue text header, yellow subs, and grey behind messaged such as Your database

Re: Overriding Table Prefix

2008-06-17 Thread Grant Cox
You could always have a second database connection for the legacy application - without a prefix set. I would have expected that your legacy app would be in a different database than this new one, anyway? Not sure about the password hashing, I haven't used the inbuilt Cake authentication. On

Re: Simple Auth not working when models are defined

2008-06-17 Thread Aaron
Ugh. Looks like that was it. Thanks a bunch. I'll be more careful in the future. -Aaron On Jun 17, 5:42 pm, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: Check that you have not leading or trading spaces.http://bin.cakephp.org/saved/33005 On Tue, Jun 17, 2008 at 10:53 AM, Chris Hartjes

Is the Tree Behavior broken?

2008-06-17 Thread aranworld
I started to discover some rather serious errors with the way lft and rght values were being set while creating ACL nodes. Now, I am looking at the Tree Behavior test case, and am getting 54 passes and 52 fails! Can anyone else replicate this failure rate for the Tree Behavior test case? I am

CakePhp.org suggestion for small improvement

2008-06-17 Thread villas
From the official Cake website: What people say... Who needs documentation when it tells me how to do everything? — Jonathan Snook Apart from the questionable accuracy of this statement g, it makes it sound as if Cake doesn't have any proper documentation. Now that the excellent Book

Execute function on every page

2008-06-17 Thread Sanfly
Hi all If I have a function or script that I want to execute automatically on every page of my website, how would I go about it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group,

Re: How do I redirect from an element

2008-06-17 Thread Shahzad
Thanks franky. I think this is the way to go. On Jun 17, 11:46 am, francky06l [EMAIL PROTECTED] wrote: If you want to render a new view when searching, you should not use ajax but normal submit, then the complete view will be rendered ... Maybe I misunderstood the problem. hth On Jun 17,

Re: How do I redirect from an element

2008-06-17 Thread Shahzad
Thanks franky. I think this is the way to go. On Jun 17, 11:46 am, francky06l [EMAIL PROTECTED] wrote: If you want to render a new view when searching, you should not use ajax but normal submit, then the complete view will be rendered ... Maybe I misunderstood the problem. hth On Jun 17,

Broken CSS after uncommenting App.baseUrl

2008-06-17 Thread Steve
The server I am uploading a cake site to doesn't have mod_rewrite enabled. So, as the core.php instructions say, I deleted all of the necessary .htaccess files and uncommented line 55: Configure::write('App.baseUrl', env('SCRIPT_NAME')); .. however, this line is breaking my css and js links. I

Re: CakePhp.org suggestion for small improvement

2008-06-17 Thread Jonathan Snook
On Tue, Jun 17, 2008 at 11:17 PM, villas [EMAIL PROTECTED] wrote: Apart from the questionable accuracy of this statement g, it makes it sound as if Cake doesn't have any proper documentation. Now that the excellent Book exists, maybe the webmaster and Jonathan could think of a better

Re: Execute function on every page

2008-06-17 Thread Dr. Tarique Sani
On Wed, Jun 18, 2008 at 7:58 AM, Sanfly [EMAIL PROTECTED] wrote: If I have a function or script that I want to execute automatically on every page of my website, how would I go about it? The correct CakePHP terms would be I have a function that I want to execute before every action -

Re: CakePhp.org suggestion for small improvement

2008-06-17 Thread Julio Protzek
2008/6/18 villas [EMAIL PROTECTED]: From the official Cake website: What people say... Who needs documentation when it tells me how to do everything? — Jonathan Snook Apart from the questionable accuracy of this statement g, it makes it sound as if Cake doesn't have any proper

Re: Broken CSS after uncommenting App.baseUrl

2008-06-17 Thread Steve
But of course, uncommenting that breaks my other links. Any help? On Jun 17, 11:48 pm, Steve [EMAIL PROTECTED] wrote: The server I am uploading a cake site to doesn't have mod_rewrite enabled. So, as the core.php instructions say, I deleted all of the necessary .htaccess files and uncommented

Re: CakePhp.org suggestion for small improvement

2008-06-17 Thread mbavio
Are you the same guy that request CakeBaker´s inclusion in homepage? Lol, you need to close CakePHP homepage! :) Good thought this one. Cheers, mbavio On Jun 18, 1:22 am, villas [EMAIL PROTECTED] wrote: Yes, I knew what you meant but I was just thinking it sounded negative to newcomers

Re: CakePhp.org suggestion for small improvement

2008-06-17 Thread Anupom
I am finding this topic pretty funny! In fact, this quote has become so famous that I don't know if removing it from the cakephp.org site would remove it from people's mind and people will stop referencing this quote ;) On Wed, Jun 18, 2008 at 10:29 AM, Steve [EMAIL PROTECTED] wrote: Maybe

Re: CakePhp.org suggestion for small improvement

2008-06-17 Thread villas
Existing users of Cake all know what Jonathan means, but the home page is one of the main ways to attract newcomers. It is important that those people should think that the docs exist and are in good shape, otherwise they might go elsewhere. On Jun 18, 5:29 am, Steve [EMAIL PROTECTED] wrote:

Re: echo line break from string

2008-06-17 Thread villas
Works OK in my browser. Try it with br instead of br /. After echoing to your browser look at the page source to make sure the br hasn't been stripped out by some other process. The only other thing I can think of is CSS but I don't know if that could affect line breaks. On Jun 18, 12:37 am,

Re: Overriding Table Prefix

2008-06-17 Thread villas
Password hashing is one of the most fundamental features of the Auth component, I think it would be just as easy to do your own thing as try and work around it. In a lead developer's own words, plain text passwords are just 'evil' :-) On Jun 18, 2:29 am, Grant Cox [EMAIL PROTECTED] wrote:

Re: echo line break from string

2008-06-17 Thread Julio Protzek
2008/6/17 Dave [EMAIL PROTECTED]: Hi guys, I have a problem. I have a string f.ex: $text = Lorem Ipsumbr /dolor sit amet; if I echo it like this: echo $text; it will show me: Lorem Ipsum dolor sit amet without line break what do I have to do so it breaks the line? or