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
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
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
$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,
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
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
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
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
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
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
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
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
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.
//
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
38 matches
Mail list logo