How about centrally located (St. Louis or Chicago)?
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com.
CTED]> wrote:
>
> > Very nice.
>
> > I imagine that you get some decent traffic there?
> > Any chance you could share some numbers, experiences and how cake is
> > holding up?
> > Maybe a little case study?
>
> > On Oct 28, 11:33 am, Walker Ha
raffic there?
> Any chance you could share some numbers, experiences and how cake is
> holding up?
> Maybe a little case study?
>
> On Oct 28, 11:33 am, Walker Hamilton <[EMAIL PROTECTED]> wrote:
>
> > I just thought I'd let the cakePHP community know that cak
and how cake is
> holding up?
> Maybe a little case study?
>
> On Oct 28, 11:33 am, Walker Hamilton <[EMAIL PROTECTED]> wrote:
>
> > I just thought I'd let the cakePHP community know that cakePHP is
> > powering a site and a "utility" service at the
>
> On Oct 28, 4:43 pm, Nate <[EMAIL PROTECTED]> wrote:
>
> > Hey, very cool. You should submit this to the Cookbook's "In the
> > Wild" page.
>
> > On Oct 28, 11:33 am, Walker Hamilton <[EMAIL PROTECTED]> wrote:
>
> > > I
I just thought I'd let the cakePHP community know that cakePHP is
powering a site and a "utility" service at the Barack Obama website. I
built both of these.
Here's the site: http://radar.barackobama.com/
The utility service isn't anything to look at, but let's just say,
it's provided some much
you need to read this:
http://book.cakephp.org (especially the models part).
Your belongsTo and hasOne forum keys are wrong.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, s
Router::connect('/browse/:state/:city/*', array('controller' =>
'browse',
'action' => 'index'));
Then $this->params['state'] & $this->params['city'] should be
available.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
digital web
http://www.digital-web.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-php@googlegroups.com
To unsubscribe from this group, send email to [E
you put var $helpers = array('Parser'); in the
locations_controller.php file, yes?
If you're calling the helper from the view as $parser->blah. Fine. It
should work.
If you need to call it from the controller (which I think you're
doing, as your ---.php tells me it's not a view template) you nee
Use rewrite rules in htaccess instead.
RewriteRule ^index.php?articleid=([0-9]+)$ /articles/view/$1
[R=301]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, sen
@Derico Filho
Uhh...you're wrong. You can just drop any of the Zend libraries into
the vendors folder.
For instsance, I used the tutorial in the bakery on Zend's Lucene
implementation to help me get it integrated into a subscription-based
product I launched.
it's a cakePHP site & service wi
It depends, if we want to make the app portable, we stick with the php
4 compatibility.
It we're building a custom app that will only end up in one place or
used by a single entity, we stick to the version that is in use within
that environment.
To me, the question you ask does not need to be.
-
Could anyone give me a tutorial or point me towards some information
that would help me figure out how to read from Configure in a helper?
I tried just calling Configure::read('MyProperty.subproperty');
And then I tried the uses('configure') && uses('Configure'), neither
of which made the Config
Read this:
http://cakebaker.42dh.com/2007/10/30/what-i-didnt-knew-about-controllers-without-models/
--~--~-~--~~~---~--~~
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@goog
For this: http://portfolio.colum.edu
We did this: Router::connect('/:sitename/', array('controller' =>
'public', 'action' => 'template', 'prefix'=>'public'));
Which...in the controller, you can echo out $this->params['sitename']
to get the ":sitename", which in our case was a student's url.
--~-
But how do you keep the prefix from cascading down to following routes?
--~--~-~--~~~---~--~~
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 f
parent::afterFilter();
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
F
Here, better: http://code.google.com/p/cakegchk/
--~--~-~--~~~---~--~~
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
The bakery is not sending Password Reset or New Account emails.
I can only assume that the comment notification emails are not working
either.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To pos
Here's my start to a component. There will eventually be an extended
API section and a helper to go along with this, as I am actively
working on 3 projects that will be useing and are using google
checkout.
Here's the first one: http://xerophyte.net
http://code.google.com/apis/checkout/samplecod
Have you heard of Capistrano? ( http://capify.org )
It's good. Don't re-invent the wheel.
--~--~-~--~~~---~--~~
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
I added Digital Web Magazine to the Cake Apps/Sites in The Wild Page
Click on
http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild?hl=en
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--~~
You recei
Heya,
Don't use that anymoreyou're using cakephp 1.2 (latest) do this:
../cake/console/cake bake
this command will work from the root of your app/ directory if
cake core is on the same level as your app dir.
--~--~-~--~~~---~--~~
You received this messa
Awesome. Simply awesome.
Thank you.
--~--~-~--~~~---~--~~
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
no problem!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more o
You have one table (that looks like it was already made...or you just
chose terrible column names) and a vague description of an
application.
This is a cakephp help group...
http://slash7.com/articles/2006/12/22/vampires
--~--~-~--~~~---~--~~
You received this me
Zoe,
CakePHP doesn't really support enumthis is because some of the DBs
that cakephp was made to work with do not support it.
Instead use: tinyint(1)
Then the cake checkboxes will work auto-magically!
--~--~-~--~~~---~--~~
You received this message because
put:
var $uses = array('User', 'Category');
...at the top of your users_controller class
--~--~-~--~~~---~--~~
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
He's right.essentiallyyou copied your app/tmp/ folder to your
server & set DEBUG to 0.
You can set DEBUG to 2 and run the app and the files in /tmp will all
be replaced with proper paths, etc for the new system.
Then set the app back to DEBUG 0 (in core.php)
--~--~-~--~~
p.s.
I'm running my MAMP install on the default ports, which alleviates
alot of headaches.
--~--~-~--~~~---~--~~
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@googlegroup
You're setting the port in database.php in the config folder of your
app, correct?
If you're baking (via terminal) you can use the following script to
get OS X's built-in php to use MAMP's mySQL install:
cd /tmp
ln -s /Applications/MAMP/tmp/mysql/mysql.sock mysql.sock
uas long as it's a
I don't know why you're requesting an action from beforeFilter.
If you request mini_view in the URL, the beforeFilter will run & then
miniView will run (if the redirect doesn't occur).
Alsoin 1.2 y (I have no clue about 1.1) you can make your redirect
statements all one line:
$this->redirec
On Jul 16, 6:19 am, Thierry <[EMAIL PROTECTED]> wrote:
> why aren't you using symfony
because symfony looks like a java programmer threw up a php
application.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cak
Look into the beforeFilter function.
You can do a redirect in it if the person is trying to access a
controller they should not be.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
ch AppController.
>
> Ketan
>
> Brian wrote:
> > Ah, I see now. Thanks for spelling that out for me. It works quite
> > well :)
>
> > So parent::beforeSave() essentially tells the model to use the
> > beforeSave callback?
> > Walker Hamilton wrote:
> &g
]> wrote:
> I'm still a little confused.
>
> So I keep what I have right now ($this->data[) in my beforeSave()
> and then do what?
>
> Walker Hamilton wrote:
> > you shouldn't need to create a hidden field called 'name'.
>
> > just do th
you shouldn't need to create a hidden field called 'name'.
just do the assignation in beforeSave.
you need to make sure your beforeSave in the model returns
parent::beforeSave
On Jul 5, 12:19 pm, Brian <[EMAIL PROTECTED]> wrote:
> Here's a quick synopsis of the scenario: There's a menu, which h
If you've done a default install of cakephp on your local machine and
css is not working, check a couple things:
1. do you have mod_rewrite active?
2. which index.php page is getting loaded?
/cakephp_xxx/index.php
or
cakephp_xxx/app/index.php
On Jul 3, 7:24 am, Harro <[EMAIL PROTECTED]> wrote
everything for form will be an option on input from now on (for the
most part.)
why would it come back
most of those options are just wrappers. do you know how to read php
code?
do you know how to read the english language? Did you not read what I
wrote regarding the API?
--~--~-~
Mech7: use form->input('published', array('type'=>'checkbox'));
As for the hidden hidden input, as of the currently live API docs
here: api.cakephp.org/1.2, there is no way to turn off the hidden
field.
--~--~-~--~~~---~--~~
You received this message because you
GO read this again: http://manual.cakephp.org/chapter/models
And then create a join table called communities_students
Then change your community table's name to "communities".
Then do a hasAndBelongsToMany definition in your student and community
models.
Than read this _again_: http://manual.c
On Jun 29, 12:43 pm, "Allen Romero" <[EMAIL PROTECTED]> wrote:
> For some reason, if there are multiple fields with the same name (as
> in the example you gave) the post still only shows the value for the
> last field (in this case Women) and disregards any previous values for
> that field.
>
>
Also:
Issue belongsTo (not hasMany)
Ketan is correct on the Language & Country classes
--~--~-~--~~~---~--~~
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.
Yo.value is incorrect. Checkboxes do not have value they have
checked (on/off) and they have "name" - which in this case would be
"men" or "women"
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group
Ohin the meantime, read this:
http://cakebaker.42dh.com/2007/01/03/validation-with-cakephp-12/
--~--~-~--~~~---~--~~
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@goo
The biggest issue is that the validation class is not finished. May of
the options and items within the class are placeholders or never get
called
I've decided that improving the validation class should be my next
project...so I'm going to see what I can do over the next week.
--~--~---
Found it:
http://bakery.cakephp.org/articles/view/brief-overview-of-the-new-emailcomponent
--~--~-~--~~~---~--~~
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@googlegroup
the new 1.2 has an email component built-in...
there's a tutorial in the bakery
--~--~-~--~~~---~--~~
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
shorten the string that's there
--~--~-~--~~~---~--~~
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 [EMA
If you'd been around here when someone tries to write the last
book.you'd know that everyone who knows enough & isn't on the core
team is somewhathesitant to take this cause up.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
You're on google. I'm surprised that you haven't discovered google's
main feature. It's "search".
This topic _has_ been covered before.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to t
uhh..also, you could have misplaced the .htaccess files when you moved
everything over
mohan wrote:
> i have installed and configured cake php successfully in xampp under
> the folder htdocs\cake
> i got the following message also
>
> Your database configuration file is present.
>
> Cake is
look into using the form->input function. (
http://api.cakephp.org/1.2/class_form_helper.html#83ef190e216e07fb0a77acc9014bb90d
)
'type'=>'select'
'options'=>$optionsArr
then in your controller make optionsArr using generateList (
http://api.cakephp.org/1.2/class_model.html#27ff9de8aaff38950bee5f
function beforeFilter()
{
$level_check = $this->othAuth->group('level');
if (!empty($level_check))
{
$this->level = $level_check;
} else {
$this->level = 0;
}
}
then in y
I love this one: $this->NameOfModel->id = $id;
$telephone = $this->NameOfModel->field('tel');
didn't know about it until you mentioned it.I guess I still don't
completely understand the stateful-ness of the Model instances...
On May 18, 11:57 am, AD7six <[EMAIL PROTECTED]> wrote:
> On May 1
Yeah, go to your production servers and find /app/tmp/cache/persistent
and you'll see whypartially.
Really, you should be able to just clean the cache (models,
persistent, views) out and you'll be fine just dropping in new files.
On May 18, 11:43 am, merlin <[EMAIL PROTECTED]> wrote:
> Hi Al
yeah, he wouldn't do it that way because he's doing it over two DBs.
I think he'll run into problems with thatcake's not really set up
to let that happen easily.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "
Hi.I'm doing it for languages.
App Controller:
'English', 'ar'=>'Arabic',
'es'=>'Espanol', 'de'=>'Deutsch', 'lt'=>'Lithuanian',
'fr'=>'Francois');
var $components = array('Cookie', 'LanguageDetection');
var $cookieName = 'REMEMBERMEAPPARES';
var $cookieKey = 'ds
yes, make sure your controller's function has standard php method of
making a variable optional.
On May 7, 9:47 am, Enchy <[EMAIL PROTECTED]> wrote:
> Oh nvm I discovered the set function.
>
> But now I have another problem , it blurts out an error if I dont send
> a variable.
> Does anybody have
Start by using these two functions:
function beforeSave()
{
//manipulate data being saved for your model, here.
//go back up to the parent beforeSave function
return parent::beforeSave();
}
function beforeFind($queryData)
{
//add conditions or or other query info
Try beforeFind in your app_model, not app_controller.
I think you're looking for something similar to what I wrote about
here: http://walkerhamilton.com/456/global-query-conditions
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On Mar 30, 9:03 am, "jonathan.snook" <[EMAIL PROTECTED]> wrote:
> I hear this argument repeatedly, about using the short form, but why
> would it not be enabled? What has been the percentage of people that
> have actually had a problem with using the short form?
You'd be surprised. People tending
do so.
SoI arrived at the right conclusion for the wrong reasons on my
last reply. Still, you should try my suggestion of just
$useTable=false in your model rather than $uses=null in your
controller.
On Mar 18, 4:52 pm, "Walker Hamilton" <[EMAIL PROTECTED]> wrote:
> Okay
gt;
>
>
>
>
> app_controller.php:
> class AppController extends Controller {
> var $uses=array('MenuItem');
>
> function beforeFilter() {
> parent::beforeFilter();
> $this->set('menuElement', $this->
Maybe try DH's testing suite for Cake 1.2 ?
http://cakebaker.42dh.com/2006/12/18/testing-with-cakephp-12-a-preview/
he's got instructions.
On Mar 18, 12:58 pm, "Dat Chu" <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Does anyone know how to go about running a unit test case / suite in
> 1.2 . I
This is not a cakePHP problem so much as a programming issue. If you
learn how to hash md5's using php, you'll be able to do them in cake.
On Mar 18, 12:12 pm, "billybob" <[EMAIL PROTECTED]> wrote:
> Hi -
>
> I'm using cake's MVC approach which works really great. I like the
> ability to use the
On Mar 18, 12:59 pm, "LSL" <[EMAIL PROTECTED]> wrote:
> There is no solution? Please, CakePHP seems very cool but this is a
> problem...
>
There is a solution, but you are not providing enough information for
us to help you solve it.
Dijize was correct in his instructions provided to you, but so
I have always looked at it like this: You will pay more per hour for a
good programmer (no matter the tools they are using). You will end up
paying the same amount for a not-so-good programmer because they will
take much longer to produce the same thing that the expensive (and
hopefully, good) pro
This isn't a cakePHP problem. It's a problem with your php setup.
Go ask on the php list.
ButI bet if you search real hard using this site I found recently
called "google" you'll figure out how to edit your php.ini file to
point to the right place.
On Mar 14, 6:38 pm, "peterhf" <[EMAIL PROTE
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
> Should I report it?
no.
no db I know of defaults to starting an auto_inc field with 0
--~--~-~--~~~---~--~~
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.c
HellI would think that you could make cakePHP, itself, part of
your thesis. Figure out what you could build or implement that is on
the timeline for cakePHP but is not even started and then do it
yourself. Wouldn't that count?
Seems like a Googe Summer of Code thing...
--~--~-~--~--
no no nothe models cache. models are cached in the folder xhoch2
gave if the debug level is set to 0.
On Mar 5, 1:57 pm, "mehodgson" <[EMAIL PROTECTED]> wrote:
> We are only caching Static pages, so none of the dynamic pages are
> cached. Would the models be cached regardless?
>
> On Mar 5,
Yes, just do "LogError('Something about the error as a string');"
On Feb 7, 1:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've been looking for this in the bakery and on the groups search, but
> to no avail...
>
> Is there a global error logging feature? My app is in production, but
>
, 4:17 pm, "Lance Willett" <[EMAIL PROTECTED]> wrote:
> On 2/3/07, Walker Hamilton <[EMAIL PROTECTED]> wrote:
>
>
>
> > I launched a small cake site but there's a really weird problem only
> > in IE 6, when you click a link the page goes blan
I launched a small cake site but there's a really weird problem only
in IE 6, when you click a link the page goes blank. you have to
refresh the page to get anything.
IE 6 only.
see for yourself: http://bucketridergallery.com
Does anyone have any ideas or suggestions?
--~--~-~--~~
Okay, makes sense now!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
@RichardAtHome
I have been working on writing a task-based manual for Textpattern. I
wrote the system that I am using to run the manual in Cake.
It's here: http://txpmanual.com
The Admin interface is integrated into the site (not a separate admin
section) once you've logged in as admin.
If you'
Claudio,
Sorry, to bother you as well, but could you provide a example of a
situation in which this counterCache behavior would be useful?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post t
I love mediatemple. I have an account on their grid server. It's
excellent. I'm hosting too many domains to count on a single account.
Nice!
Even if the network and other usage figures pop up occasionally, it's
still been cheaper than what I would have to pay elsewhere to host that
many domains.
Okay, so I think I got it all up and running as a component, Mariano.
Your way was much better, though I had to modifying your (i'm sure
quickly written) code to get it to work, especially with the new lazy
loading models.
http://walkerhamilton.com/439/rememberme-component
--~--~-~--~--
Whoa. Okay, why didn't I notice that before! That's freaking awesome
and what I should have done in the first place. :)
thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this gro
Hi, I also used Rossoft's cookie component as well.
I also wanted to easily let users log in (no matter which page they
enter on). So here's my attempt to make that happen:
http://walkerhamilton.com/437/cakephp-remember-me
--~--~-~--~~~---~--~~
You received thi
Search this group for "pages_controller"
--~--~-~--~~~---~--~~
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
Mikee Freedom wrote:
> I have found great assistance in:
>
> 1. the manual
> 2. the wiki (and now the bakery)
> 3. the various blogs around (thanks fellas)
> 4. searching google groups
> 5. the source code
> 6. the api
> 7. asking questions in here
>
> roughly in that order.
I think this list is
[EMAIL PROTECTED] wrote:
> > Yeah, set DEBUG to 0 in /app/config/core.php (production mode).
> >
> > -- John
>
>
> So turning off debug also stops these calls to the database? Or does it
> just not log that it's doing them anymore?
DESC is what cake is running to figure out your DB. Once you go
Hi,
I'm a lurker around here, but I just wanted to check in and see if
everyone was noticing the security and community-relations problems
going on over in railsland.
I notice security emails from gwoo and some others occasionally and
they seem pretty open, free-flowing and on-the-ball. So it do
88 matches
Mail list logo