far from foolproof, as you might
have noticed. :)
On Apr 29, 9:19 pm, John Andersen wrote:
> Jacmoe, I can't agree with you!
> Jayesh W did not complain about the Bakery itself, but about the
> process of having submitted an article, which was then deleted,
> without a reviewer h
d of it. Plain
> and simple.
>
> Having said that I am not planning to write any more for the bakery
> and I do hope other programmers follow suit.
>
> -Jayesh
>
> On Apr 25, 11:46 pm, jacmoe wrote:
>
>
>
>
>
> > That doesn't give you carte blanche
Treat the plugin/webroot the same as app/webroot:
Images in img, css in css, javascript in js, etc.
Did you put them in the 'img' directory ?
On Apr 27, 12:21 am, Ziki wrote:
> Hi,
>
> I have images in img folder in webroot of my plugin, but images aren't
> load when links from css file also in
s up to? :)
On Apr 26, 5:55 pm, calvin wrote:
> @Jacob:
> Ah, I did misunderstand. I apologize. Maybe I will fork the code and
> make a merge request to fix the blank e-mails problem. Though I wasn't
> aware that Bakery 2.0 was in development. I may try to help with that
> inst
or
> pin all responsibilities on the user/critic.
>
> And a person does not need to have contributed to Cake's source code
> to level a valid criticism.
>
> On Apr 25, 2:46 pm, jacmoe wrote:
>
>
>
>
>
> > That doesn't give you carte blanche to be arr
Here's how I do this:
$view =& ClassRegistry::getObject('view');
$some_view_var = isset($view->viewVars['var']
['another_var']) ? $view->viewVars['var']['another_var'] : null;
I am aware that it is against CakePHP coding conventions to use the
tertiary conditional operator, but I do
That doesn't give you carte blanche to be arrogant, does it?
What have you done for CakePHP if I may ask? :)
A couple of weeks ago I posted this topic:
http://groups.google.com/group/cake-php/browse_thread/thread/e3a1f46982bddd46#
With the title 'Let's get rid of The Bakery'.
I volunteered as a
Take a look here:
http://github.com/cakephp
Cheers
Jacob
On Apr 25, 3:32 pm, Luiji wrote:
> Considering that CakePHP is an open-source project and CakePHP.Org
> seems to use CakePHP, it might be useful for users to be able to see
> the source code for the website. It would give in-depth inform
That should be 'url' not 'link' :P
I guess I need a coffee - sorry for spamming.
Here ->
http://book.cakephp.org/view/842/url
Cheers
Jacob
On Apr 25, 1:05 pm, jacmoe wrote:
> Right, I forgot the answer:
> echo $html->link('TEST LINK', $html->url(
Right, I forgot the answer:
echo $html->link('TEST LINK', $html->url('/advances/forward', true));
Pass 'true' in the link function, and it will be absolute.
Off the top of my head, but try it.
On Apr 25, 1:03 pm, jacmoe wrote:
> Er, what for?
>
>
Er, what for?
And there's no way you can have a link like '/cake/css/
cake.generic.css' - it would be '/css/cake.generic.css'.
Are you creating all those links yourself?
On Apr 25, 6:59 am, Robert Popplewell wrote:
> Does anyone know the best way to change all html links within cakephp
> to abso
If you don't want scaffolding, use the cake bake console.
Then you'll get CRUD.
The database you have to do yourself.
Pick any design and make sure that you adhere to the CakePHP naming
conventions - the cake bake console will give you the rest.
Then just customize the baked models/controllers/view
Ideally, that's how I do it too. Not always, but most of the time. :)
Creating the database first, bake something, test it.
Delete the app, revise the database, bake it again..
The database is the single most important part of your application.
On Apr 24, 11:51 am, viis wrote:
> Would like to kno
That option exist because that's what you'd use in a Helper, not in
the view (ctp) files.
It's a lot clearer and faster to just write isn't it?
Use $this->Html->div() in your helper, instead of echo '' (which
is horrible) IMO. :)
Each to his own, I guess, but I prefer to write static layout in HTM
I am using the AuthSome component (Auth alternative) from Debuggable,
together with this:
http://josediazgonzalez.com/2010/01/11/you-want-access-well-you-no-can-has-cakephp-access-component/
Works a treat. :)
On Apr 24, 12:31 am, paws_galuten wrote:
> I wrestled with ACL for a while, and finally
I agree with Miles and Jamie. =)
PHP is executed, HTML is rendered.
Use your common sense. :)
On Apr 23, 2:02 am, Jamie wrote:
> I agree with Miles that you should just use static HTML wherever
> possible. It's just plain faster. If you use PHP to generate your
> HTML, then you're adding an extr
If you want to use a helper, powered by jQuery, but behaving like the
helper in Cake 1.2.x, then use this:
http://bakery.cakephp.org/articles/view/ajax-helper-with-jquery
I am using it with CakePHP 1.3.x without problems. :)
I also use jQuery without any helper, and even the new js engine, but
it
A page reload doesn't have to mean that your chat is reloaded.
Especially not if the chat is ajax-only.
That should be independent of which page the user is on.
Think parallel.
On Apr 20, 7:57 am, Dmitry Shevchenko wrote:
> Thank you for you advices, but I can't stop using ajax on my site, I
> ha
I agree with that.
Enter the phrase 'when to use ajax' in your search engine of choice
and read.
In my humble opinion, you need to re-think your application.
The URLs are probably the most important part of your site, almost as
important as your data.
In my own site I have a tabbed configuratio
Disclaimer: I am not a Mac user, but..
I heartily recommend NetBeans. :)
Eclipse is nice, but NetBeans is faster, leaner and more productive,
IMO.
It's a very underrated IDE, and - like Eclipse - it has a PHP specific
edition.
Give it a try.
On Apr 19, 6:14 am, Bryan Lim wrote:
> Hi all,
>
> mac
in, ie. if the user has been active in
> the last 5 minutes.
>
> Please note that the approached that I suggested is not full proof but
> it will give you some idea of logged in users
>
> Kind regards
>
> Wilhelm
>
> On Apr 17, 9:36 am, jacmoe wrote:
>
>
&g
Yes, I know that. :)
That's why I was wondering what was going on.
But, to the Original Poster :
http://book.cakephp.org/view/119/Plugin-Tips
On Apr 17, 10:00 am, AD7six wrote:
> On Apr 17, 1:22 am, jacmoe wrote:
>
> > If you read the book, it is indeed root_url/plugin_n
If you keep track of login/logout time, you can just pick a list of
users with a login time newer than their logout time..
There's probably more intelligent ways of doing this, but I can't
think of any right now. :)
Cheers
Jacob
On Apr 17, 6:07 am, bondo wrote:
> Is it possible to get a list of
If you read the book, it is indeed root_url/plugin_name/plugin_action,
so check your sources before you're telling people that they are
telling the wrong thing. :)
http://book.cakephp.org/view/1113/Plugin-Controllers
On Apr 16, 9:47 pm, AD7six wrote:
> On Apr 16, 9:39 pm, Miles J wrote:
>
> > Y
This is a group about CakePHP, a very capable framework, not just PHP.
So if you're looking for general PHP wisdom, I think you need to look
elsewhere.
If it isn't CakePHP related I mean.
And it does sound like it's not. :)
On Apr 14, 2:00 pm, frederica wrote:
> hi folks
>
> im having problems wi
Check out the Just Baked section of the CakePHP front page:
http://cakephp.org/
Then visit GitHub and search for 'CakePHP' there.
That's probably what you want? :)
Croogo is a good example of a pluggable plugins CakePHP app.
On Apr 13, 5:55 pm, Validatorian wrote:
> I found a link for 'test cases
'onClick' => 'return false;' would do the trick I suppose. :)
On Apr 14, 1:02 pm, WhyNotSmile
wrote:
> I have a question which may be very basic - I'm not sure whether I've
> just tied my brain in knots from thinking about it! Apologies if so.
>
> I have a form which has various buttons. One of
to it.
On Apr 14, 5:24 am, zonery wrote:
> thank you for your interest.
> its better to continue with ver.1.2.6... because I am newcomer and the
> book is very important for me.. it seems ver.1.3 book must be
> updated..
> thank you again...
>
> On 14 Nisan, 04:20, jacmoe
It's cake schema create Session, isn't it?
On Apr 14, 2:13 am, zonery wrote:
> dear Jeremy Burns,
> I am not asking about version 1.2.6...
> My question is about version 1.3
> and there is no sql folder under /app/config/... I download ver.1.3
> now, and checked again... there is no sql folder a
OMG you are right. :)
I guess I have to take back my change then..
Use the console.
cake schema some_command session ??
I am not sure..
I thought it was still there, but it isn't. It was left over from when
I upgraded from 1.2.x
There's no information in the book about that.
On Apr 14, 2:13 am, zo
I submitted a change to the page in question.
On Apr 13, 1:32 pm, Jeremy Burns wrote:
> It's in /app/config/sql/sesions.sql
>
> Jeremy Burns
> jeremybu...@me.com
>
> On 13 Apr 2010, at 04:52, zonery wrote:
>
> > hi all,
> > I want to store sessions in database.
> > in 1.3 manual (http://book.cake
You could look into using the translate behaviour. :)
http://book.cakephp.org/view/1328/Translate
On Apr 13, 8:42 pm, "dole.doug" wrote:
> hi there
>
> does anyone knows how can i make a website with a multi-language
> content support? I need to translate the content and not the
> interface.
>
>
If you rename the model name in your registration form, to
'loginUser', the data you will get would be data['loginUser']
['username'], etc.
You just need to map that to the User model after receiving the data.
AFAIK, you don't have to pass a model name to a form.
On Apr 13, 11:21 pm, Ed Propsner
I had the same problem yesterday, and had to manually massage the data
into a data array, but that was because I had (and still have) three
computed fields.
But I believe that you can use Teknoid's advice here:
http://teknoid.wordpress.com/2008/09/29/dealing-with-calculated-fields-in-cakephps-find/
Miles Johnson made CupCake just for you:
http://www.milesj.me/resources/script/forum-plugin
Then you can have your Cake and eat it too. :P
Cheers
Jacob
On Apr 12, 12:48 pm, WhyNotSmile
wrote:
> Apologies for posting 2 questions very close together!
>
> In an app I am building, the client has
You didn't look hard enough:
http://book.cakephp.org/view/1117/Plugin-assets
:)
On Apr 12, 11:49 am, Rebel wrote:
> It's the /plugin/webroot dir that i need. But, I did not find this in
> the manual (1.3 Collection)
> thanks
>
> On Apr 11, 10:19 pm, nurvzy wrote:
>
> > Also be sure your assets
@mark and graham:
You can count me in as a moderator. :)
I have five years of moderator experience from Ogre3d.org, if that
counts.
But I cannot be a developer as I am still wet behind my CakePHP ears.
Jacob 'jacmoe' Moen
On Apr 10, 9:20 am, nurvzy wrote:
> @predominant I'd be
It would be nice to get some feedback from someone *in* the CakePHP
team.
I am not interested in letting it die, but it cannot continue the way
it does now.
If you need any help - which I bet you do - just say the word.
Moderation and code review of the Bakery itself - there's some strange
glitch
What's wrong with it? :)
We can't get enough of CakePHP resources, so I wish this new blog the
best of luck.
Mailing lists and IRC are *so* yesteryear.
What a horrible format.
If it weren't for Google Groups, I wouldn't be touching this mailing
list with a ten foot barge pole.
Why not a regular for
It's pretty simple, really:
echo $this->Session->setFlash('Some Error.', 'flash_error');
echo $this->Session->setFlash('Some Success.', 'flash_success');
echo $this->Session->setFlash('Some Notice.', 'flash_notice');
And so on.
My success message is using jQuery to fade away, but my notice stays
u
Put it all in public_html:
> root
>> app
>>> webroot
>> cake
>> plugins
>> vendors
The htaccess file will make sure that your site is served from app/
webroot.
On Apr 5, 5:29 am, adeveloper guy wrote:
> Hi,
>
> I need help in understanding where each folder of cakePHP should go
> live in product
Do you mean CakePHP 1.3 RC3 ?
If I'm not totally mistaken, there will be a RC4 within a week or two,
and then CakePHP 1.3 final.
I see no reason not to upgrade to the latest as it gets released.
RC3 is pretty stable, and the bugs are most likely in your own code.
I've had very few problems so far.
You are right. I just tried it.
Works in bootstrap like you said.
Would've been nice if a local paths.php would override the global one,
but .. :)
Maybe I'll file a feature request. Maybe not.
Thanks for the clarification.
On Apr 5, 10:35 pm, John Andersen wrote:
> Hi Jacmoe,
>
&
you want the change to be permanent, then redefine the constant
> IMAGE_URL to 'images/', that should do it!
> Enjoy,
> John
>
> On Apr 4, 10:53 pm, jacmoe wrote:
>
> > I believe you can just copy cake/config/paths.php to app/config/
> > paths.php and edit
),
array('project_id' => '[a-zA-Z0-9\-]+'));
Even when specifying named parameters, the router refuses to
recognise :project_id as a routing parameter. It thinks it's a named
parameter..
Is this a bug?
Or am I doing it wrong?
On Apr 4, 7:50 pm, jacmoe wrote:
> S
ne, but its not working.
> In that article they dint mentioned the keywords they have used. I mean they
> have used carModel n not mentioned about it. So I stuck up in that code.
>
> so trying for other thing.
>
> Thanks
>
> On Mon, Apr 5, 2010 at 6:13 PM, jacmoe wrote:
>
Try this:
http://teknoid.wordpress.com/2010/03/10/use-cakephp-jquery-to-build-dynamic-selects/
On Apr 5, 1:21 pm, Ambika Kulkarni wrote:
> Hi there,
>
> I want a drop down list and on chage another drop down lst has to be
> done.
>
> Please help me out.
>
> Thanks in advance
Check out the new Ca
And by the way:
I do not intend to get a GMail account - ever. :)
On Apr 4, 1:12 pm, cricket wrote:
> On Apr 3, 7:21 pm, nurvzy wrote:
>
> > The blank comment email notifications are annoying, until I redirected
> > them to my gmail account. Gmail pulls them in just find. just FYI.
> > If I us
I agree that the Bakery is good, but not in its present state.
It's embarrassing that it can't send proper email. Even I, a CakePHP
newbie, can send proper emails using the CakePHP email component, why
can't the Bakery? :)
I suspect that the original Bakery people left the project or got too
much
I believe you can just copy cake/config/paths.php to app/config/
paths.php and edit it:
define('IMAGES', WWW_ROOT.'images'.DS);
On Apr 4, 9:12 pm, "Dave" wrote:
> Is it possible to change the folder where cake looks for images when using
> $html->image?
>
> I find that Photoshop loves to
Until I put this line in:
Router::connectNamed(array('Ff0', 'Fo0', 'Fv0'));
Then, my question is as follows:
Is it possible to use wildcards in connectNamed?
Like this? ->
Router::connectNamed(array('Ff?', 'Fo?', 'Fv?'));
On Apr 4, 6:
Hi bakers :)
I have an app which uses routing to produce links like this:
http://localhost/projects/bugitor/issues/index
Instead of this:
http://localhost/issues/index/project_id:bugitor
It works - as long as I don't use extra named parameters. :(
I can't figure out what's wrong with it.
I am u
I use a much simpler approach:
echo $this->Session->setFlash('Some Error.', 'flash_error');
Then in views/elements/flash_error.ctp:
It works wonderfully. :)
I can style those layouts using CSS and jQuery, whatever.
I just put the style in the layout, instead of specifying it.
I noticed that the Bakery is slowly being overrun by spam messages
which haven't been cleaned up in a long, long time.
I wrote a small article there, and haven't received any feedback on
it.
Anyone tending it?
Otherwise: Let's get rid of it.
Or turn off the comments feature.
And, by the way:
The
Don't you think one post is enough?
Instead of three? :)
Read the upgrade notes - it's written there:
http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3
Your specific question is dealt with here:
http://book.cakephp.org/view/1566/View-and-Helpers
and here:
http://book.cakephp.org
I think you need to show us some of that code of yours. :)
On Apr 2, 5:22 pm, Ed Propsner wrote:
> Seems straightforward enough but I must be overlooking something somewhere.
> Still not working out for me.
>
> On Fri, Apr 2, 2010 at 6:22 AM, WebbedIT wrote:
> > I use:
>
> > $this->Session->setF
in RC3.
I changed it to:
$save_data['ModelName']['some_field'] =
$some_value;
$save_data['ModelName']['other_field'] =
$some_other_value;
$SomeModel->save($save_data);
And it works. Of course.
The o
It's simple enough. :)
Sample layout:
All your views are output through the $content_for_layout variable.
Use all the html tags you want, inside of that content div.
On Mar 30, 4:07 pm, sebb86 wrote:
> Hello,
> is it recommendable to write all views inside html tags?
> For example:
>
I spoke too soon:
The upgrade from RC2 to RC3 broke my app. :(
Just a warning.
Reverting to RC2.
I think it has to do with me using extra fields in my model not in the
database, but I'm not sure.
On Mar 30, 12:30 am, jacmoe wrote:
> Congratulations! :)
>
> You have come a long
Congratulations! :)
You have come a long way since the early 1.3 pre-releases.
I tried upgrading my app to it some time ago, and nothing worked the
way it should.
Now, everything works, even the things which I never could have gotten
to work using Cake 1.2 :D
Great stuff.
Now all we need is lots
You could do a 'cakephp' search on GitHub, perhaps.
But, Jeremy is right:
The best way is to have a clear idea of what you want to make, and
then search the net for the many how's.
Fortunately, lots of people blog about CakePHP, so tricks of the trade
is easy to come by. :)
Jacob
On Mar 29, 3:10
Why not use Kaching:
http://code.google.com/p/kaching-php/
On Mar 19, 1:18 pm, Jack CakePHP wrote:
> Dears,
>
> I am new to Cakephp, and I would like build sample app to manage one
> of the products, I wanna do the following things, and I wanna use CRUD
> to create model, controllers based on BA
OpenID is not just for a few people:
If your users have a Google profile, a Twitter, Facebook, MySpace,
Blogger, or a flickr account they can just log into your site.
If they're new members of your site, your OpenID component fetches the
account information from one of these providers.
All your use
Yura
The funny thing is that what you're trying to do, OpenID already does:
When visiting a site with OpenID enabled, you just paste your OpenID
link into the login box, hit enter, and you're logged in. :)
Just one link.
All over the internet.
If you want to act as an OpenID host, you can do that
Hi Group :)
This code was working perfectly fine in Cake 1.2x :
Html->scriptBlock("function showTab(name) {
var f = $$('div#content .tab-content');
for(var i=0; i
link($tab['label'],aa('tab',$tab['name']),
aa('id', "tab-".$tab['name'],
I strongly advise not using them!
They doesn't make the template more clean - it makes it much harder to
spot the PHP code.
Allow me to quote from debuggable.com:
> The first thing I recommend is using the fully qualified syntax ()
> for php tags instead of the short one (). Why?
> Well that's wh
The answer is to use RPX and one of the many providers, like Google,
OpenID, Twitter, whatever.
After the initial registration - which you can do when you're not at
your buddys house - all you ever need is username/password.
And that's neat. :)
Jacob
On Mar 13, 11:06 pm, "Dave" wrote:
> Ok but i
, ...
Lots of people have at least one of those accounts these days. :)
I'll definitely giving this a go in my own app.
Cheers
Jacob
On Mar 12, 1:45 pm, Yura Linnyk wrote:
> Thank you Zaky Katalan-Ezra and jacmoe for your valuable input.
>
> I'd like to think that I'm not re
Cake 1.3 features a Session helper - you need to explicitly include
Session as component and helper in your controllers.
So it becomes $this->Session->read.
But, wouldn't it be better to do this in your app controller:
> $this->set('Auth',$this->Auth->user());
Then you have $Auth exposed to every
I am currently upgrading from 1.2 to 1.3, and it is a smooth process.
So don't worry: you can start off with 1.2 and rest assured that
upgrading isn't going to mean that you need to rewrite a lot. :)
I think I changed 5% of my code, maybe 10% (tops).
On Mar 12, 10:17 am, jonathan wrote:
> Hey Key
Are you sure you are not reinventing wheels?
Why not use OpenID, or similar?
There's a OpenID component for Cakephp here:
http://code.42dh.com/openid/
It is supposed to be pretty secure, and you get what you want: no
registering, no need to remember any password (but one), etc.
If I were you, I'
It should be pretty much the same - what's the problem? :)
I usually just create a new 'www' directory and extract a fresh Cake
into it, and start hacking.
Of course, I've renamed the old www directory.
For quick baking, I prefer that way, instead of messing around with
multi app configuration.
I
I am not so sure..
Cake 1.3 is really great, and I use it myself.
But: most of - well, almost all of it, actually - the tutorials/hints/
information/blogposts are about Cake 1.2.
I am having a really hard time finding Cake 1.3 specific stuff.
I wouldn't have stood a chance if I were to start off wi
Isn't it open source?
Not the first time someone made a fork of it - including the original
author. :)
On Jan 4, 10:31 pm, Juan Luis Baptiste
wrote:
> On Mon, Jan 4, 2010 at 10:05 AM, hashmich wrote:
> > Oracle is going to take over Sun Microsystems - who are the owner of
> > the copyrights for
I had the same issue and now use gmdate everywhere.
Tested it on two servers in different timezones, and it worked
alright.
On Nov 23, 11:29 am, Jas wrote:
> I'd like to know the best way to store records on a server in another
> country. Some of the users will be in other countries. when they vi
On Nov 20, 11:33 am, AD7six wrote:
> On 19 nov, 23:41, jacmoe wrote:
>
> > To me, a 'larger project' is simply a project with a lot of code. :P
>
> By that measure, a lot of truly awfully code constitute "large
> projects". [1]
>
I answered in the co
To me, a 'larger project' is simply a project with a lot of code. :P
It has less to do with how many users it has/gets.
You can have a really simple application with millions of users.
On Nov 19, 8:47 pm, Crazy wrote:
> What do people consider a 'larger' project?, the addons site of
> mozilla obv
Django ?
That's not PHP, is it ? :)
I like CakePHP because it's PHP, and - as Keymaster said - it's the
most enterprise ready framework.
(I am not counting Zen Framework here, because it's a collection of
components, rather than a coherent framework).
Why should CakePHP die?
It can't. :)
On Nov 1
I changed the subject back to the original - why the heck did you tag
onto an existing topic? Create your own topic.
On Nov 17, 3:03 am, Dave Strickler wrote:
> I am just starting out with CakePHP, and need to use a library called KoolPHP
> for a project. While I have it in the Vendors folder, a
I do that too: just my 'app' directory.
On Nov 13, 4:31 am, Graham Weldon wrote:
> On starting a new project I normally do the following:
>
> Clone (or update existing) CakePHP repository.
> Bake a new project to a new directory.
> Initialize that as a new git repository.
> Push to remote server.
I am probably going to sound like an ass, but CakePhp is extremely
popular and Google will give you loads of links.
If that doesn't help you, did you visit Cakephp.org?
I mean, really visit?
There's the Bakery, The Chaw, Cake code, ...
On Nov 2, 6:45 am, Simon wrote:
> Hii,
>
> Plz Give me some
Congratulations! :)
You just started the fifth thread on that subject.
No, the Cake devs put a lot of hard work into making us smile.
On Nov 1, 6:42 pm, tobi_one wrote:
> What's wrong with the website?
>
> Looks like it has been hacked or is this a "funny" Halloween joke?
>
> Cheers,
> tobi_one
First:
Database names are plural:
students, courses, assignments, marks.
The models would then be Student, Course, Assignment and Mark.
The id of each database should be just 'id'.
Because that's what CakePhp likes, and because it's convention to name
*foreign keys* like this:
tablename_id - s
A little bit of reading, please, before you ask. :)
You could have learned what 'bake' was by reading the CakePhp book.
Do yourself a favor and do the blog tutorial. ->
http://book.cakephp.org/view/219/Blog
On Oct 28, 9:58 am, "www.landed.at" wrote:
> I thought at first bake was just a fancy nam
The Interact tab is totally killer! :D
On Oct 28, 1:58 pm, "O.J. Tibi" wrote:
> Help! I'm eaten by the site's zombie language!!! W!!!
>
> On Oct 28, 8:57 pm, "O.J. Tibi" wrote:
>
> > Of course, he means that CakePHP.org's got the Halloween theme! This
> > MUST, I mean, NEEDS, no, I real
I finally understood ACL by reading the excellent tutorials at
AranWorld.
There's even a complete, downloadable sample:
http://aranworld.com/article/170/cakephp-acl-and-auth-sample-website
Read the rest of his tutorials. It helped me, so why not you? :)
On Oct 27, 7:18 am, xtraorange wrote:
> D
Choose app/vendors for application specific vendors.
The other one is for site-wide vendors, ie shared between
applications.
I am still new to CakePhp so I cannot give you any advice regarding
multiple applications.
But I'd choose different subdomains for that.
If your host allows you.
On Oct 27
s-
>
> >writeBuffer();
>
> -Mark
>
> On Oct 25, 5:35 pm, jacmoe wrote:
>
> > Check Marks
> > blog:http://mark-story.com/posts/view/creating-simple-ajax-pagination-with...
>
> > I tried it, but no luck yet.
> > CakePhp 1.3 seems to be more picky about t
I am still working on making my controllers thin and my models fat.
No logic in my views, nothing but logic in my controller and all the
rest in my model.
I am not there yet, as I am still pretty new to MVC design, but I
think it's a good design goal.
On Oct 25, 7:34 am, Ixus wrote:
> Hi everyon
, 5:15 pm, dijichi wrote:
> I have exactly the same problem, with mootools. Anyone got this
> working?
>
> On Oct 22, 10:13 pm, jacmoe wrote:
>
> > I tried Mootools, jQuery and Prototype - no luck. :)
> > Prototype and Mootools seems to be ignored by Cake..
> >
A framework allows you to create applications with ease.
A CMS is an application - so I really don't see the redundancy. :)
In fact, since a CMS tends to be a larger application, it is one of
the things for which a framework really would make a difference. The
larger the application, the bigger th
And, to get a site wide template of your own, copy www\cake\libs\view
\layouts\default.ctp into www\app\view\layouts\default.ctp and edit it
to match your style/liking.
All your content will be rendered where is.
On Oct 23, 10:53 am, Céryl wrote:
> You're actually quite right... It's kind of
les J wrote:
> Well CakePHP is NOT a CMS, its a framework. Perhaps read a bit more on
> the differences.
>
> On Oct 23, 1:42 pm, jacmoe wrote:
>
> > Maybehttp://fahad19.com/(Croogo) ?
>
> > On Oct 23, 7:03 pm, jacmoe wrote:
>
> > > Wildflower, maybe?
>
Maybe http://fahad19.com/ (Croogo) ?
On Oct 23, 7:03 pm, jacmoe wrote:
> Wildflower, maybe?
> Seems to be the most developed CakePhp based CMS I was able to
> find. :)
>
> On Oct 23, 3:14 pm, Ziki wrote:
>
> > Hi, i have my own CMS which was developed before i start
I will have a look at various other projects which upgraded to Cake
1.3 to see if I can spot what exactly I am doing wrong. :)
On Oct 23, 10:38 pm, jacmoe wrote:
> Well.
> Looks like I ain't gonna upgrade this time. :)
> I have a dead-line.
> Maybe in a months time or so.
&g
'indicator' key.
>
> -Mark
>
> On Oct 22, 6:13 pm, jacmoe wrote:
>
> > I tried Mootools, jQuery and Prototype - no luck. :)
> > Prototype and Mootools seems to be ignored by Cake..
> > 'Js' => array('Prototype') or 'Js' =&
son
>
> so that I need to order by Person.surname,Person.name..
>
> I tried 'order' => array('Person.surname ASC') but got no results..
>
> On 23 Ott, 01:04, jacmoe wrote:
>
> > What do you mean?
> > A totally unrelated model, or ?
>
&g
You can also just put var $uses = array(); in the controller - no need
to make a model then. :)
On Oct 23, 2:10 pm, mike karthauser
wrote:
> create a model for simple page and add $useTable = false; which means you
> wont need the db.
>
> regards
> mikek
>
> On Fri, Oct 23, 2009 at 11:31 AM, Bee
Wildflower, maybe?
Seems to be the most developed CakePhp based CMS I was able to
find. :)
On Oct 23, 3:14 pm, Ziki wrote:
> Hi, i have my own CMS which was developed before i start using
> CakePHP, now i don't want to redeveloped my CMS for CakePHP, i just
> want to start with another one, whic
If you are using Ajax, just use $this->AutoRender(false); in your
controller.
And you can just use $this->renderElement(someelement) in your view,
if you need a view (which you don't when using the AutoRender(false)
option.
((Take this with grains of salt as I am still wet behind the ears when
it
1 - 100 of 111 matches
Mail list logo