Re: Blog Tutorial

2007-12-29 Thread gobblez
Perhaps the official tutorial should be un-deprecated? Maybe add comments where people can chime in, php.net or Bakery style? Would it really take more than 20 minutes to update it or move it to the Bakery (so people can add updates to the same page without the author lifting a finger) and chang

Re: Thoughts for a cake "application boilerplate"

2007-11-23 Thread gobblez
I've been working on something similar, though not as featured (by default) as yours. I was calling it skeletor, because it is bare bones, yet has everything that 90% of my sites will need, and from there I can add on the differences. Nearly every site worthy of a framework will probably have us

Re: To use a open source Auth system or not

2007-09-09 Thread gobblez
I liked obAuth too. It was simpler than the others seem to be. I took out the groups feature it had, and made a few small modifications, and added a few functions that made it easier to compare things (like 2 passwords when registering). I figured why bother having groups/ levels; you're either

1.2 validation - This field cannot be left blank

2007-02-17 Thread gobblez
Hello, in the latest 1.2 SVN, I can't get validation to work. Well, it is working, the empty fields are being flagged as they should be for not meeting cake's regex constants, but my tagErrorMsg definitions aren't spitting out their messages. I did a search, and found it on line 1685 of model.p

Re: Bake closes too fast to read error.

2007-02-17 Thread gobblez
Thanks for the help guys. This helped! On Feb 6, 3:21 pm, "NOSLOW" <[EMAIL PROTECTED]> wrote: > I've setup a couple of command files on my WinXP machine so that I can > click on a Cake icon in my Quicklaunch toolbar and have a bake window > display that runs in an endless loop. This makes it rea

Bake closes too fast to read error.

2007-02-05 Thread gobblez
Hello, I don't have much command line experience (I like clicking nicely labeled things). But I've been trying to work bake. It seems to work, like it will create the app folder with structure in it, but when I get to the other stuff, like M V C, it will ask a question about validation and the w

Re: idea: trace things into a log window

2007-01-29 Thread gobblez
I added some more features and cleaned the code a bit. Fixed an error that happens when a backslash is in the string; just leaned the slashes the other way. Added an option to just show the log errors without the tree sorting. Made it easier to hide info you don't want to see without breaki

Re: idea: trace things into a log window

2007-01-27 Thread gobblez
could do it though, hehe. On Jan 28, 2:36 am, "NOSLOW" <[EMAIL PROTECTED]> wrote: > Nice work, gobblez! Very streamlined, efficient and commented nicely. > It was a breeze to install in my project. Thanks for sharing! > > Just had one tweak to make since I didn't ha

Re: idea: trace things into a log window

2007-01-27 Thread gobblez
Thanks all for the advice and tips. I ended up using some of NOSLOW's code, and getting it to work with Firebug instead of printing to the page. Firebug sorts the arrays nicely, with the [+] tree level thingys and such. http://bin.cakephp.org/view/591087419 --~--~-~--~~

idea: trace things into a log window

2007-01-19 Thread gobblez
In Macromedia Flash, you can add trace("blah"); throughout your code to echo things during development testing. When you compile your SWF and preview it in flash, a log window pops up displaying the things that you are tracing, like the current value of a variable. I'm curious, could something

obAuth errors

2006-11-05 Thread gobblez
I'm getting errors with the obAuth component. Notice: Undefined property: UsersController::$User in C:\Program Files\xampp\htdocs\app\controllers\components\ob_auth.php on line 39 Fatal error: Call to a member function find() on a non-object in C:\Program Files\xampp\htdocs\app\controllers\compo

my first association

2006-11-05 Thread gobblez
I've been reading the manual and have been trying to get the obAuth working that I found in the Bakery. I have "Users", and they can belong to one "Group". Then a "Group" can have many "Users". This is a summary of my DB tables and fields: users --- id | email | password | group_id | creat

my first association

2006-11-05 Thread gobblez
I've been reading the manual and have been trying to get some user authentication going. I have "Users", and they can belong to one "Group". Then a "Group" can have many "Users". This is a summary of my DB tables and fields: users --- id | email | password | group_id | created | modified

Re: HOW TO_ make www.example.com/username

2006-11-04 Thread gobblez
Check out this article http://bakery.cakephp.org/articles/view/86 Be sure to read the comments to that article. Someone placed an alternative route example, and that worked better for me, because I had admin routes enabled. Couldn't get the method in the article to work with admin routes. --~

Re: Blog Tutorial vs Screen cast (confused?)

2006-10-21 Thread gobblez
bake.php is some sort of command line script that the windows user in me is trying to avoid. But I think it has a wizard type thing in your web browser too, at least I remember something like that somewhere. I think it's easier to just make the classes yourself, because you have to go check what

form on pages problem

2006-10-14 Thread gobblez
I have a form on the home page... /pages/home.thtml it's action is /urls/add and method is post the name of the input field in this form is "full" When I submit the form, $this->data inside the urls_controller's add() function is empty. What am I doing wrong? I need to get what the user typed i

create variable in app_controller - then use it in another controller or view

2006-10-08 Thread gobblez
I set a variable in app_controller. Now I want to use that variable in another controller. How? I tried lots of variations, such as the $this-> thingy, gobal, $GLOBALS[''], set(), var, etc This is the variable i want available to all controllers and views: $ses = $this->Session->read('User');

SSL, accepting payments, and automatically doing something

2006-04-28 Thread gobblez
I plan on building a website that accepts payments, and upon the payment being successful, the website knows this, and grants them the privilage they paid for on the site. Don't want to get into specifics of my project, lets just say, for example, they are posting classified ad, and each ad costs

Re: lurking for controler

2006-04-07 Thread gobblez
I saw your wiki post. I get an error from the helper on line 41, ' ; ' unexpected semicolon. Not sure why, I just copy and pasted. Also i see you use this function, _getControllerName($Menu[0]). but I can't see you defining it anywhere, and didn't find it anywhere in the cakephp.org/search as a

Re: lurking for controler

2006-04-06 Thread gobblez
I found it, the paste above got messed up because a ); on at the end of the link! I have a few questions... What does this mean? Can you tell me what it is doing? What is &$this? and where it says "name" below, what does that equal (and how did it get set)? You also used $beforeFilter. I co

Re: lurking for controler

2006-04-06 Thread gobblez
Hi, the cakebin paste is gone. Can anyone help? I need the same thing, add a class="active" to the correct menu item, depending on what the current page is. Or what was last clicked. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Ajax -> Lightox

2006-04-05 Thread gobblez
I use his lightbox script too, it's great :-) It's got quite a cult following. --~--~-~--~~~---~--~~ 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 uns

Re: Creating zip file on the fly

2006-04-04 Thread gobblez
Can I suggest an introduction being added, with example uses? How it works? And what to name the file that you place your zipComponent class in (and where). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PH