Does the hosting she has purchased have PHP? If so, she should be
fine. Since she's already purchased it, why don't you just upload
CakePHP (using FTP) to your new site and test it to see if it works?
- Shane
On Dec 17, 6:00 pm, Jon <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Have anyone succes
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 received this message because you are subscribed to the Google Groups "Ca
Beautiful! Thanks! I thought I was going to have to use
array_filter(). Yuck.
On Jan 13, 4:49 pm, "nate" <[EMAIL PROTECTED]> wrote:
You can use string-based conditions for that:
return $this->Listing->generateList(
'Listing.school_high <> ""',
'school_high ASC',
null,
'{n}.Li
function selecthighschool()
{
$conditions = array("Listing.school_high" => "<> ''");
return $this->Listing->generateList($conditions, 'school_high
ASC',
null, '{n}.Listing.school_high', '{n}.Listing.school_high');
}
The code above should return a
Are you saying that the user would get to choose which layout they
wanted, or is the layout chosen for them based on which page they
navigate to?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To
Along this same line. Is there some sort of changelog or record of
updates kept when/if changes are made to the online manual? It would
be nice to have a record like this to be able to "update" myself when I
start a new project and download the latest version.
--~--~-~--~~
Things are pretty easy once mod_rewrite is enabled. I know this is
probably not the answer you want to hear, but have you considered
changing hosts?
I'm sorry I don't have any experience working on URL rewrites without
using mod_rewrite.
--~--~-~--~~~---~--~~
Y
I found the answer in the PHP 5 ChangeLog:
http://www.php.net/ChangeLog-5.php
Bug 31288 was fixed in version 5.0.4
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send emai
Anselm,
Thanks for the info. I'm concerned because I'm getting ready to launch
a site which is running php v 5.0.4. However, I don't have access to
the server yet. Does anyone know if this bug was fixed in version
5.0.4?
--~--~-~--~~~---~--~~
You received thi
I post CakePHP articles here:
http://www.shepherdweb.com/category/frameworks/cakephp/
--~--~-~--~~~---~--~~
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.co
Without knowing very much about your problem, it's hard to diagnose.
Could you provide a link, or be a little more specific? My initial
guess would be that the image mime-type is not configured on the remote
server.
I hope this helps!
--~--~-~--~~~---~--~~
You
Mikee and mrtufty -
Thanks for your comments. tagErrorMsg is not have a deprecated
indication in the API at the moment. Also, I'm not finding an errorTag
in the htmlhelper API. Am I looking in the wrong place? Are you sure
it exists?
--~--~-~--~~~---~--~~
You
@chambas - It still works for me and I have the latest version.
--~--~-~--~~~---~--~~
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 t
Perhaps it is coincidental. Since upgrading to v1.1.7.3363 tagErrorMsg
in my application is no longer working. Is anyone else experiencing
this with this version?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ca
Here's my solution. It's not the most elegant in the world, but it
gets the job done. If anyone has a suggestion for a better way, please
chime in.
$categoryData = $this->requestAction('/categories/select/');
$this->Product->Color->id = $color_id;
I found that I can use find() instead of read(), and set recursive = 2
to return category.title, however, this returns way more data than I
need and drastically affects performance. Not a usable solution.
--~--~-~--~~~---~--~~
You received this message because yo
You'll end up using $this->requestAction() for logic that spans
multiple 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@googlegroups.com
To un
I'm working on a similar scenario right now. I haven't found a
solution yet.
Maybe some seasoned Cake veterans will chime in on this
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to
What am I doing wrong?
--~--~-~--~~~---~--~~
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]
Nope. It's not 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 [EMAIL PROTECTED]
@Jimmy -
Check out this WIKI entry:
http://wiki.cakephp.org/docs:method:read
I hope this helps!
--~--~-~--~~~---~--~~
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
Color and Product are hasAndBelongsToMany to each other
Product belongsTo Category
Category hasMany Product
I'm using this code to show products by color:
$this->Product->Color->id = $color_id;
$data = $this->Product->Color->read();
$this->set('
I've been with DreamHost for about 6 months now. I host about 20 sites
there. I haven't launched a Cake site yet, but will soon. I do have
other dynamic sites though. I would say that so far my experience with
Dreamhost has been pretty good. Performance is a little better than my
previous exp
$html->selectTag('Person/ismarried', array('y'=>'Yes', 'n'=>'No'), 'n',
null, null, false);
from: http://wiki.cakephp.org/docs:helpers:html
I hope this helps!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
reference:
http://api.cakephp.org/class_html_helper.html#4fe0e8fb8cfbc05348e90218830d49cc
--~--~-~--~~~---~--~~
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.
Please start a new thread when beginning a new topic.
--~--~-~--~~~---~--~~
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,
No problem, thanks for the update.
--~--~-~--~~~---~--~~
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 [EMAI
That makes sense. Thanks.
--~--~-~--~~~---~--~~
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 PROTEC
Is $this->Model->del($id); supposed to be recursive to hasMany
relationships? I seem to be getting inconsistent results.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send
I got it working by reorganizing the array like you suggested. I also
needed to add...
$this->File->create();
...just before saving each image in order to do an insert on each one.
Otherwise, every save() after the first one just overwrites the first
one.
It is likely that I will redo this at
@Daniel - Are either on of those solutions better than trying to
implement image resizing programmatically in your opinion?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, se
Also, make sure you have a form element:
formTag('/application/add/) ?>
--~--~-~--~~~---~--~~
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 unsubscrib
@Xeeton -
Thank you. I had seen fileHandler component that Chris Partridge
developed. It looks promising. I liked the idea up loading the files
into the database though, and Daniel's implementation was so simple for
a single file. If there is a way to adopt Daniel's script for use with
multip
Sweet, thanks.
--~--~-~--~~~---~--~~
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 mor
Way to go...progress is fast around here! Can I upgrade from 1.1.5.3148
by simply replacing the /cake directory?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to
Reference:
(http://cakebaker.wordpress.com/2006/04/15/file-upload-with-cakephp/).
I'm trying to adopt the "file upload to database" script referenced
above to handle multiple files at once. Is possible? I'm having
difficulty with it. Here is a sample of my code:
In add.thtml:
Nice. Thanks for pointing this out.
--~--~-~--~~~---~--~~
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
@Ryan - Thanks, you're right. I hadn't added all of the tiny_mce files
to the /js directory. Once I did that, and corrected the path
everything was perfect!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PH
Has anyone successfully integrated tinymce with CakePHP?
I'm putting tiny_mce.js in webroot/js/ and my layout is written up like
this:
[code]
tinyMCE.init({
mode : "textareas",
theme : "simple"
});
[/code]
There is no er
@John David Anderson - Thanks for chiming in. It's encouraging to know
that the individual responsible for the documentation is active in this
group.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group
@John,
Thanks for the calm response to my rant. Your explanation actually
helps quite a bit. I'll look for v1.2 in the near future, and in the
meantime submit my needs to trac.cakephp.org.
I see a real need for CakePHP...and it appears to be moving in the
right direction. If it's ever going
I chose CakePHP after extensive research and trying out a couple of
other frameworks. The biggest obstacle I've found to accomplishing
anything in CakePHP is incomplete documentation.
When I first got here I read the Manual, went through the blog
tutorial, and tried some things out from the manu
I'm using Textmate on OS X. It's pretty good.
I also tried out Eclipse, but it seemed like overkeel for a medium
sized web application.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to
Great looking web site, by the way.
--~--~-~--~~~---~--~~
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
Thanks.
--~--~-~--~~~---~--~~
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 optio
Products (table) belongsTo Colors AND belongsTo Categories. How do I
do this?
--~--~-~--~~~---~--~~
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'm assuming you do actually have a table called executions...right?
--~--~-~--~~~---~--~~
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 fr
I did have that class...and the model. I'll try adding "var $scaffold
= true;" and see what happens. Thanks for the tip.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, sen
do I need to make some sort of adjustment to Routes.php?
--~--~-~--~~~---~--~~
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 grou
Good point. I'm getting this error using your code though:
Missing controller
You are seeing this error because controller ColorsController could not
be found.
Notice: this error is being rendered by the
app/views/errors/missing_controller.thtml view file, a
user-customizable error page for h
Thanks .
--~--~-~--~~~---~--~~
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 opti
That makes sense. My current implementation is the other way around
though:
(my url looks like this: /products/color/)
in product_controller
function color($color_id = null)
{
$this->set('products',
$this->Product->findAllByColor_id($color_id);
}
I found this solution, but it doesn't see
How do I loop through this array:
produces:
Array (
[0] => Array (
[Product] => Array (
[id] => 2
[title] => Another Test Product
[description] => some more description and stuff yeah
yeah yay
I don't see a problem. Did you solve your 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, se
54 matches
Mail list logo