Anyone know how to do it?
Thanks
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+un
Jose Diaz-Gonzalez has some code on github that may help here
you'll have to adjust/play
a domain redirect comp - set up a model domain_prefixes
https://gist.github.com/1498851
Static Page Route plugin (has 1.3/2.x branches) - you'll have to create
something very bespoke but this will help you co
The actual tutorial on ACL begins
at:
http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake2/section5.html
I wouldn't use too much code as it is dated however conceptually the ACL
section of this tutorial is spot on. Refer to the api.
--
Our newest site for the community: CakePHP
On Jan 26, 2:38 pm, stig wrote:
> In the 2.0 manual. Caused some
> headache.http://book.cakephp.org/2.0/en/models/data-validation.html
> -> Validation::datetime says to specify datetime format as
> array('datetime', 'dmy'), when really it's supposed to be
> array('datetime' => 'dmy')
Please c
In the 2.0 manual. Caused some headache.
http://book.cakephp.org/2.0/en/models/data-validation.html
-> Validation::datetime says to specify datetime format as
array('datetime', 'dmy'), when really it's supposed to be
array('datetime' => 'dmy')
--
Our newest site for the community: CakePHP Video
http://mark-story.com/posts/view/using-custom-route-classes-in-cakephp
On Jan 26, 3:56 pm, sixthpoint wrote:
> I have found this article, appears to be helpful. Might be some issues
> though when migrating to cake 2.x
>
> On Jan 26, 1:15 pm, sixthpoint wrote:
>
>
>
>
>
>
>
> > I have been trying
I have found this article, appears to be helpful. Might be some issues
though when migrating to cake 2.x
On Jan 26, 1:15 pm, sixthpoint wrote:
> I have been trying to do some research on solving my problem. It seems
> simple, but I don't see a lot of documentation in cake on creating
> custom rou
Perhaps the actual *link* would help! Sorry about that:
http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/index.html
{c}
On Thu, Jan 26, 2012 at 4:47 PM, Chooch Schubert wrote:
> This tutorial from IBM may help you. It is listed as current for Cake
> 1.3.4 and they are work
This tutorial from IBM may help you. It is listed as current for Cake 1.3.4
and they are working to update it for 2.0. Even given the differences, it
might give you some code examples that you can manipulate to get what you
want.
{c}
On Wed, Jan 25, 2012 at 5:18 PM, Brian wrote:
> I'm working
Hi Tilen,
Sorry dude for saying this but I would really deny people who wants to
name a function like '__' (pronounce underscoreunderscore) instead of
having a normal name to program computers at all.
You use PHP, which supports object oriented programming. Use super
classes and subclasses, declar
I have been trying to do some research on solving my problem. It seems
simple, but I don't see a lot of documentation in cake on creating
custom routes.
My issue:
I want to take a URL like so http://localhost/controller1/item1
and route it to http://item1.localhost/*
this "item1" can be different
This is a bug on Core/App.php, caused by a missing `Plugin` key on the
paths array on `file_map` cache.
To fix it, just find this line on App.php (line 547):
self::_map($file, $className);
and replace for this one:
self::_map($file, $className, $plugin);
Then clear you persistent cache, and try ag
I have cake 1.3 & 2.0 setup on both win7 and ubuntu 11.10
various projects bake as projects
sharing the cake lib is good also for dev setup
if you remake foo and/or bar I think the issue maybe resolved
even if you don't find the cause to the spookiness
did you clear the cache?
ie tmp/cache/pers
I'm not using advanced setup (i.e. shared Cake lib, right?) since this
is a dev server (and production runs only one site per server). Most
classes are baked using "cake bake all".
And yes, FOO is a copy of BAR (surprise, surprise). I thought about
that before, but there is no mentioning of BAR in
Ubuntu 11.10 here.
On Jan 26, 2:14 pm, Jon Price wrote:
> Interesting..I've seen this as well but rareand thought I had
> misconfigured something. They are 2.0.x installs on a debian style linux.
>
>
>
>
>
>
>
> On Thu, Jan 26, 2012 at 4:38 AM, Eric wrote:
> > Hi!
>
> > I have several CakePH
If you are able to wrap all the saves into on saveAll, that would work.
Otherwise, another thing I've done is validation everything first, then
save if everything passes. This obviously won't catch for not actually
being able to save in the database, but if your validation is spot on it
shouldn
I've setup baking on one of the projects (the other one is a 1.1 port to
2.0.x that I won't be baking) Maybe it isn't related, but it was a little
disconcerting to see a url on the debug for the other site. At this point,
I'll ignore it, but wanted to get in a "me too" email so the op didn't
think
Odd. Have you tried setting up advanced setup with cake baked projects?
Also is foo a copy of bar?
- S
On 26 Jan 2012 13:14, "Jon Price" wrote:
> Interesting..I've seen this as well but rareand thought I had
> misconfigured something. They are 2.0.x installs on a debian style linux.
>
> On
Interesting..I've seen this as well but rareand thought I had
misconfigured something. They are 2.0.x installs on a debian style linux.
On Thu, Jan 26, 2012 at 4:38 AM, Eric wrote:
> Hi!
>
> I have several CakePHP installations on a server, two of them are 2.0
> (recent installs). I now noti
Thanks for your reply. I must have done something wrong during the
installation on my XP system. Not sure what yet - but - I
successfully intalled xampp & cakephp 2.0.5 on my Windows 7 system.
All works well! The Win7 system is my primary development station and
the XP system is my "at work" sys
Hi!
I have several CakePHP installations on a server, two of them are 2.0
(recent installs). I now notice that the 2.0 installations seem to
collide with eachother. Occationally when loading a page I get this
error message:
Fatal error: Uncaught exception 'MissingPluginException' with message
'Pl
On Jan 26, 1:21 am, Sam Sherlock wrote:
> Cake might be a bad name for a controller.
He's simply reading and following the error messages.
jkrug_98 - it's either a setup problem ( missing .htaccess file) or a
bug. what version of cake are you using.
AD
--
Our newest site for the community:
hey, thanks for your time...
the thing is, that in some models I am also using the saveAll(). I
have 6 saving processes, some save() some saveAll(), and all of them
need to be successful. one failure means, nothing shall be saved
so this would affect your advice, right? or should i wrap one sa
This issue has been resolved. It turned out to be my webhost caching the
generated cache files.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related quest
24 matches
Mail list logo