oh . . i know he does. not bothered here. just wanted opinions.
On Dec 23, 10:08 am, "jitka (poLK)" wrote:
> I think he just likes ZF over CakePHP, don't panic.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakeP
I'd like to know what everybody else thinks of this post . . not just
his friends.
http://ajbrown.org/blog/2008/12/22/four-reasons-to-hate-cakephp/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To
if your in the model . . .does this work? $this->Modelname->id;
On Dec 19, 6:35 pm, Ken wrote:
> This is the worst kind of noob question, but I'm stumped. I've tried
> $this->Modelname->getID();
> $this->Modelname->getLastInsertID();
> $this->data['Modelname']['id'];
>
> a special method from th
have you tried getimagesize()
http://us3.php.net/getimagesize
On Dec 19, 4:30 pm, djXternal wrote:
> I am trying to determine a file's MIME type that's on the server. I
> have tried using the PHP finfo function, but came back with a cannot
> find function error Is there any other way of
for the link, create a blank layout file in the layout directory.
set this in the action:
$this->layout = 'blank';
easy as pie . . .read more about it here:
http://book.cakephp.org/view/96/Layouts
On Dec 3, 2:16 am, "Aneesh S" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Need help here. How can i o
What is this MiBase you talk about?
On Dec 1, 1:30 pm, skitle <[EMAIL PROTECTED]> wrote:
> I have been using MiBase (Awesome btw), and having a couple issues
> that I haven't been able to figure out.
>
> When I log in and choose 'Remember Me', the cookie does not stick or
> some other issue. I ha
I use Yahoo Rich Text Editor. I did make sure my script was below the
form tags, so the control would render before the yahoo code. Other
then that . . .no problems
input('content'); ?>
(function() {
var Dom = YAHOO.util.Dom,
Event = Y
>
> Undefined variable: javascript [APP\views\layouts\default.ctp, line 8]
> Fatal error: Call to a member function link() on a non-object in D:
> \xampp\htdocs\cake\tree\views\layouts\default.ctp on line 8
>
> On Nov 10, 12:27 am, Donkeybob <[EMAIL PROTECTED]> wrote:
>
> >
what happens when you link the the js file by using this method link('ext-2.0.1/ext-custom'); ?> ?
On Nov 9, 7:18 am, Antoniov <[EMAIL PROTECTED]> wrote:
> Undefined variable: javascript [APP\views\layouts\default.ctp, line 8]
> Fatal error: Call to a member function link() on a non-object in D:
I use this same concept but my userinformation is called profiles.
just what i like but here is how mine our set up:
users_controller.php:
class UsersController extends AppController {
var $name = 'Users';
var $scaffold;
}
user.php:
class User extends AppModel {
var $na
Ajax and session persistence being
> a problem, and debug level might have an impact on that.
>
> Do you have firebug for Firefox installed? You can take a look at what
> comes back from the ajax request to identify the cause more
> precisely...
>
> On Nov 5, 4:49 pm, Donkey
I have different methods in my code that send ajax requests and fancy
stuff like that . . .these functions work great when i set my debug
mode to 1 or 2 but when i set it to 0, they don't work.
any ideas why this would happen?
thanks,
rich
--~--~-~--~~~---~--~~
Yo
e file upload applet you'll find what you
> need to get past your current problem.
>
> On Oct 20, 2:21 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
> > The file size is 7 mb
>
> > my php.ini settings:
> > max_execution_time = 30
> > max_input_time = 6
i would think you could just follow the example on the site for JSon
data. call you data cake wrapped in a json_encode and use the example
javascript. that should start you off. http://trirand.com/jqgrid/jqgrid.html
otherwise search the google . . .
On Oct 21, 10:46 am, myles <[EMAIL PROTECTED
and size included.
On Oct 20, 3:35 pm, Julien Buratto <[EMAIL PROTECTED]> wrote:
> Donkeybob wrote:
> > I'm using this: $form->file('filename') in my file upload utilty. Some
> > certain files will upload and save the data, but some files types
> > don'
I'm using this: $form->file('filename') in my file upload utilty. Some
certain files will upload and save the data, but some files types
don't. . . . . .ex. podcast.m4a.
When i submit the form . . .this->data only posts:
Array
(
[Fileupload] => Array
(
[name] => Podcast na
I installed the Firephp debugging class on my cakephp site. The
debugging in FireBug works on my local server but not on my live
server . . . . any thoughts why this would happen?
Thanks,
Rich
--~--~-~--~~~---~--~~
You received this message because you are subscrib
What errors are you getting? What is the problems that you are seeing?
On Oct 3, 6:30 am, uddi <[EMAIL PROTECTED]> wrote:
> I have read the multilanguage support in cakePHP article (http://
> bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-
> internationalization-tutorial). But
Nevermind, it works fine with VARCHAR. . . .
On Sep 28, 11:14 am, Donkeybob <[EMAIL PROTECTED]> wrote:
> Can cake use this datatype? VARCHAR(36)?
>
> On Sep 27, 6:37 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
>
> > I'm using a CHAR(36) for my id fields and my de
if you follow the manual step by step, then you should have a basic
cake site running. Run through the blog tutorial . . .it will help.
On Sep 30, 4:19 am, "Sonal Kumari" <[EMAIL PROTECTED]> wrote:
> Hi All
> i m new in cakephp.
> i have installed all things regradinh cakephp... and now i wan
it looks like your syntax is wrong for the ajax link . . .no
parenthesis around '$ajax->link' code either . . .check out
http://book.cakephp.org/view/212/Methods for proper syntax.
from the manual related to your code
link('View Post',
array( 'controller' => 'tests', 'action' => 'ajaxfcn1
Can cake use this datatype? VARCHAR(36)?
On Sep 27, 6:37 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
> I'm using a CHAR(36) for my id fields and my dev machine is fine with
> that but when I move the table to the host server, the CHAR get
> changed to a VARCHAR. What do I do w
I'm using a CHAR(36) for my id fields and my dev machine is fine with
that but when I move the table to the host server, the CHAR get
changed to a VARCHAR. What do I do with the automatic ID creation for
CHAR datatypes?
Rich
--~--~-~--~~~---~--~~
You received this
You use it the way you have it and just change the section in the add
function to redirect . . .
-> $this->redirect(array('action'=>'view'));
Every function should have a related view file unless you state
otherwise with a layout call.
if your action is "add" then you have to have an add functi
'Contact.user_id' => $this->Session->read('Auth.User.id')
> ));
>
> View (simplified):
>
> for ($i = 0; $i < count($this->data); $i++):
> e($form->input("$i.Contact.name");
>
> Which works perfectly for the second, third,... records
Why would you be using an array integer instead of the model name?
Does this not use a model? Code you post you controller code that
populates this form?
On Sep 25, 8:54 am, Günther Theilen <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I've got a weird problem with the form helper, maybe someone can help.
Have you tried creating a "tasks" folder under your view directory
and put your index.ctp file in there??
On Sep 23, 10:30 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]>
wrote:
> Do you get an error message when you try to open that in your browser?
> Did you check your log files for any errors?
i might be really wrong but if you can see it in the view function
then it must be in session. To me, the login function is just for
logging in and then it redirects to where the userid can be
retrieved. . . .somebody else could explain this a little better then
me.
On Sep 22, 8:32 am, gabriel <[
What is your controller code? are you using json_encode in it?
something like this ---> echo json_encode($this->Model-
>find('all'));
On Sep 21, 7:24 pm, jkritikos <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm having trouble accessing JSON data from a controller. (I'm using
> cake version 1.2
what version of cake are you using? if its 1.2 then you use the .ctp
file, if earlier then you can use the .thtml file
On Sep 17, 2:33 pm, introvert <[EMAIL PROTECTED]> wrote:
> Hello
>
> I have recently started learning cakephp and came around swfupload
> component for cakephp available
> here:
I got this to work on my vista machine but I didn't use the direct
file name in the path, just try
C:\xampp\php; C:\xamp\htdocs\testsite\cake\console
It works like a charm for me
On Sep 17, 9:25 am, gabriel <[EMAIL PROTECTED]> wrote:
> hi, I would like to know if anyone can help me..
> I am try
Is this real? Everything points to being a joke to me. . . I don't see
any real world code . . . .
On Sep 17, 3:32 am, Wojciech <[EMAIL PROTECTED]> wrote:
> Hey bakers!
>
> Did you see one?
>
> http://www.cakeonrails.co.uk/
--~--~-~--~~~---~--~~
You received this m
check out the manual for debugging and logging
http://book.cakephp.org/view/155/Debugging
http://book.cakephp.org/view/157/Logging
also . . .firebug with firephp is a great tool!
On Sep 12, 6:06 pm, "Luiz Poleto" <[EMAIL PROTECTED]> wrote:
> Hello guys,
> I was wondering whether it's possible t
is this a normal html link? then => echo $html->link('My Link', '/
your/view');
On Sep 12, 11:57 am, "Siegfried Hirsch" <[EMAIL PROTECTED]>
wrote:
> Use something like this:
>
> $this->element('your_element');
>
> On Fri, Sep 12, 2008 at 5:45 PM, gabriel <[EMAIL PROTECTED]> wrote:
>
> > I would
$html->image('funny.gif); <--- that creates a image tag with
'funny.gif' as the src . . . . enjoy
You can find more examples in the manual -> http://book.cakephp.org/
Searching this group and the world wide internets
On Sep 11, 5:05 am, akhilesh <[EMAIL PROTECTED]> wrote:
> hai all i am new for
$html->input(); --- that creates a textbox. enjoy
You can find more examples in the manual -> http://book.cakephp.org/
Searching this group and the world wide internets
On Sep 11, 5:05 am, akhilesh <[EMAIL PROTECTED]> wrote:
> hai all i am new for cake but i want to learn cake i want some simp
could you post some of the errors you're getting? that could help us,
help you.
On Sep 10, 7:02 pm, gabriel <[EMAIL PROTECTED]> wrote:
> Hi, all. I have been reading a book by APRESS, called 'Beginning
> CakePHP from novice to Professional' in it, it says that if you have
> installed cake, and ge
yes . . .just as john said . . .its $form->input.
On Sep 10, 9:22 am, John David Anderson <[EMAIL PROTECTED]>
wrote:
> On Sep 10, 2008, at 1:35 AM, nayan wrote:
>
>
>
> > I am using cake 1.2 .When i use "echo $html->input('FanType/
> > fantype_name')" in my form.it give me the following error
> >
can we still talk about chocolate cakes?
On Sep 9, 12:19 pm, mark_story <[EMAIL PROTECTED]> wrote:
> On Sep 9, 12:28 am, Navin <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > My Name is Navin from a business family doing bakery business,,
> > I am looking for expansion of my business. Any experirnced
All you have to do is read the manual and run through the blog
tutorial. It will get you started. If you have complicated questions,
then ask here but not before you research them yourself. Google knows
all . . . plus search this group and check out #cakephp on
irc.freenode.net.
On Sep 9, 9:52 am
one word . . . .xampp.
for xp, it is the beez kneez . . .
set up is easy and everything is done for you. apache, mysql,
php . . . .then edit the httpd.conf to add a virtual host.
i run many development sites from this configuration
On Sep 8, 8:09 pm, Pittore <[EMAIL PROTECTED]> wrote:
> I have
If its Cake 1.2 then its a default.ctp file. . . .right?
On Sep 8, 2:56 pm, "Ranjana Sriavastava" <[EMAIL PROTECTED]>
wrote:
> default.thml page created under Views.
>
> On Mon, Sep 8, 2008 at 9:57 PM, gabriel <[EMAIL PROTECTED]> wrote:
>
> > Hi, I am new to cake and are really frustrated with
cakephp and tomorrow
> deadmin of my project. so i have not tims for more R & D that time .
> no other option instead ask to another person.
>
> On Sep 5, 11:05 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
>
> > Listen Ranju . . .you have to read the manual and just search
Listen Ranju . . .you have to read the manual and just search in this
group to find your answers. It doesn't sound like you're doing that.
All of your questions can easily be found by reading the manual and
searching blogs. As a developer, you can't expect everything to be
handed to you unless you
The blog tutorial will get you started along with reading the manual.
On Sep 5, 2:33 am, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> Theres a book or two on amazon.
>
> Also read book.cakephp.org
>
> the only good
>
> > looking information I can find is on the IBM site and on the cakephp
>
> AFAI
You have to enable mod rewrite in your httpd.conf file . . .
this part -> 'LoadModule rewrite_module modules/mod_rewrite.so'
Just un-comment that and you should be good to go.
On Sep 4, 11:45 am, Sackjounas <[EMAIL PROTECTED]> wrote:
> Hello friends
>
> the question is,
>
> I'm new with cakephp
Cakephp doesn't have a built in "Forget Password". . . .you have to do
custom programming to get that.
On Sep 3, 12:47 am, "Ranjana Sriavastava" <[EMAIL PROTECTED]>
wrote:
> I also do that custom programming. I want know which typpe do that with
> cakephp.
> secondly i want implement captcha wi
Here is a few links I found. . . .haven't tried them yet . . .
http://www.littlehart.net/atthekeyboard/2007/03/13/how-easy-are-web-services-in-cakephp-12-really-easy/
Behavior: http://bakery.cakephp.org/articles/view/webservice-behavior
These should, at least, get you started . . .the google do
cake has a built-in template system . . . .why change it? Seems like
more work if you're using the framework anyways.
On Sep 3, 4:54 am, mariuz <[EMAIL PROTECTED]> wrote:
> In views i can use smarty or fasttemplate or any other template
> language but i'm not quite atracted about any of
> themht
the google does wonders
On Sep 2, 1:29 pm, "Ranjana Sriavastava" <[EMAIL PROTECTED]>
wrote:
> I am new with cakephp. I want implement captcha in own site but i am unable
> to implement captcha. pls hep me.
--~--~-~--~~~---~--~~
You received this message because you
you need to read the manual . . .this stuff is easy . . .i will give
you a hint though . . .$this->Model->find('list') . . .oh . . .see
what i did there . . .sneaky.
Good luck on figuring this stuff out. its all really simple. didn't
take me long. reading the manual . . .the google . . . drinkin
You'll have to read the manual -> http://book.cakephp.org/
Run through the blog tutorial to get your started ->
http://book.cakephp.org/view/219/blog
Nobody is going to provide you step-by-step here, when step-by-step
can be achieved by using the google, reading the manual, blogs,
searching this
This is how i do it . . .in the model . . .
var $useTable = false;
works perfectly for me.
On Aug 27, 5:50 pm, "Abrar Arshad" <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 27, 2008 at 12:53 PM, BiraRai <[EMAIL PROTECTED]> wrote:
>
> > How to does one tell cakephp controller not to use a database ta
yea . . . this was actually asked 5 days ago. the search box is an
amazing tool. . . .
http://groups.google.com/group/cake-php/browse_thread/thread/e77705247cfb0d44/bb04ce1ecdc1b217#bb04ce1ecdc1b217
On Aug 25, 9:30 am, "Astha Shukla" <[EMAIL PROTECTED]> wrote:
> Hi,
> Could any one please teach
This tutorial helped me a lot! ->
http://www.keithmedlin.com/2008/01/cakephp-12-file-upload/
It moves the files on the server and also creates a db record . . .
I modified the section in the model that gets the path and moves the
file to reflect the directory structure i wanted . . -> WWW_ROOT.
I got my xampp and cakephp to work perfectly with vista. I didn't have
to change anything in my .conf file except to un-comment the
mod_rewrite module. granted I also have several virtual sites set up
for all my projects. . . .but it works right out of the box. like the
other richard said, make su
56 matches
Mail list logo