Re: Caching

2006-06-07 Thread monty
i don't change the name of the image, but shouldn't i be able to tell the browser not to cache it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: IIS Cake and PHP

2006-06-07 Thread [EMAIL PROTECTED]
thanks for all your help people, think I should be OK, the links were very useful for me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: OpenID implementation in CakePHP

2006-06-07 Thread 100rk
Thank You :) I chosed 2nd option from videntity.org, as both libs are dependend on some PHP extensions (curl, gmp/bcmath...), but library from openidenabled is dependent on PEAR packages also (and I don't like this fact). But question was about CakePHP component, You know. Before I started

Re: OT: Fase v0.8

2006-06-07 Thread RosSoft
$this-log pasting ClassName::function() is a good idea --~--~-~--~~~---~--~~ 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,

Sessions for users with cookies disabled

2006-06-07 Thread [EMAIL PROTECTED]
I really want to allow users with cookies disabled to use my pages, is there some way/solution for cake to allow this? maybe via url-rewrite/hostname or attached query-string? best, Tobi --~--~-~--~~~---~--~~ You received this message because you are subscribed

Who's coming from ASP .net to Cake ?

2006-06-07 Thread pat
I thought I'd ask as I've only really done web pages with ASP .Net and coming back to PHP is hard work after the luxuries of ASP .Net . (IMHO) I've hit a bit of stumbling block when it comes to postbacks, or just plain re-posts if you're from PHP. What's the best way to keep your controls in

Re: Sessions for users with cookies disabled

2006-06-07 Thread Felix Geisendörfer
Before I knew CakePHP I was working with my own set of libraries and I had one for sessions too which I called sessions on demand. I think the way it functioned would be nice to have inside CakePHP as well: 1. CakePHP tries to store the sessions via cookie by default 2. When one of these

Models and multiple tables

2006-06-07 Thread sicapitan
According the the manual, it says the model relates directly to a database table. But I have multiple tables. Does this mean I need a model.php file for each table? Surely not. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: extends a class that extends AppModel

2006-06-07 Thread RosSoft
Why you're extending AppController to CustomController in all your controllers? (Same question for Models) If you want to do so, it's as easy as copy the files cake/app_controller.php and cake/app_model.php to app/app_controller.php and app/app_model.php. Then you can modify these files and all

Re: extends a class that extends AppModel

2006-06-07 Thread Felix Geisendörfer
Use require_once instead of require and you should be fine. -- http://www.thinkingphp.org http://www.fg-webdesign.de davide schrieb: Good morning. I'm trying to extends a class (a custom base model) that extends the AppModel. I've already done it for the

Re: Models and multiple tables

2006-06-07 Thread Felix Geisendörfer
Normally Model-Table is a 1:1 relationship. You can easily work around this, but I think that's against the idea behind Models. So yes, you should create a [model].php for every table you want to work with (besides join tables). -- http://www.thinkingphp.org

Re: extends a class that extends AppModel

2006-06-07 Thread davide
RosSoft wrote: Why you're extending AppController to CustomController in all your controllers? (Same question for Models) If you want to do so, it's as easy as copy the files cake/app_controller.php and cake/app_model.php to app/app_controller.php and app/app_model.php. Then you can modify

Re: extends a class that extends AppModel

2006-06-07 Thread davide
Felix Geisendörfer wrote: Use require_once instead of require and you should be fine. Unfortunately no. I go the same error. Fatal error: Cannot redeclare class custommodel in H:\www\multi-cake\casting\models\custom_model.php on line 2 What else? Thanks and bye D. //

Re: Cross Database Association

2006-06-07 Thread Shaf
Thank you so much Nate, that's working perfectly now. :D --~--~-~--~~~---~--~~ 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

Re: extends a class that extends AppModel

2006-06-07 Thread nate
David, first of all, the AppModel and AppController that ship with Cake will always be empty files. They're meant to provide the user (you) with a base class that all of your models/controllers can inherit from. That said, if you still want to try this, just call require_once in AppModel

Re: how to organise this app

2006-06-07 Thread nate
There are plenty of real apps on cakeforge.org, including some that probably apply directly to this situation. There are several that deal with different methods of access control. Also, if you wanted to organize your data properly, you'd have each User belonging to a Role, and each Role having

Re: Gettign a Adodb Session to work in cake

2006-06-07 Thread nate
Are you saying a fix is required? Do tell. You can post bug and feature requests at https://trac.cakephp.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: how to organise this app

2006-06-07 Thread monty
my application is similiar with admin/client/user. Roughly speaking, each model represents a table. For a small application I would create a controller for each admin, client and user, but there are no hard and fast rules for this. You may split your controller into smaller chunks for whatever

Re: extends a class that extends AppModel

2006-06-07 Thread davide
nate wrote: David, first of all, the AppModel and AppController that ship with Cake will always be empty files. They're meant to provide the user (you) with a base class that all of your models/controllers can inherit from. Oh yes. Sorry, my fault (as usual). I was looking inside the

Re: Problems with DocumentRoot on Mac

2006-06-07 Thread Felix Geisendörfer
you need mod_rewrite enabled, maybe that's your issue. -- http://www.thinkingphp.org http://www.fg-webdesign.de [EMAIL PROTECTED] schrieb: Wow, and now http://localhost/posts/view/1 just goes to a blank white page, no error messages. Is there extra config you

Re: Problems with DocumentRoot on Mac

2006-06-07 Thread Samuel DeVore
usually what I do is to set up a virtual host that points to my user folder. The usual ~username/ never seems to work. But I have cake running on about 3 different versions of mac os x with no problems, server and client installs On 6/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Wow, and now

Re: Problems with DocumentRoot on Mac

2006-06-07 Thread Samuel DeVore
Oh the other issue is to make sure that you have AllowOverride All set for the path where the cake install is at.On 6/7/06, Samuel DeVore [EMAIL PROTECTED] wrote:usually what I do is to set up a virtual host that points to my user folder. The usual ~username/ never seems to work. But I have cake

Re: Problems with DocumentRoot on Mac

2006-06-07 Thread [EMAIL PROTECTED]
I've got it rumming on a mac fine using...MAMP mamp.info --~--~-~--~~~---~--~~ 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

Re: Using Peterned's whatever:hover

2006-06-07 Thread Reggie
Thanks for all the suggestions, but I was under the impresion that CSS is the best way to go with this, and I've head good success with Firefox, and IE7 so I'd like to continue that path. Tobius, I should probably do what you're suggesting. However, I don't understand how to attach events to a

Re: Problems with DocumentRoot on Mac

2006-06-07 Thread Samuel DeVore
If you are around later today, try me on google chat if you want and we can figure it out, then perhaps when we are done we can work on a help page for the next troubled user...Sam D On 6/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Samuel DeVore wrote: usually what I do is to set up a virtual

Re: Problems with DocumentRoot on Mac

2006-06-07 Thread nate
First of all, XAMPP is crap. Use OSX's builtin Apache install. You can upgrade it to PHP5 pretty simply (there's a tutorial on entropy.ch). If you're on a Mac, unless you're logged in as root, it's possible that the .htaccess files aren't showing up, in which case they might not have gotten

Re: tagErrorMsg doesn't display

2006-06-07 Thread Mike
Any ideas, please? --~--~-~--~~~---~--~~ 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

Re: dashes instead of underscores

2006-06-07 Thread Jim
nate, thanks for spelling it all out for me. since we live in a fast paced world and we're always a week behind schedule, it's rare to find someone such as yourself who is willing to write in complete sentences and paragraphs in order to explain a concept and use-case fully. i have a much

popular framework?

2006-06-07 Thread yusuf
Is cake php the most popular framework for php? Are there others that are widely used out there? Also, how does cake scale up, in terms of users and resource over head? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: popular framework?

2006-06-07 Thread John Zimmerman [gmail]
http://www.phpit.net/article/ten-different-php-frameworks/This is a comparison chart. Somewhat inaccurate in some areas but one of the only ones I ca really find. I think most of the people on the Cake list are going to tell you that Cake is the best.I tried a couple of others (Symfony and Seagul

Re: Layout Help

2006-06-07 Thread John Zimmerman [gmail]
Question 1:In each of your action functions you can change the value of $pageTitle before the pages is rendered. So if you want to change the title to the Post title your would do $this-pageTitle = $PostTitle; before the end of your action function. You can conditionally set the title and if it is

othAuth -- Where put files?

2006-06-07 Thread pat
Sorry to have to ask, but its not obvious to me. I have put the othAuth.php (component ) here: \app\controllers\components\othAuth.php Where does othAuthHelper go? ta, Pat. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Alternative to dynamically adding fields to model - views

2006-06-07 Thread pat
What about if you want to do update of the data? Some databases don't let you update views so I don't think this is a viable solution for all cases. pat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: dashes instead of underscores

2006-06-07 Thread nate
You're very welcome. The whole complete sentences thing was instilled in me at a very young age. ;-) Besides that, I have quite a distaste for this sub-vernacular that has grown up around Internet culture. It's both crude and mind-numbing. Fortunately, most people who come to this mailing list

Re: popular framework?

2006-06-07 Thread nate
Symfony and the Zend Framework have more downloads than we do, and Symfony probably has more active users, but that'll likely change in the near future. Scaling with Cake is, for the most part, just like scaling any PHP application, although Cake does have some built-in production mode

Re: Models and multiple tables

2006-06-07 Thread sicapitan
well, some databases are huge, trying to display the files in a file tree, then finding the file, would take forever --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: Who's coming from ASP .net to Cake ?

2006-06-07 Thread pat
nate, Yes, I was not able to use the generateList() method for the dropdown as my display field is concatenation of a different fields. The reason I've not used the afterFind() to derive fields is this: In another part of your application you execute a find() on that model but with a limited

Re: tagErrorMsg doesn't display

2006-06-07 Thread Mike
Thanks for the suggestion, gwoo. Thanks to PhpNut too, for suggesting that I install the latest version of cake. Now running 1.1.3.2967 and the validation works fine :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google