2008/8/23 Samuel DeVore [EMAIL PROTECTED]:
As far as I know it is, but it is for 1.1 NOT 1.2
What I thought anyway, is a good quick reference.
Cheers!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Thanks for your response! I made a very silly error indeed. All set
now! :-)
On Aug 20, 12:37 am, francky06l [EMAIL PROTECTED] wrote:
Do you have any requestAction called somewhere prior to render the
view (that is not allowed? ) ?
On Aug 20, 3:59 am, Baxter [EMAIL PROTECTED] wrote:
Hi
This is what is currently happening to a site I have:
1) person visits site's home page, which contains an element which
displays the top news stories from the database
2) since the element is set to be cached, a cached view file is set
with an expiration of 3 hours
... 2 hours later ...
3) the
Here is a step-by-step summary that should hopefully help you grasp
how Auth and ACL are working together.
http://aranworld.com/article/164/cakephp-acl-tutorial-auth-component-example
ACL is basically a database of permissions. The Auth Component is
programmed to query that database to dermine
Take a look at CakePHP plugins: http://book.cakephp.org/view/114/plugins
-Joel.
On Aug 22, 2:23 pm, luigi7up [EMAIL PROTECTED] wrote:
Hello everyone.
I just started to explore Cake PHP and already love it.
I'm trying to create a simple CMS. I have few questions about how to
solve some
Hi
I have a table with composite primary keys. The primary key consists of 2
columns. How would I do a row insert?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send
If cake does not support composite keys, how would I create a custom query
to do this?
Thanks!
On Sat, Aug 23, 2008 at 3:41 AM, . [EMAIL PROTECTED] wrote:
Hi
I have a table with composite primary keys. The primary key consists of 2
columns. How would I do a row insert?
Thanks
you can add one field eg (ID auto increment) as the primary key, and the 2
columns become a usual field.
On Sat, Aug 23, 2008 at 6:42 PM, . [EMAIL PROTECTED] wrote:
If cake does not support composite keys, how would I create a custom query
to do this?
Thanks!
On Sat, Aug 23, 2008 at 3:41
Hi Arak,
It sounds like you are simply having a problem with paths and set up.
I suggest that you have good look at the manual for installation
because that should really be enough info to get you moving:
http://book.cakephp.org/view/27/developing-with-cakephp
On Aug 23, 4:14 am, Arak Tai'Roth
Be careful, because there are a few (maybe more) deprecated things
such as renderElement(), vendor(), ...
+++
Clément
On Sat, Aug 23, 2008 at 6:23 AM, Paolo Stancato [EMAIL PROTECTED] wrote:
2008/8/23 Samuel DeVore [EMAIL PROTECTED]:
As far as I know it is, but it is for 1.1 NOT 1.2
On Sat, Aug 23, 2008 at 4:12 AM, aranworld [EMAIL PROTECTED] wrote:
Is there a way to get Cake to not overwrite an old cached view, if it
can detect that there was a database connectivity problem?
Well, it seems to me that this might actually be an application logic
problem. Here's why:
On Aug 22, 10:28 pm, Mariano Iglesias [EMAIL PROTECTED]
wrote:
'not' = array('Model.field' = array( 1, 2, ...))
That's what I meant; you have to express in that way instead of
somehow accustomed typical SQL way.
--~--~-~--~~~---~--~~
You received this message
Hi Masters,
Please may i know where i could learn the basics building a website in
Cake i have several tutorials but not much enough i am trying to make
a small website which have Admin panel and some pages user side is
cake have facility to make Admin control bundled with it or we need
to
Here's a few more items that have been deprecated in 1.2 that are
listed on that sheet:
Global Functions: vendor(...), cache(...)
Controller: $beforeFilter, cleanUpFields()
Model: execute(data), findAll(...); findNeighbours(...),
findCount(...), findAllThreaded(...)
Model onError() callback was
Thanks to this article:
http://cakebaker.42dh.com/2007/10/17/pagination-of-data-from-a-habtm-relationship/
Form categories controller Im displaying all the Listings name and
description from a given category($current_id)
class CategoriesController extends AppController {
function
hi , here im trying to use generatetreelist() first time, so whats
problem im facing is that it saves the data two times with once
execution of code.
here is my code that im using
function addData($fieldName = null, $pa_id = null){
$existance =
well, i have some problems with $this-RequestHandler-isXml(). It
return true for not REST request.
I am using now:
(strtolower($this-RequestHandler-prefers()) == 'xml')
Regards
On 6 ago, 05:02, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Try this
if ($this-RequestHandler-isXml()
no
--
(the old fart) the advice is free, the lack of crankiness will cost you
- its a fine line between a real question and an idiot
http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
Is there any way to do this? I'd like to my CSS and JS folders from
the webroot to 'includes/css' etc. as this is the way I organised them
before I began working with Cake, and if possible I'd like to continue
like so.
Any suggestions?
Thanks.
At the bottom of every rendered page is an execution time (i.e.
!--0.4567s --) I have views that return json and this breaks the
parsing. How do I remove this?
-Aaron
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
just set Debug to 0.
(execution time is echoed from webroot/index.php, but only in debug
mode)
On Aug 23, 11:02 pm, Aaron [EMAIL PROTECTED] wrote:
At the bottom of every rendered page is an execution time (i.e.
!--0.4567s --) I have views that return json and this breaks the
parsing. How
You can check with ConnectionManager if database is connected (in
app_controller __construct() )
if not connected use clearCache() to clear your views cache.
On Aug 23, 10:12 am, aranworld [EMAIL PROTECTED] wrote:
This is what is currently happening to a site I have:
1) person visits site's
Hi All
I m new user for cakephp please can you provide me any problem i ll
find
Thanks
--~--~-~--~~~---~--~~
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
Just had a look on the Book, and this is what I'm after (in case
anyone else may find it handy):
http://api.cakephp.org/paths_8php.html
On Aug 23, 10:43 pm, majna [EMAIL PROTECTED] wrote:
fast and stupid:
webroot/index.php
-add at top define ('WEBROOT_DIR', 'includes');
-point domain
I'm using the Auth Component in my app_controller.php in the
beforeFilter function, which is great for making people login, but I'm
having a hard time allowing certain pages. I want all pages in my
Pages controller to not require authorization, so I added $this-
Auth-allow('*') in my
fast and stupid:
webroot/index.php
-add at top define ('WEBROOT_DIR', 'includes');
-point domain documemt root to includes
On Aug 23, 11:00 pm, seanislegend [EMAIL PROTECTED] wrote:
Is there any way to do this? I'd like to my CSS and JS folders from
the webroot to 'includes/css' etc. as this
It would be really great to get the source sheet
It would be great to admend the existing. I gather that who ever created
the existing sheet is too busy or not available. Anyway I am up for it! I
have transposed the existing to a wordfile bits have been mismatched in the
process :( so that
If i write cake.bat it returns me the answer that php is not know as
command
Thanks for the help
Giulio
On 24 Ago, 07:29, giulio [EMAIL PROTECTED] wrote:
Hi,
I see the tutorial and i read a lot of articles on the web, but this
not solve my problems.
I'm trying to configure cake php on
Hello everyone,
I just learn cakephp and I'm having trouble creating the admin section
of my app.
These are what I've done so far.
1. I've created a user section with the capabilities of login/logout
and signup.
2. I've created a users table for it.
3. I've overriden the app_controller and
29 matches
Mail list logo