Hi,
Searched but not found...
How can I call my javascript files I placed in app/vendors/js ?
or from /vendors/ ?
thnx!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send e
That worked:
uses('controller/Controller');
loadComponent('Email');
Thnx Dardo!
On Feb 22, 11:23 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]>
wrote:
> try uses();
>
> On Fri, Feb 22, 2008 at 6:29 AM, Charlie van de Kerkhof
>
> <[EMA
Hi all,
Is there a replacement for the App:import() in older 1.2 versions? I
can't upgrade otherwise my app will break in thousand pieces :)
This is the one.
App::import('Core', 'Controller');
Others I know like:
App::import('Component', 'Email');
was:
loadComponent('Email');
But that 'Core' thi
And the name of the site and URL: Cloudspeakers.com -
http://www.cloudspeakers.com
On 10 jan, 17:27, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote:
> New site/app added to
> http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
> A music aggragator of revi
New site/app added to
http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
A music aggragator of reviews, audios and videos. Build in cake 1.2.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cak
Hi,
I know there is a lot about pagination on this group, but I can't
find what I'm looking for or understand what I found.
Basically what I want is that I can pass custom parameters (named or
passed) to the next, prev, sort and numbers links in my admin index
actions.
For instance:
http://loca
Hi,
I'm planning to overwrite the Debugger::handleError() function to send
me some emails if an error occurred instead of printing or only
logging.
The main question is: How do I do that in Cake? I know how to make a
class that extends Debugger and in that class make a new method
handleError. But
Sanatize::escape() in v1.2
http://api.cakephp.org/1.2/class_sanitize.html#7880433bcb1bbf193ddd090db89389ea
On Oct 27, 2:25 pm, "Olexandr Melnyk" <[EMAIL PROTECTED]> wrote:
> $Sanitize->sql($data) on CakePHP 1.1
>
> On 10/27/07, cakeFreak <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hey guys,
>
> > just w
No. I use MAMP + MAMP Pro 1.7 and no problems in safari
On Oct 25, 9:55 pm, mastorna <[EMAIL PROTECTED]> wrote:
> Is anyone having difficulty upgrading to 1.2 pre-beta from a 1.1 or
> earlier 1.2 lines when using MAMP? I've got all my htaccess files
> configured as normal, as well as MAMP's Apac
: Undefined offset: 5 in /.../cake/console/cake.php on line 409
What is the right syntax? Or is it an enhancement...
thnx!!
On Oct 23, 4:46 pm, Charlie van de Kerkhof <[EMAIL PROTECTED]>
wrote:
> Hi,
> I love theShellscripts features in cake 1.2. But I have a couple of
> question
Hi,
I love the Shell scripts features in cake 1.2. But I have a couple of
questions:
1. Can I remove the first output of every shell script:
Hello charlie,
Welcome to CakePHP v1.2.0.5875 pre-beta Console
---
It is not the function _welc
Hi,
I posted a couple of messages to this post this morning and now two of
them are gone. The whole topic seems to have dissappeared...
Even in my google group profile.
Someone did some enthousiastic moderating? Or is it just a bug in
google group?
- Charlie
--~--~-~--~~---
eate the directory. Try creating it, then you problem
> SHOULD be fixed. =)
>
> Regards,
> - Sergio
>
> On Oct 22, 8:22 am, Charlie van de Kerkhof <[EMAIL PROTECTED]>
> wrote:
>
> > I have the same problem and the solution of nate didn't help.
> >
I assume that you also have a Category model?
Then setup the right associations in Article and Category and
ArticleCategory and use the $this->resursive = 1 var in Article or
Category to get the associations of that article or category
- Charlie
On Oct 22, 1:25 pm, LS <[EMAIL PROTECTED]> wrote:
I have the same problem and the solution of nate didn't help.
I think this is a bug but I don't know for sure:
(latest svn version of 1.2.x.x. branches)
In APP/config/core.php:
- Configure::write('Cache.disable', true);
- Cache::config('default', array('engine' => 'File'));
Gives the warning 512
>
> Sam D
>
> On 10/21/07, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi Pablo,thnx for your reply.
> > Also did that. Even with debug=3 but no errors
>
> > On Oct 21, 6:06 pm, "Pablo Viojo" <[EMAIL PROTECTED]>
Hi Pablo,thnx for your reply.
Also did that. Even with debug=3 but no errors
On Oct 21, 6:06 pm, "Pablo Viojo" <[EMAIL PROTECTED]> wrote:
> Set debug=1 and check if you have errors on your page
>
> --
> Pablo Viojo
> [EMAIL PROTECTED]://pviojo.net
>
> On 10/
Hi,
I still have this problem. Searched this forum about this subject and
did all suggestions:
1. cleaned the app/tmp/cache/models, app/tmp/cache/persistent and app/
tmp/cache/views folders
2. Updated cake core folder to latest svn version from 1.2.x.x branche
3. checked the rights on the app/tmp
;t tried
> with any later builds of 1.2.
>
> Wayne
>
> On 10/18/07, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
> > I'm trying to get the RSS functionality working in CakePHP 1.2 Working
> > just fine, but it gives me 1 space
Hi,
I'm trying to get the RSS functionality working in CakePHP 1.2 Working
just fine, but it gives me 1 space before the opening header http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---
knew that cake would accept an array for a single value in a
> condition before. Where is that documented?
>
> "cake is unfortunatly full of 'trade secrets'" (Alkemann, IRC
> #cakephp)
>
> Mike
>
> On Sep 26, 12:09 pm, Charlie van de Kerkhof <[EMAIL PROTE
> -Original Message-
> From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
>
> Of Charlie van de Kerkhof
> Sent: 26. september 2007 12:36
> To: Cake PHP
> Subject: FindAll condition can not be an array?
>
> Hi,
>
> (v1.2, latest SVN
Hi,
(v1.2, latest SVN version)
I try to pass an array to the findAll function like this:
$condition = array('id'=>array(2,5,6,9,12,45,78,43,76));
$this->Artist->findAll($condition);
But the Query is written to the database is:
SELECT * from Artist WHERE (2) AND (5) AND (6) AND (9) AND (12) AND
Thnx Tarique,
I get your point. I agree but for now it has to be like this.
Thnx anyway
On Sep 16, 10:43 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 9/16/07, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote:
>
>
>
> > You got my attention. Why
Hi Tarique,
You got my attention. Why is this? Is this because of performance
issues? What do you mean by 'loose coupling'?
On Sep 16, 4:02 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 9/16/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
Yep! That did the trick. Thanks Chris!
Some basic OO I think. I get spoiled by Cake! ;) That's for sure...
On Sep 15, 10:12 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 9/15/07, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote:
>
> > // In mod
ot;Marcelo Linhares" <[EMAIL PROTECTED]>
wrote:
> $uses = array("Artist","Ticker");
>
> []s
> Marcelo Linhares
>
> 2007/9/15, Charlie van de Kerkhof <[EMAIL PROTECTED]>:
>
>
>
>
>
> > Hi,
>
> > I like to use the mode
Hi,
I like to use the model standard functions like findById() in another
model instead of a controller.
In model Ticker I want data from a table called 'artists' which has
model 'Artist' but model Ticker doesn't use a database table.
// In model Ticker:
$artists = $this->Artist->findById(12);
Hi all,
Before I add a enhancement ticket in trac I would like to know what
you people do in this situation:
I have a database datetime '2007-09-13 13:24:12' en I would nicely
transform that on a webpage to: 'September 13th 13:24h'
I used the Time Helper like this: $time->format('F dth H:i',
$db_
I've seen this in the code on that particular line:
$data = fread($file, 1<<20);
1<<20 ?? I will submit a trac ticket.
On Sep 10, 5:06 pm, Charlie van de Kerkhof <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I used bake before in v1.2 and working alright for me. But aft
Hi,
I used bake before in v1.2 and working alright for me. But after a
certain svn update (don't know which version) my admin_index gives an
error in i18n:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 1048577 bytes) in /cake/libs/i18n.php on line 379
And when I
Hi,
I've seen a couple of posts and articles how to change the url and
params in the paginator helper. They work if you have an out-of-the-
box router setup with the standard controller, actions, etc.
But I've tested some things with the static 'url' option and that
seems not working.
app/views/a
Maybe to complex:
Has anyone used custom url in pagination (v1.2) before?
On Sep 3, 1:19 pm, Charlie van de Kerkhof <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I'm fiddling with the paginate Helper in the latest svn version of
> 1.2. It is not working when I have setup spe
> Maybe removing the quote around '$filter' (in the SELECT fields) will
> avoid this.
>
> On Sep 3, 6:17 pm, Charlie van de Kerkhof <[EMAIL PROTECTED]>
> wrote:
>
> > Hi,
>
> > In my model I do this:
> > $filt
Hi,
In my model I do this:
$filter = 'reviews';
$field = 'artist_id';
$ids = '23,46';
$sQuery = "SELECT id,title,url,'$filter',modified ".
"FROM $filter AS $filter ".
"WHERE status=1 AND $field I
Hi Ravi,
in cakePHP you can make view elements which contains pieces of PHP and
HTML code.
In that mail template of yours you can 'include' those elements.
example:
in email.ctp (or email.thtml if you still use v1.1)
renderElement('loginbox', array("loggedin" => true,
'username'=>'ravi'));?>
an
Hi all,
I'm fiddling with the paginate Helper in the latest svn version of
1.2. It is not working when I have setup special routes.
The Html->link works with url array's and compares them with the
routes and makes the appropriate link. But with the paginator I can't
get that working.
In my view
Thnx!
I read irt before, but I forgot. Exactly what I needed for my
situation.
--~--~-~--~~~---~--~~
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 unsu
I've seen a reopened ticket in trac, so I guess it is know and someone
is working on it.
https://trac.cakephp.org/ticket/3108
Sorry for posting in here before looking at the tickets :\
- Charlie
--~--~-~--~~~---~--~~
You received this message because you are subs
Hi all,
I used the bake functionality on my database and it is working great!
I use the admin functionality too.
1) Every form will generate correct except in the admin_edit form.
There the $form->create('Modelname') will not add the '/admin/' before
the action. In the admin_add form (with the s
HI, as the error says the host is not correcty, or not accessible from
your webserver.
Check your priviliges on your mysql user you use in this dbconfig.
On Aug 22, 6:41 pm, rtanz <[EMAIL PROTECTED]> wrote:
> hi i have uploaded cake on to my server however i am having problems
> connecting to the
Thnx AD & Simon!
generateList is a good one but I couldn't get it working.
The Set::extract($res, '{n}.Artist.artist_id') worked like a charm! So
I will use that.
Thnx again!
- Charlie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Hi,
Is it possible to have the resultset from a findAll() without the
modelname? Or even better, when I want 1 field just a column?
Now I get this:
Array
(
[0] => Array
(
[Artist] => Array
(
[artist_id] => 4
)
)
Thnx all. I will check the testcase.
--~--~-~--~~~---~--~~
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 [EM
44 matches
Mail list logo