Re: New Cake FAQ

2007-03-11 Thread Adrian Maier
On 3/10/07, Sam Sherlock <[EMAIL PROTECTED]> wrote: > > 1: Make a Hello World Application. > > Yep and perhaps the title should be > > "We knew you were coming so we baked a cake!" Such titles could be misleading for a beginner , in my opinion :) Perhaps the FAQ could include these questions a

Re: Problem Redirecting to Servlet

2007-03-11 Thread Chris Lamb
"Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > This issue was solved some time ago: > > https://trac.cakephp.org/ticket/2060 I looked at the API docs[0] which is currently at 1.1.113.4450, whilst the above ticket was fixed in 1.1.113.4462. Sorry for the confusion, I assumed a.c.o would be up t

RE: Problem Redirecting to Servlet

2007-03-11 Thread Mariano Iglesias
What CakePHP version are you using? This issue was solved some time ago: https://trac.cakephp.org/ticket/2060 -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and shar

Re: CMS: How to set pages to have 'parents'?

2007-03-11 Thread double07
Hi all, I just wanted to re-visit this again. I've come back after a couple of weeks break to attempt to finish this project, in particular the 'parent' select list which needs to be indented (for ease of use). Now I found what I thought was the perfect bit of code by 'Othy' here: http://othy.wor

Re: How to hide preceding s when $ajax->link button is clicked

2007-03-11 Thread skyblueink
Thanks, Kjell! On 3월12일, 오전12시23분, "Kjell Bublitz" <[EMAIL PROTECTED]> wrote: > Give the "view" divs a class... lets say "view" > > > Then you can go like this: > $$('.view').invoke('hide'); > > thats it :) > > On 3/11/07, skyblueink <[EMAIL PROTECTED]> wrote: > > > > > > > > > //index.thtml > >

Re: Page not refreshed after $this->redirect

2007-03-11 Thread Chris Lamb
"Adrian Maier" <[EMAIL PROTECTED]> wrote: > The problem is that the page is not refreshed, and the deleted record > is still visible until i click the browser's "Refresh" button. This[0] is probably what you want. Regards, -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9

Re: Problem Redirecting to Servlet

2007-03-11 Thread Chris Lamb
"g" <[EMAIL PROTECTED]> wrote: > How do I do it so it doesn't automatically append the base URL of the > cake app? I don't believe it is possible - Controller:redirect will always prefix the URL with the FULL_BASE_URL constant. Try: if (function_exists('session_write_close')) { session_

Problem Redirecting to Servlet

2007-03-11 Thread g
Hi. I have a problem with cake's redirect formatting the url. The problem is I uploaded an excel file. I have a servlet to process the excel file. Now after uploading the file I redirect my app to the servlet using: $this->redirect("http://localhost:8080/SMSUploadServlet";); Unfortunately it red

Re: Cake Recipes cancelled

2007-03-11 Thread Jon M.
Mullet I believe what he meant was you can not advertise that you will develop a CakePHP app for money or your company will develop a cakephp for commercial use and sell it. Please correct me if I am wrong. I have dealt with some trademark issues lately with a company I am working with for my empl

Re: Account Parameter

2007-03-11 Thread Felix Geisendörfer
Try this: $account = substr(FULL_BASE_URL, 0, strpos('.', FULL_BASE_URL)); -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de [EMAIL PROTECTED] wrote: > Applications like Basecamp and Backpack use the account name in the > url - specifically a subdomain lik

Re: Account Parameter

2007-03-11 Thread Walker Hamilton
Yeah, you can capture the subdomain, someone else asked the same question recently here: http://groups.google.com/group/cake-php/browse_thread/thread/aa65e794df4e064a?hl=en Search the group before asking questions! On Mar 11, 12:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Applicatio

Re: Cake Recipes cancelled

2007-03-11 Thread Mech7
No book :( i hope there still will come one as the manual is pretty skinny on information :( --~--~-~--~~~---~--~~ 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@googlegrou

Re: Cake Recipes cancelled

2007-03-11 Thread nate
The Mullet, I'll ask gwoo to expand on this at his leisure, but you seem to have a fundamental misunderstanding of the difference between trademark and copyright. On Mar 11, 12:02 pm, "The Mullet" <[EMAIL PROTECTED]> wrote: > > @Mullet > > Trademark and Copyright are two seperate issues. The MIT

Account Parameter

2007-03-11 Thread [EMAIL PROTECTED]
Applications like Basecamp and Backpack use the account name in the url - specifically a subdomain like account.backpackit.com or account.projectpath.com. Does Cake let you capture this subdomain in your app? I'm sure it involves some httpd.conf settings, but is it ultimately available in Cake t

Re: Cake Recipes cancelled

2007-03-11 Thread The Mullet
> @Mullet > Trademark and Copyright are two seperate issues. The MIT license > covers the copyright on the code. gwoo, I would like to cite your very words from another thread: >But you cannot use the CakePHP logo or name to promote your web >development company or your services, unless you are

Re: include another model's view

2007-03-11 Thread gerbenzomp
Hey AD7six, I've been working hard to try and get your example code to work (http://www.noswad.me.uk/MiBlog/MiniControllers), but being fairly new to cake, I guess I got stuck because I've jumped from the basics to something more advanced. I thought if I would get your archive example to work, I

RE: Bad Request

2007-03-11 Thread Mariano Iglesias
Set DEBUG to 0 on app/config/core.php -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar --

Re: How to hide preceding s when $ajax->link button is clicked

2007-03-11 Thread Kjell Bublitz
Give the "view" divs a class... lets say "view" Then you can go like this: $$('.view').invoke('hide'); thats it :) On 3/11/07, skyblueink <[EMAIL PROTECTED]> wrote: > > //index.thtml > > > link('FAQ/HELP', '/books/faq', array('update' => > 'faq')); ?> > > for ($i = 0; $i < 10; $i++){ > $view

Re: Bad Request

2007-03-11 Thread Mech7
Ok it looks like it is finally working, how do i reroute the cakephp messages to a 404 page btw when something is not found like: http://www.mech7.net/tmp/portfolio/test I get a cakephp error is there a way to disable those and show a 404 page ? On Mar 11, 12:04 pm, "Mech7" <[EMAIL PROTECTED]>

Re: Lightbox + Cake

2007-03-11 Thread Dr. Tarique Sani
On 3/11/07, Mech7 <[EMAIL PROTECTED]> wrote: > > When i try this i get an error like this? > > http://img88.imageshack.us/img88/5099/77614616od5.png > > I don't know any javascript so don't exactly know how to fix this :( Somehow this got missed - I have used Lightbox PLus in Cheesecake - feel fr

Re: dAuth: Login form on all pages

2007-03-11 Thread [EMAIL PROTECTED]
So the problem lies in $this->controller, inside the component. This object should be set in the components startup function, which is called at the initialization of the component. Did you change something related to that function? Also, $salt is not known inside your controller, it's a variab

Re: Cake Recipes cancelled

2007-03-11 Thread Darian Anthony Patrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sonic Baker wrote: > How much of the book was actually written? History of cake and all that > stuff aside, of the technical content that was written, would it be of > use to the community or in educating new potential bakers. It seems to > me from re

Re: Lightbox + Cake

2007-03-11 Thread Mech7
When i try this i get an error like this? http://img88.imageshack.us/img88/5099/77614616od5.png I don't know any javascript so don't exactly know how to fix this :( On Mar 4, 1:42 am, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > > > I have managed to get lightbox working in cake but had to set t

RE: Bad Request

2007-03-11 Thread Mariano Iglesias
What is this supposed to be?? Cashmakerclicks? I say it once again: LET ALL SPAMMERS BURN IN HELL -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your kno

RE: Details about Cake PHP

2007-03-11 Thread Mariano Iglesias
Juna you need to understand this: The same way you may consider rude that someone answers you like that, some people (myself included) consider very rude when someone comes in and seems to demand help without giving a minimum sign that at least he looked at an answer for himself. -MI --

Re: New Cake FAQ

2007-03-11 Thread Jon Bennett
> Don't use $this->ModelName in AppController::beforeFilter() as this > method is called also when cake is rendering error page (404 in > production and +various other in development) an in this case models > aren't attached. good point. an alternative would be to place this inside beforeRender(

Re: Bad Request

2007-03-11 Thread Mech7
I got the frontpage working sort of with this.. http://bakery.cakephp.org/articles/view/132 Only i have no css / images and links does not work anymore :( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: New Cake FAQ

2007-03-11 Thread jitka
Don't use $this->ModelName in AppController::beforeFilter() as this method is called also when cake is rendering error page (404 in production and +various other in development) an in this case models aren't attached. function beforeFilter() { loadModel('Cat'); $Cat =& new Cat(); $thi

How to hide preceding s when $ajax->link button is clicked

2007-03-11 Thread skyblueink
//index.thtml link('FAQ/HELP', '/books/faq', array('update' => 'faq')); ?> "; options = array( 'update' => "$view", 'url' => "/books/lister/?id=$i, 'type' => 'asynchronous', 'loading' => "Element.hide($view);", 'complete' => "Effect.Appear($view);" ); echo $javascript->event('window

Re: Bad Request

2007-03-11 Thread Mech7
http://www.mech7.net/tmp/portfolio/ Here you can see the site btw.. it's actually 2 subdir's --~--~-~--~~~---~--~~ 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@googlegro

Re: New Cake FAQ

2007-03-11 Thread Jon Bennett
> Q. How do I create navigation / links based on the entries in a > database? > In the cats controller: > function navigation() > { > $this->Cats->recursive = 0; > $this->set('navdata', $this->Cats->findAll(null, array('name', > 'id'))); > $this->render(); > } > > In the na

Re: New Cake FAQ

2007-03-11 Thread Daniel Hofstetter
@haj: You can open doc tickets on https://trac.cakephp.org -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-