Oh, yeah, gwoo - too quick to respond. It's the model, stupid! sheesh.
thanks for catching that.
--~--~-~--~~~---~--~~
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@googl
try this:
class User extends AppModel
{
var $name="User";
var $uses = array('sanitize');
...
}
HTH
[EMAIL PROTECTED] wrote:
> My model looks like this:
>
> class User extends AppModel
> {
> var $name = 'User';
> uses('sanitize');
> ...
> }
--~--~-
Hey, I know that I can specify a pageTitle and Layout in my view (and
the PagesController doesn't upchuck it), but can I specify an ID
attribute for an element outside my content_for_layout DIV?
Specifically, I'd like to be able to add an ID to the page body from
within the view itself.
Ideas
On OSX, check out Colloquy (http://colloquy.info/) - works well, free.
On Windows, I'm using HydraIRC (http://www.hydrairc.com/) - works, free,
not as pretty as colloquy, but I have yet to find a single Windows app
that comes close in elegance to even a crappy OSX app... sigh.. I miss
my Mac!
I have a table with a datetime field. The generateDateTime() isn't the
prettiest, but it's prettier than if I built something and will provide
until I set up something more permanent. The problem is, I don't know of
a Cake-ized way of pulling a datetime into a generateDateTime().
ideas? sugges
Don't think it's incompatible - I just ran it ten minutes ago with
10.4.7, no problems. Are you pointing to the webroot folder in your cake
install, or to the cake folder itself? I mucked with things a bit, to
make it match my Linux server, so I did have to edit the paths in the
index.php, but
On OS X, what I found to be the easiest way of getting this working was
via virtual hosting, specificially a virtualhost.sh script. Executable
from the command line on OS X, it lets you put your site directory
wherever you want, point to it as a virtual host, then simply browse to
"http://virt