AD7six.com Recent Commentshttp://www.ad7six.com/Most recent comments from AD7six.com.engAD7six.com Recent Commentshttp://www.ad7six.com/favicon.icohttp://www.ad7six.com/poLK said ... (So I think it's about time I started blogging again)http://www.ad7six.com/read/80-So-I-think-it-s-about-time-I-started-blogging-again#comment-4afa95c4-0cf8-4e91-86bc-65edd071a8f9http://www.ad7six.com/comments/index/id:80/slug:So-I-think-it-s-about-time-I-started-blogging-again#comment-4afa95c4-0cf8-4e91-86bc-65edd071a8f9http://www.ad7six.com/read/80-So-I-think-it-s-about-time-I-started-blogging-again#comment-4afa95c4-0cf8-4e91-86bc-65edd071a8f9<img src="http://www.gravatar.com/avatar.php?gravatar_id=99cf87231f06f534edc360b735af926c&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p> That's a great news, Andy! </p> <p> I missed your thoughts, opinions and sense of humor a lot. </p> Wed, 11 Nov 2009 11:45:18 +0100Brendon Kozlowski said ... (So I think it's about time I started blogging again)http://www.ad7six.com/read/80-So-I-think-it-s-about-time-I-started-blogging-again#comment-4af98e9f-6270-4fc3-a2f0-146bd071a8f9http://www.ad7six.com/comments/index/id:80/slug:So-I-think-it-s-about-time-I-started-blogging-again#comment-4af98e9f-6270-4fc3-a2f0-146bd071a8f9http://www.ad7six.com/read/80-So-I-think-it-s-about-time-I-started-blogging-again#comment-4af98e9f-6270-4fc3-a2f0-146bd071a8f9<img src="http://www.gravatar.com/avatar.php?gravatar_id=cd5e1fb9fe9edca13e7c64accc286dd7&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p> The design is very much an upgrade and some of the features you've added are a nice touch. Will be looking forward to hearing you from your soapbox. ;) </p> Tue, 10 Nov 2009 08:02:27 +0100Voycey said ... (Bake yourself a complete admin backend - in one call)http://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa1-089c-4993-a821-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:76/slug:Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa1-089c-4993-a821-2027b57cbbdfhttp://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa1-089c-4993-a821-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=d178520f4807af80972739cf4978bac7&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>So bake in 1.3 is going to introduce a bake admin area like Symfony does? That would be pretty ace!</p>Mon, 14 Sep 2009 19:17:00 +0200drupal hosting said ... (Bad News)http://www.ad7six.com/read/77-Bad-News#comment-4ae8cfa1-0e44-4f1c-8efb-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:77/slug:Bad-News#comment-4ae8cfa1-0e44-4f1c-8efb-2027b57cbbdfhttp://www.ad7six.com/read/77-Bad-News#comment-4ae8cfa1-0e44-4f1c-8efb-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=fe5571098487c7ef9c493fa6ff71ef73&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" />I am very sorry for that, andy!Wed, 26 Aug 2009 06:58:34 +0200Andy said ... (Bake yourself a complete admin backend - in one call)http://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa0-76ec-45fd-a694-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:76/slug:Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa0-76ec-45fd-a694-2027b57cbbdfhttp://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa0-76ec-45fd-a694-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=876a61b58a729fcf71048529885d64dc&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>Voycey,</p> <p>cake moves quite quickly ;). The script you'll find if you search the history a bit, but it's not necessary bake in 1.3 makes it obsolete checkout <a href="http://mark-story.com/posts/view/bake-updates-for-1-3">this post by Mark Chawsome Story</a> for a taster</p> <p>AD</p>Fri, 21 Aug 2009 21:13:20 +0200voycey said ... (Bake yourself a complete admin backend - in one call)http://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa0-91b4-4ba2-9c5a-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:76/slug:Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa0-91b4-4ba2-9c5a-2027b57cbbdfhttp://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cfa0-91b4-4ba2-9c5a-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=d178520f4807af80972739cf4978bac7&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>Hi - Can you let me know where the development for this bake script is please? I have searched through your SVN and so far havent been able to locate it - the idea of manually coding this admin section is horrifying!</p>Tue, 18 Aug 2009 15:39:40 +0200Kunal Punjabi said ... (Access Control for all (Part 3))http://www.ad7six.com/read/49-Access-Control-for-all-(Part-3)#comment-4ae8cfa0-9dac-436d-b06e-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:49/slug:Access-Control-for-all-(Part-3)#comment-4ae8cfa0-9dac-436d-b06e-2027b57cbbdfhttp://www.ad7six.com/read/49-Access-Control-for-all-(Part-3)#comment-4ae8cfa0-9dac-436d-b06e-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=55df8145989e32ebfb182af248f99b57&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>Hey Andy,<br /> Wondering if one of your plugins can help here, or if I can use code over at Mi to solve this problem. I'm just starting out with ACL (well, I have it fully functional with a simple User-Plans model, but given your understanding of ACLs, I am a novice).<br /> So anyway, things start to get more complicated when I introduce an association between Users and Plans.<br /> <br /> I now have User HasMany Memberships, User BelongsTo Memberships (via current_membership_id), Membership belongsTo Plan, (and conversely Plan HasMany Memberships). Thats how my models are related. My question though is on ACL AROs. In the AfterSave() for the User ...when I save a User, how do i get the parentNode of the User? So that the AROs and ARO_ACO tables get updated?<br /> Furthermore the ACL checking in cake is transparent. Would just updating parentNode (how, i still dont know) be good enough when cake does its ACL checks? <br /> <br /> If you could show us how to do that, it could help future readers too (but most importantly it would help me 8)<br /> <br /> Look forward to your comment, and keep up the good work.<br /> Cheers.<br /> </p>Sat, 11 Jul 2009 20:27:50 +0200brain dumps said ... (Ego v Benefit)http://www.ad7six.com/read/75-Ego-v-Benefit#comment-4ae8cfa0-de50-4056-ac90-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:75/slug:Ego-v-Benefit#comment-4ae8cfa0-de50-4056-ac90-2027b57cbbdfhttp://www.ad7six.com/read/75-Ego-v-Benefit#comment-4ae8cfa0-de50-4056-ac90-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=81d42c524c581549462b8869e5e5bd40&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" />Nice blog!Thanks for sharing!<a href="http://www.braindumpsinfo.com">brain dumps</a>Thu, 09 Jul 2009 08:36:08 +0200Baker said ... (Debugging test cases)http://www.ad7six.com/read/65-Debugging-test-cases#comment-4ae8cf9f-8f2c-4703-a397-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:65/slug:Debugging-test-cases#comment-4ae8cf9f-8f2c-4703-a397-2027b57cbbdfhttp://www.ad7six.com/read/65-Debugging-test-cases#comment-4ae8cf9f-8f2c-4703-a397-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=094d8ccdc6fa2922276a448ede39ed2a&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>This debug in cake is one of the reasons I think its so popular, you almost never deliver a site with bugs, so thats why cake is good, ohh here have some cake http://www.droparecipe.com/recipes/view/chocolate-cake <br /> ;)</p>Wed, 08 Jul 2009 13:53:18 +0200Merchant said ... (The Cookbook Source is released into the wild)http://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9f-6168-4314-b658-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:79/slug:The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9f-6168-4314-b658-2027b57cbbdfhttp://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9f-6168-4314-b658-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=88a06eef68692f1747658448626b4632&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" />Is there a particular reason why you choose to host it on thechaw?.Reason for my question is that the site makes it a bit hard to read the installation instructionsTue, 02 Jun 2009 20:12:18 +0200Andy said ... (Bake yourself a complete admin backend - in one call)http://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cf9f-1550-4cfe-8dad-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:76/slug:Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cf9f-1550-4cfe-8dad-2027b57cbbdfhttp://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cf9f-1550-4cfe-8dad-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=876a61b58a729fcf71048529885d64dc&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>Hi D7a7z7e7d,</p> <p>This post is a bit out of date (yes you're right, cake changed in the past year) - active development for everything is in <a href="http://trac.assembla.com/mi/browser/branches/base">Mi Base</a></p> <p>Cheers</p> <p>AD</p>Tue, 19 May 2009 08:23:22 +0200d7a7z7e7d said ... (Bake yourself a complete admin backend - in one call)http://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cf9e-7df0-48c8-b7b8-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:76/slug:Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cf9e-7df0-48c8-b7b8-2027b57cbbdfhttp://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call#comment-4ae8cf9e-7df0-48c8-b7b8-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=41590aafcf5b8f45a03fc7dfb82d9c92&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>This doesn't work with CakePHP 1.2.2.8120 or above does it? <br /> <br /> It seems there is a problem with the filter. It forms weird queries when you try to filter by something.<br /> <br /> SELECT `Brand`.`id`, `Brand`.`name`, `Brand`.`modified`, `Brand`.`created` FROM `brands` AS `Brand` WHERE `Brand`.`id` = '= 2' ORDER BY `Brand`.`name` desc LIMIT 20<br /> <br /> Notice the = '= 2' part. Did a change to the cake core break this functionality? Any suggestions for fixing it?</p>Mon, 18 May 2009 22:21:24 +0200Erich Musick said ... (Apache named parameter problem)http://www.ad7six.com/read/62-Apache-named-parameter-problem#comment-4ae8cf9e-1c64-4a80-af08-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:62/slug:Apache-named-parameter-problem#comment-4ae8cf9e-1c64-4a80-af08-2027b57cbbdfhttp://www.ad7six.com/read/62-Apache-named-parameter-problem#comment-4ae8cf9e-1c64-4a80-af08-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=df5638bf6349171cd8a21a0d22dec420&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" />I had the same problem on Windows Server 2003 with Apache 2.2.11. I went with the first fix: <blockquote>Don't use a named parameter as the first root level parameter. The url /index/orAnything/something:somethingelse will work fine.</blockquote> Specifically, I was using this with Mediawiki. I was trying to do: http://myserver/Article_Title but instead went with http://myserver/wiki/Article_Title. Thanks for the helpful note! - ErichMon, 11 May 2009 23:55:19 +0200Kunthar said ... (Bad News)http://www.ad7six.com/read/77-Bad-News#comment-4ae8cf9e-7e50-4d57-864c-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:77/slug:Bad-News#comment-4ae8cf9e-7e50-4d57-864c-2027b57cbbdfhttp://www.ad7six.com/read/77-Bad-News#comment-4ae8cf9e-7e50-4d57-864c-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=2bd1a77ad9f1b21214f11849e643b922&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" />Light is everywhere. Hope you and your family feel better now. My best wishes to you and your wife.Mon, 20 Apr 2009 15:49:22 +0200Andy said ... (The Cookbook Source is released into the wild)http://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-6198-4710-b6d3-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:79/slug:The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-6198-4710-b6d3-2027b57cbbdfhttp://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-6198-4710-b6d3-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=876a61b58a729fcf71048529885d64dc&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>Hi Greg,<br /> <br /> Attachments are not actively used in the cookbook, and the code related to attachments is more or less obsolete. It's just the upload mechanism.<br /> <br /> But anyway, if you browse to /admin/attachments/add/node/123 you should be able to upload a file/image which you'd then see available to you when editing node 123. There's not much magic to it though, and any upload solution is likely to outdo what it offers.<br /> <br /> Find me on freenode #cakephp-docs if you have any problems or questions regarding the cakebook application.<br /> <br /> Cheers,<br /> <br /> AD</p>Thu, 16 Apr 2009 00:59:46 +0200greg said ... (The Cookbook Source is released into the wild)http://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-8acc-4b8d-9c37-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:79/slug:The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-8acc-4b8d-9c37-2027b57cbbdfhttp://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-8acc-4b8d-9c37-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=090ba06ea6f47ec1ea312ddfef2b33d8&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>Thanks for your work on the Cakebook. I am working on using it for the base of a policies and procedures application.<br /> <br /> I'm currently trying to figure out the exact purpose of the "attachments". I was expecting to be able attach files and have them appear when looking at a related node. Other than the "edit" view of the node, I don't see any reference to attachments in any of the node views. <br /> <br /> Am I misunderstanding the purpose of attachments?<br /> <br /> Thanks</p>Wed, 15 Apr 2009 21:39:15 +0200 said ... (The Cookbook Source is released into the wild)http://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-8ef4-4c3d-b893-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:79/slug:The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-8ef4-4c3d-b893-2027b57cbbdfhttp://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9d-8ef4-4c3d-b893-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=d41d8cd98f00b204e9800998ecf8427e&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" />Mon, 13 Apr 2009 15:45:52 +0200 said ... (The Cookbook Source is released into the wild)http://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9c-6074-42bd-896c-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:79/slug:The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9c-6074-42bd-896c-2027b57cbbdfhttp://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild#comment-4ae8cf9c-6074-42bd-896c-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=d41d8cd98f00b204e9800998ecf8427e&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" />Sat, 11 Apr 2009 05:15:51 +0200Web Development said ... (Speed up your dev: write custom bake templates)http://www.ad7six.com/read/73-Speed-up-your-dev-write-custom-bake-templates#comment-4ae8cf9c-f2a4-4692-9123-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:73/slug:Speed-up-your-dev-write-custom-bake-templates#comment-4ae8cf9c-f2a4-4692-9123-2027b57cbbdfhttp://www.ad7six.com/read/73-Speed-up-your-dev-write-custom-bake-templates#comment-4ae8cf9c-f2a4-4692-9123-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=f344bc4bf6385bc44f1e43e4fed64168&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>Templates are definitely key, I would think getting the output as valid XHTML was easy within the templates, i.e. code once and reuse and you make sure those snippets of code validate.<br /> <br /> This way you can create sections which can easily be added/removed and not interfere with the overall framework, unless of course they are the framework templates.</p>Tue, 24 Mar 2009 17:45:59 +0100Web Design said ... (Ego v Benefit)http://www.ad7six.com/read/75-Ego-v-Benefit#comment-4ae8cf9c-c934-4562-a9ff-2027b57cbbdfhttp://www.ad7six.com/comments/index/id:75/slug:Ego-v-Benefit#comment-4ae8cf9c-c934-4562-a9ff-2027b57cbbdfhttp://www.ad7six.com/read/75-Ego-v-Benefit#comment-4ae8cf9c-c934-4562-a9ff-2027b57cbbdf<img src="http://www.gravatar.com/avatar.php?gravatar_id=f344bc4bf6385bc44f1e43e4fed64168&default=%2Fimg%2Favatar%2Fdefault%2C45x45.gif&size=45" align="right" style="margin: 0 0 20px 20px;" alt="" /><p>The benefits totally outweigh the ego imo, it's important to get a good following and advocates of the information/product.<br /> keep the blog going, it's a great way to increase the awareness and speed of prototyping ideas.</p>Tue, 24 Mar 2009 17:17:34 +0100