Hi,
Having a little bit of trouble trying to get helpers and components
working on my code. I tried following a tutorial at:
http://www.devmoz.com/blog/2007/04/04/cakephp-update-a-select-box-using-ajax/
At first I downloaded the latest stable version and followed the
tutorial and it produced er
I repeat for myself, maybe somebody will need. In that file after
count write smth. like count_ in two places and works fine.
If you dopn't wanna warnings, set 0.
On Aug 21, 4:19 pm, Apulis <[EMAIL PROTECTED]> wrote:
> I can connect tosqlserver, I even can create new records, but
> browser displa
Sigh ...
I really must get the flash plugin working on this machine. The
intrigue is killing me ...
LS
Geoff Ford wrote:
> Really well done - i lol'ed too.
>
> Geoff
> --
> http://lemoncake.wordpress.com
>
> On Aug 27, 9:36 am, housebolt <[EMAIL PROTECTED]> wrote:
>> LOL
>>
>> On Aug 25, 8
you must write name of controller
example:
var $cacheAction = array('articles/view' => 864000);
--~--~-~--~~~---~--~~
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@googl
If you don't set 'dependent' nothing happens to the profile - when you
delete the progile entries will remain.
Also when you create a User - it wont automatically create the
UserProfile record until you explicitly save the Profile, regardless
of whether dependent is true or false.
Geoff
--
http:
LOL
On Aug 25, 8:45 am, RichardAtHome <[EMAIL PROTECTED]> wrote:
> http://www.youtube.com/watch?v=GQXqWkWqnSw
>
> I lol'ed :-D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group
Really well done - i lol'ed too.
Geoff
--
http://lemoncake.wordpress.com
On Aug 27, 9:36 am, housebolt <[EMAIL PROTECTED]> wrote:
> LOL
>
> On Aug 25, 8:45 am, RichardAtHome <[EMAIL PROTECTED]> wrote:
>
> >http://www.youtube.com/watch?v=GQXqWkWqnSw
>
> > I lol'ed :-D
--~--~-~--~~--
I thought the beforeFilter was occuring in AppController - because you have
it in UsersController it wont ever get executed when you call admin because
admin actually uses the PagesController.
Move the beforeFilter to AppController and it should be good.
Geoff
On 8/25/07, rtanz <[EMAIL PROTECTE
Hey,
I'm having quite a big problem - I'm with Dreamhost, and as standard,
they dont have PHP-GD installed, to use that, you must compile your
own PHP - OK I said, ~ 7 hrs ago...
Basically, I have /cgi-bin/php.cgi which I need to use as my PHP, and
this should do it:
AddHandler phpFive .php
Acti
> 1) If I define a hasOne relationship.The manual says: If I set
> 'dependent' to true, the associated row is also deleted.
> But what happens contrariwise?
You'd have to define a belongsTo in the other model with dependent set
to true to get it to work both ways.
--~--~-~--~~--
Hi
On 26 авг, 22:34, cronet <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I read the manual article, but there are still some questions.
>
> 1) If I define a hasOne relationship.The manual says: If I set
> 'dependent' to true, the associated row is also deleted.
> But what happens contrariwise?
>
>
Try something like this:
var $belongsTo = array(
'Author' => array (
'className' => 'User',
'foreignKey' => 'author_id'
),
'Recipient' => array (
'className' => 'User',
'foreignKey' => 'recipient_id'
)
Hi there,
I read the manual article, but there are still some questions.
1) If I define a hasOne relationship.The manual says: If I set
'dependent' to true, the associated row is also deleted.
But what happens contrariwise?
If I create a row in the User table, will the UserProfile (with no
data
you are right,
it's better this way. Thanks.
But i still haven'f found out how to define the 2 assocs
I tried with two belongsTo, but i only get the last one (in that case
recipient).
Is it posible to do them both?
--~--~-~--~~~---~--~~
You received this message b
Hello again,
i fixed this editing cake\libs\controller\components\acl.php
Changed this line:
for ($i = count($aroPath) - 1; $i >= 0; $i--) {
to this:
for ($i = 0; $i < count($aroPath); $i++) {
I don't know if this is a bug of my tree layout, or is it a bug of cakephp 1.2
Any ideas ? :)
On 8/26/07
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP
Hi everybody!
I'm new to CakePHP. Now I'm developing an application with Cake, but
using previous framework. It has a connection and query classes of
it's own. I'm using both of frameworks because of Cake's MVC and the
previous framework's CMS and I want to port the CMS to Cake and go on
with Cak
Everything seems fine for me, but there is one article that when I try
to read it produces a blank page...
http://bakery.cakephp.org/articles/view/multiple-cakephp-applications-on-a-single-domain-in-a-shared-lamp-hosting-environment
On Aug 25, 10:37 pm, Matt <[EMAIL PROTECTED]> wrote:
> Same fo
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP
Ok, I've solved the problem, it seems. The reason was that my lib was using
a couple of global vars, but was included into the "bootstrap.php", which
was run inside a method, which means - no glob. vars.
Thanx anyway
2007/8/26, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hi everybody!
>
> I'm new
Hi,
I have a problem with ACL.
My Aros:
Public (id: 1 parent_id: null)
|- Admin (id: 2 parent_id: 1)
|- admin1 (id: 3 parent_id: 2)
My Acos:
ROOT (id: 1 parent_id: null)
|- users (id: 2 parent_id: 1)
My Acos_Aros:
1. aco_id: 1 aro_id: 1 deny all acctions
2. aco_id: 2 aro_id: 2 allow all act
Thanks,
I already see this link but the link for the download seems to be
broken.. :-(
Any other suggestion?
On 26 Ago, 12:48, majna <[EMAIL PROTECTED]> wrote:
> http://www.ad7six.com/Pagination
>
> On Aug 26, 10:34 am, Andrea <[EMAIL PROTECTED]> wrote:
>
> > Hi to everybody!
> > I want to pagin
http://www.ad7six.com/Pagination
On Aug 26, 10:34 am, Andrea <[EMAIL PROTECTED]> wrote:
> Hi to everybody!
> I want to paginate the results of one my view for example into max 10
> records per page.
> I try this tutorialhttp://bakery.cakephp.org/articles/view/pagination
> but I'm not able to do w
Hi to everybody!
I want to paginate the results of one my view for example into max 10
records per page.
I try this tutorial http://bakery.cakephp.org/articles/view/pagination
but I'm not able to do what I want.
Is there another simple way to split the results into "n" results per
page?
thanks!
Hello,
in my app_controller i will add some variables to all links in my
rendered view. Therefore i will use the afterFilter callback. (In
smarty it is possible to edit the compiled sourcecode
before a respone to the browser happens)
But how do i get access to the rendered view from my app_contro
25 matches
Mail list logo