Re: David Persson´s Media Plugin Problems

2009-07-23 Thread mbavio
Anyone can help me? David? Thanks. On Jul 22, 12:06 pm, mbavio mba...@gmail.com wrote: Hey, I´m, trying to incorporate the plugin in my app, since it seems amazing! But I´m having some problems trying to implement it. Here they are: I have Listing hasMany Attachment relationship Then my

David Persson´s Media Plugin Problems

2009-07-22 Thread mbavio
Hey, I´m, trying to incorporate the plugin in my app, since it seems amazing! But I´m having some problems trying to implement it. Here they are: I have Listing hasMany Attachment relationship Then my data array is filled like this: Array ( [Listing] = Array ( [id] =

Re: Pass variable to jQuery

2009-05-08 Thread mbavio
Why not to create html attributes (like rel) that can be then extracted by the dom parser that jQuery has? I read this techinque somewhere, I cant remember where... On May 8, 10:16 am, brian bally.z...@gmail.com wrote: On Thu, May 7, 2009 at 2:45 PM, Dave Maharaj :: WidePixels.com

Re: CakePHP or Symfony Which is the Best?

2009-05-08 Thread mbavio
Not very clever to start a thread asking if A is better or worse than B, being this the A official list. On May 8, 5:13 pm, Samuel DeVore sdev...@gmail.com wrote: On Fri, May 8, 2009 at 4:41 AM, Sarika sarik...@gmail.com wrote: Hi Friends, Which PHP framework is the best? Symfony or

Re: EmailComponent - Proper usage for mass mailing

2009-04-15 Thread mbavio
Cronjobs are working for me, with a Shell of course. On Apr 15, 4:54 pm, brian bally.z...@gmail.com wrote: You definitely don't want to send more than a couple emails in a loop using the default EmailComponent. I suppose you could write a shell that would sleep between batches. I've been

Re: Wordpress is CakePHP

2009-02-19 Thread mbavio
Damn, by the title of the post, I thought that Matt was going to port Wordpress to use CakePHP. What a huge spread of the framework would be that! :P On Feb 19, 12:07 pm, Henrik Bjørnskov hen...@bjornskov.eu wrote: Why dont you host it on a subdomain on the same server ? On Feb 19, 2:26 pm,

Re: Mambo on CakePHP brainstorm

2008-11-19 Thread mbavio
what the CakePHP users/developers expect on a cake based CMS. So, go ahead, lets have fun Andrés Hi, Andres, take a look at the best features of Wordpress, and you will have your answer. Clean API, easy theming, and the chance to make plugins anytime. Just my two cents. Cheers, mbavio

Re: is Cakephp 1.2 faster than Code Igniter ?

2008-10-28 Thread mbavio
Amen! That Hello World test are so useless... Teknoid, you are the man! Cheers, mbavio On Oct 27, 11:38 pm, teknoid [EMAIL PROTECTED] wrote: Here's a test... Create a file index.html in the web root of your server with the content hello world. Now take any framework and compare the speed

Re: cakePHP CMS

2008-10-21 Thread mbavio
On Oct 20, 4:53 pm, Predominant [EMAIL PROTECTED] wrote: Hi Waqar Aziz, Its a shame we get idiots responding on the list and not helping. Wow, mate, chillout! You seriously need to turn off your computer and go visit your gf! Cheers, mbavio

Re: Creating a Settings / preferences Component

2008-10-19 Thread mbavio
bootstrap.php? On Oct 19, 1:20 pm, Smelly_Eddie [EMAIL PROTECTED] wrote: Better yet. What area should I add code to load Persistent Global variables across all my pages. That way i can just load all my settings at first visit, and skip all this trouble.

Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-02 Thread mbavio
This is amazing! Congratulations to all core team, you are really a superb developing team! And Mark Story day, what a good idea! Haha Cheers, mbavio On Oct 2, 9:47 am, Sliv [EMAIL PROTECTED] wrote: This is fantastic news and many thanks to everyone who contributed! Looking forward to trying

Re: Documentation - Cakes bad side

2008-10-02 Thread mbavio
Maybe next time you can ask if the functionality is broken first, and avoid kabturek a headache :) Cheers. mbavio On Oct 2, 9:31 am, leberle [EMAIL PROTECTED] wrote: Ohpsthat explains it...thx for the info :) On Oct 2, 2:15 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The search

Re: Linking to the admin area?

2008-09-26 Thread mbavio
Or just... echo $html-link(Admin, array(controller = users, action =accnt, admin = true)); Cheers, mbavio On Sep 26, 12:19 pm, Gabriel Kolbe [EMAIL PROTECTED] wrote: S'ok, found the answer.. echo $html-link('Admin Area', '/admin/users/accnt'); On Fri, Sep 26, 2008 at 4:14 PM, gabriel

Re: CakePHP not recommenable for busy websites?

2008-09-22 Thread mbavio
example than that. Cheers, mbavio On Sep 21, 9:19 pm, Nate [EMAIL PROTECTED] wrote: http://book.cakephp.org/view/510/Sites-in-the-wild Take special note of the Mozilla Add-ons portal, one of the most heavily trafficked in the world. On Sep 21, 2:35 am, toby78 [EMAIL PROTECTED] wrote: I am

Re: The First CakePHP Book is out!

2008-07-16 Thread mbavio
WTF! No books before and now we have two in a row! I´m talking about the one that I thought it was going to be the first: http://apress.com/book/view/9781430209775 Seems like I need to buy two books now. Damn. Cheers, mbavio On Jul 16, 1:00 pm, neugi [EMAIL PROTECTED] wrote: which version(s

Re: Best way to include functionality in models

2008-07-11 Thread mbavio
Also, Mariano´s presentation in CakeFest in available for download in the official website, it is about behaviors and is a really good one. Cheers, mbavio On Jul 11, 5:42 am, AD7six [EMAIL PROTECTED] wrote: On Jul 11, 10:20 am, CrazyDave [EMAIL PROTECTED] wrote: @AD7Six, I'm still not clued

Re: the questions rarely answered. why?

2008-07-11 Thread mbavio
There is a reason why Google exists, and I really hate when users post something that can be founded in 20 seconds of Google. Feels like you are wasting my time and yours too. Cheers, mbavio On Jul 11, 9:13 am, Siebren Bakker [EMAIL PROTECTED] wrote: I think that at one point or another, we've

Re: ACL: allowing modifications to row to owner only

2008-07-08 Thread mbavio
tool always. For example, in this case. Instead of creating an gigantic tree of ACOS, why dont you add a new user_id row to your creations db with, and then you can check it jusr using the User session id. It´s much simpler, and way faster. Cheers, mbavio On Jul 8, 7:50 am, Paolo [EMAIL PROTECTED

Re: trouble with isAuthorized()

2008-07-03 Thread mbavio
The login method is called automatically by Auth Component, if you redirect to there and you have $this-data filled with the right info, it will login. A way to solve this? I really dont know, I´ve never tried to not use this function Let´s hear Cake gurus now! Cheers, mbavio On Jul 3, 2

Re: ACL: Record level access. No magic?

2008-06-28 Thread mbavio
Exactly, use the logged user session and stop asking ACL to do things that it doesnt suppose to do. Cheers, mbavio On Jun 28, 2:05 pm, francky06l [EMAIL PROTECTED] wrote: I use another solution, since the user is logged you do not need to pass any username to the edit function. Just pick up

Re: Release: Some RC2 Sweetness

2008-06-27 Thread mbavio
Thanks! Cheers, mbavio On Jun 27, 1:33 pm, francky06l [EMAIL PROTECTED] wrote: Great, thanks to the team !! On Jun 27, 1:58 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: We get so much cake lately we're all gonna get fat like Elvis in stage 3.. :-) On Jun 27, 11:46 am, Marcin

Re: Documentation

2008-06-25 Thread mbavio
John, In IRC, I see frequently ACL questions, of all kind. That part needs to be improved, in my opinion. Thanks, mbavio On Jun 25, 11:36 am, leo [EMAIL PROTECTED] wrote: Some parts of the manual are just wrong - the code examples for ACL for example. Others don't seem to go far enough - I

Re: content-based ACL

2008-06-23 Thread mbavio
and importing them. Not nice. You can make an web interfase for ACL administration. Havent you read Franky tutorial in cakeforum? Cheers, mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: content auth

2008-06-23 Thread mbavio
I have an idea... USE GOOGLE!!! On Jun 21, 11:03 pm, phobic [EMAIL PROTECTED] wrote: Hi there! I want to secure my application. Basicly i want the users to be able to create one article and add content under it. How would i restrict access to all other than their own article and

Re: exception handling in phpcake

2008-06-23 Thread mbavio
CakePHP is not php4, it´s php4 and php5. Cheers, mbavio On Jun 23, 4:13 am, Marcelius [EMAIL PROTECTED] wrote: If you are talking about Exception classes (with try..catch) there are none because cake is php4 PHP errors are handled by the debugger class On 23 jun, 06:36, SajjadRaza [EMAIL

Re: content-based ACL

2008-06-23 Thread mbavio
No I haven't seen that one. http://www.cakephpforum.net/index.php?showtopic=27 A bit long, but really useful :) Cheers, mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group

Re: content-based ACL

2008-06-21 Thread mbavio
cake coder (actually, I think I´m one of the dumbest :)) and I get it! It´s just a matter of keep reading, and trying, and making mistakes, and it can be hard, but the reward is not worrying about this topic anymore, because Cake already solve for you! Cheers, mbavio

Re: content-based ACL

2008-06-21 Thread mbavio
I was not talking about you, I was talking about the first response you got, from leo, that is a common response in this topic. Cheers, mbavio On Jun 21, 3:50 pm, gripen [EMAIL PROTECTED] wrote: Latelly, I dont understand many users that complain about ACL Component is too hard, so I wont

Re: CakePhp.org suggestion for small improvement

2008-06-17 Thread mbavio
Are you the same guy that request CakeBaker´s inclusion in homepage? Lol, you need to close CakePHP homepage! :) Good thought this one. Cheers, mbavio On Jun 18, 1:22 am, villas [EMAIL PROTECTED] wrote: Yes, I knew what you meant but I was just thinking it sounded negative to newcomers

Re: Dynamic Routing

2008-06-13 Thread mbavio
Not necesarily with reverse routes... I guess... http://debuggable.com/posts/new-router-goodies:480f4dd6-4d40-4405-908d-4cd7cbdd56cb On Jun 13, 7:23 am, RichardAtHome [EMAIL PROTECTED] wrote: Another problem with slug based URLs is .. What if they change the slug? You'll get a bunch of

Re: ACL - can't create records. Am I being really dumb?

2008-06-13 Thread mbavio
Use ACL Behavior, it will save you a lot of time. And read this tutorial: http://aranworld.com/article/161/cakephp-acl-tutorial-what-is-it Btw, good name for the post! Cheers, mbavio On Jun 13, 12:41 pm, leo [EMAIL PROTECTED] wrote: Well, yes, I know about those, but as I'm following

Re: FCK Editor Integration on cakePHP 1.2

2008-06-12 Thread mbavio
Do it with jQuery plugin. It´s just so easier and cleaner. Cheers, mbavio On Jun 12, 9:37 am, MoeAlexIT [EMAIL PROTECTED] wrote: Dear Bakers, i want to integrate FCK Editor with cakePHP i readhttp://bakery.cakephp.org/articles/view/using-fckeditor-with-cakephp but i got no result. i

Re: Better Performance in Separate Database Tables?

2008-06-12 Thread mbavio
to some changes in the code, but you can find the source code here: https://anon.svn.ariworks.co.kr/projects/extendable/trunk/app/models/behaviors/extendable.php Hope it helps. Cheers, mbavio On Jun 12, 12:23 pm, Cheeze [EMAIL PROTECTED] wrote: Cool. Thanks to everyone who replied! On Jun 12

Re: LIKE operator with a function

2008-06-12 Thread mbavio
Seems like the cool -! trick is no longer supported, you need to do $this-query now to make it work. Cheers, mbavio On Jun 12, 3:48 pm, igorp [EMAIL PROTECTED] wrote: Of course ... being involved in projects with micros all the time I forgot about the HTML protocol ... Thank for your kick

Re: ACL schema

2008-06-09 Thread mbavio
Extend the AuthComponent sounds nice, but I think it´s a feature that needs to be added to the core, not just to my app. I´m thinking of opening a new enhancement ticket for next release of the framework. Cheers, mbavio On Jun 9, 4:36 am, XuMiX [EMAIL PROTECTED] wrote: Just extend

Re: Strict or Pretty? We're looking for a few good opinions

2008-06-09 Thread mbavio
Another vote for strict. Cheers, mbavio On Jun 9, 9:18 am, Sliv [EMAIL PROTECTED] wrote: Personally, I think it's best to pick standards up-front to abide by for anything your code taps into and then commit yourself to conforming to those documented standards...If you're using PHP, make

Re: ACL schema

2008-06-08 Thread mbavio
The question is: can I use the same syntax for ACOS instead of alias. I mean the second param... Cheers, mbavio On Jun 7, 9:11 am, aranworld [EMAIL PROTECTED] wrote: For some reason, I thought the AuthComponent used the username in it's call to check but I can now see that in it's first

Re: What is the best Image Upload / Thumbnail package for CakePHP?

2008-06-06 Thread mbavio
AD7six upload behavior is the best tool thast you will find for this. Cheers, mbavio On Jun 6, 1:39 pm, Guillaume [EMAIL PROTECTED] wrote: What do you think of Attachment aka attm?http://cakeforge.org/projects/attm/ It deals with the upload part and the multi-size display part too... On 6

Re: ACL schema

2008-06-06 Thread mbavio
'); and complement it with Acl Behavior, that not set Alias by default. Just my two cents. Cheers, mbavio On May 27, 11:29 am, aranworld [EMAIL PROTECTED] wrote: The Auth component has very specific rules for how it checks access. In 'actions' mode, it will do: check( 'username', 'CamelCaseController/action

Re: Is Cake the right choice for this...?

2008-06-05 Thread mbavio
, you will need to tweak a bit to fit in your app, but it works perfect. Hope you can stay with Cake, I assure you, you will nor regret. Cheers, mbavio [EMAIL PROTECTED] wrote: Hi folks, I have to develop a file uploading system with the following requirements: - admin can add clients

Re: How to create Table of contents (TOC) in cakephp

2008-06-04 Thread mbavio
Lol! Write a helper! On Jun 4, 2:06 pm, [.::MDT::.] [EMAIL PROTECTED] wrote: Hi, I would like to create a table of contents, you know, those html pages used for example for the FAQ where you write questions and answers with all the questions in the top of the page linking to the answer in the

Re: One app, many roles and priviledges. How?

2008-06-03 Thread mbavio
. But with the scenario that you gave, ACL is enough. Cheers, mbavio On Jun 2, 4:08 pm, James K [EMAIL PROTECTED] wrote: Unless the different roles have access to totally different functionality, I don't see why you'd want to do this. It'd be much easier to have the form(s) customize themselves based

Re: translating months for a select

2008-06-03 Thread mbavio
will be able to change that :) Cheers, mbavio On Jun 3, 10:24 am, Adriano Varoli Piazza [EMAIL PROTECTED] wrote: I'd like to translate the months in a $form-dateTime to Spanish. I've seen that I can change the __generateOptions method in form.php, but I'd like not to touch the core if at all possible

Re: Please include CakeBaker on the blog list

2008-06-03 Thread mbavio
. Maybe you are right in your thoughts, but that words separate you nothing of Daniel words that you complain so much. Cheers, mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group

Re: Different roles / different views / one model ?

2008-06-02 Thread mbavio
Have you heard of something called ACL? Cheers, mbavio On Jun 2, 11:11 am, Jaime [EMAIL PROTECTED] wrote: On 4 mayo, 17:02, baur79 [EMAIL PROTECTED] wrote: i have model contract and 3 types of users manager / lawyer / broker each of them have different privileges on this model

Re: Templating for Shops

2008-05-30 Thread mbavio
Your users are going to know html or some programming language? Maybe you can set up default modules and let your users only choose from there... Cheers, mbavio On May 30, 4:35 am, Max [EMAIL PROTECTED] wrote: Hey, I am trying to integrade templating to allow my users to change make their own

Re: InPlaceEditor

2008-05-29 Thread mbavio
http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/ Have fun. mbavio On May 29, 5:07 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Thu, May 29, 2008 at 4:03 PM, Kyle Decot [EMAIL PROTECTED] wrote: I am attempting to build an ajax calendar. Each date will have a piece

Re: more fields in list function

2008-05-16 Thread mbavio
grigri, You really really save my day. Thanks a lot! Cheers, mbavio On 16 abr, 06:23, Grzegorz Pawlik [EMAIL PROTECTED] wrote: grigri said: You can also use {1} {2} as the format string instead of the sprintf() format, if you like. Personally I prefer the sprintf format... Yeah

Re: Routing for plugins: good idea, no implementation

2008-05-14 Thread mbavio
I would be really cool if you can add something like that to the core! Cheers, mbavio On 13 mayo, 03:42, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I agree. It would be a sweet feature. With the default routes in place: example.com/pizza/orders/ This url will already fall back on different

CakePHP design

2008-05-09 Thread mbavio
chance... Congratulations, dude, your design really rocks! Cheers, mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Something on the top of CakePHP

2008-05-08 Thread mbavio
. Congratulations, you are a mature programmer. It´s a shame that there are only a few of them. Cheers, mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Re: OT: Shitty Community

2008-05-08 Thread mbavio
I think this guy is just looking for 5 minutes of fame and fortune :P Cheers, mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: What kind of authentication script?, tutorial? do you use?

2008-05-08 Thread mbavio
DarkAuth seems like a simpler solution to simple cases, but if you need the FULL power, you need to learn how to use Auth / ACL. Two months ago, I would tell you good luck with that, but nowadays there are plenty of docs, including the amazing CookBook. Cheers, mbavio On May 8, 2:31 pm, Mathew

Re: OT: Shitty Community

2008-05-08 Thread mbavio
And your post is a bit ironic... Your are asking for polite manners, and the title of the post is Shitty Community... Lol, I just think that you are bored and you have nothing better to do than fudd a little. Calm down, it will be worse if anybody answers any question. Cheers, mbavio On May 8

Re: Model filter possible

2008-05-08 Thread mbavio
When you define the model associations, you can add a conditions key to the array. Check the CookBook and you will understand what I mean. Wait, let me give you an example: var $hasMany = array('Book' = array('conditions' = array('Book.price' = '!= 0'))); Hope this can help you. Cheers, mbavio

Re: Model filter possible

2008-05-08 Thread mbavio
' = 'ChildCategory.order ASC', ) ); So you can see that I can relate a model with itself. Cheers, mbavio On May 8, 5:08 pm, jmmg77 [EMAIL PROTECTED

Re: Restrict URLs and Views

2008-05-07 Thread mbavio
Use the RequestHandler Component. Cheers, mbavio On 8 mayo, 00:03, codejunkie [EMAIL PROTECTED] wrote: Hi I want to restrict the views and data shown. Like we implement a view (display) for controller (Users), and there's another view (json_display) which only provides json data. I

Sending Newsletter problems

2008-05-06 Thread mbavio
. Well, anybody has been in some similar situation? Any kind of help is apreciated. Thanks! mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread mbavio
This forking wiki has nothing to do with the attemp to fork CakePHP, or has it? Seems like we are under attack! On May 6, 11:50 am, John David Anderson [EMAIL PROTECTED] wrote: On May 6, 2008, at 8:36 AM, Marcin Domanski wrote: Hey The content is owned by the Cake Software Foundation

Re: Sending Newsletter problems

2008-05-06 Thread mbavio
but seems like it´s working. I change the code and now before every sent, I do $this-Email-reset() and load all the headers and body of the email again. In this way, the size of the mail stills the same in every sent. Thanks again, mbavio --~--~-~--~~~---~--~~ You

Re: CakePlus - On the top of CakePHP

2008-05-04 Thread mbavio
to have 750 versions. Sounds crazy to me, every good proyect needs heads and core work. Cheers, mbavio On May 4, 12:17 pm, Dérico Filho [EMAIL PROTECTED] wrote: On May 3, 12:31 pm, nate [EMAIL PROTECTED] wrote: So it sounds like what you're talking about is really more like a fork

Re: change password

2008-05-03 Thread mbavio
']); } And in my view I have three fields, old_password, password, and repeat_password. The validation of equality between password and repeat_password is done in the model. Cheers, mbavio On May 3, 1:59 am, damo [EMAIL PROTECTED] wrote: Trying to write a controller to change the password. The only guide I

Re: Sharing plugins between several CakePHP websites.

2008-05-03 Thread mbavio
You have a plugins folder in the root of the Cake folders directory. That´s where you need to pu your plugins. Cheers, mbavio On May 2, 11:53 am, mustan9 [EMAIL PROTECTED] wrote: Hi, I have 3 websites that all require a blog reusable component that I'm developing. Can I share the same plug

Re: Looking for the Rapid in Cakephp

2008-05-02 Thread mbavio
On May 2, 11:32 am, Chris Hartjes [EMAIL PROTECTED] wrote: Pfft. *Real* designers use vim and edit the images as binaries. :) Hahaha that would be very funny to see in action :P Cheers, mbavio --~--~-~--~~~---~--~~ You received this message because you

Re: CakePHP css files

2008-05-02 Thread mbavio
Lol, use Web Developer Toolbar, and grab them directly from the website. Cheers, mbavio On May 1, 12:37 pm, Sliv [EMAIL PROTECTED] wrote: which site are you talking about, and why can't you grab the links from the page source? --~--~-~--~~~---~--~~ You received

Re: Looking for the Rapid in Cakephp

2008-05-01 Thread mbavio
I was talking just about XHTML code and some simple forms... If you are going to grow so much, of course, use CakePHP, but that is a matter of application design. Cheers, mbavio On May 1, 5:58 am, Marcin Domanski [EMAIL PROTECTED] wrote: But these flies could mutate into giant-human-eating

Re: Looking for the Rapid in Cakephp

2008-05-01 Thread mbavio
. Cheers, mbavio On May 1, 3:37 pm, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: Lol, if you want to write html fast, use some ide with autocomplete function, or the magic of Textmate. I dont see the benefits of using CakePHP in that cases. Seems to me like shooting to flies with canons. I do

Re: Find vs. Query

2008-04-30 Thread mbavio
Or you can use Bindable Behavior to manage your bindings and recursives... http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model-bindings Cheers, mbavio On Apr 30, 10:08 pm, validkeys [EMAIL PROTECTED] wrote: you're the best dave, thanks! On Apr 30, 6:36 pm, [EMAIL

Re: Looking for the Rapid in Cakephp

2008-04-30 Thread mbavio
Lol, if you want to write html fast, use some ide with autocomplete function, or the magic of Textmate. I dont see the benefits of using CakePHP in that cases. Seems to me like shooting to flies with canons. Cheers, mbavio On Apr 30, 8:10 pm, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: Why

Re: Doubt with 2ble Auth

2008-04-29 Thread mbavio
Common sense? Cheers, mbavio On Apr 28, 9:58 pm, Nicolás Andrade [EMAIL PROTECTED] wrote: Thanks for your time. I will print at least the 3 or 4 first pages of the link you've sent to read in the bed, before sleeping. Any other suggestion?? Greets! Nicolás Andrade (Wikipedia Reader

Re: Looking for the Rapid in Cakephp

2008-04-29 Thread mbavio
Why on earth are you using CakePHP only for a form? Use PHP, and 5 minutes of your life. Cheers, mbavio mbavio.com.ar On Apr 29, 1:20 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Apr 29, 2008, at 10:15 AM, gstrock wrote: thanks for the insight. I think I'm just having

Re: Custom Login for Auth Component?

2008-04-29 Thread mbavio
And dont forget to share it with the community after finished :P Cheers, mbavio mbavio.com.ar On Apr 29, 3:39 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Tue, Apr 29, 2008 at 2:29 PM, BrendonKoz [EMAIL PROTECTED] wrote: I'd really like to take advantage of CakePHP v1.2's Auth and ACL

Re: save() keeps creating new records, not updating old ones

2008-04-26 Thread mbavio
Two options: 1) Why not just use $this-Profile-Info-id = $yourID; 2) Why not just save the Profile Model, the Associatives Models should save with it if the data is present in the correct format. Cheers, mbavio On Apr 25, 5:55 pm, Chez17 [EMAIL PROTECTED] wrote: So I finally figured this out

Re: how to save a particular field in php cake

2008-04-25 Thread mbavio
Cookbook, API, Google, etc, etc, etc Cheers, mbavio mbavio.com.ar On Apr 25, 10:17 am, Chris Hartjes [EMAIL PROTECTED] wrote: On Fri, Apr 25, 2008 at 5:41 AM, Rocky [EMAIL PROTECTED] wrote: Plz help me out How to save a particular field in php cake Before you ask your next

Re: New Set of ACL Tutorial Articles

2008-04-15 Thread mbavio
://aranworld.com/article/166/cakephp-acl-tutorial-usage-with-auth... http://aranworld.com/article/167/cake-php-acl-tutorial-the-database-t... Nice, I´m gonna read them, if they are good, I will owe you a bunch of beers! And maybe you can add them to the cookbook. Cheers, mbavio

Re: OT: What code editors do you all use?

2008-04-09 Thread mbavio
Aptana rocks! But Textmate for Mac is amazing... Cheers, mbavio On Apr 9, 8:22 pm, aranworld [EMAIL PROTECTED] wrote: I really love Cream, which is a redistribution of vim with all the bells and whistles added and with all the configuration options that people more used to mouse click

Re: Email::send() in a loop. (1.2.x.x)

2008-04-08 Thread mbavio
, it just seems like a pretty common scenario Lol, now I understand your problem. reset() wont work for you. But in the trac seems like the fix was made, so you are on track to send that multiple mails! Cheers, mbavio --~--~-~--~~~---~--~~ You received this message

Re: Email::send() in a loop. (1.2.x.x)

2008-04-07 Thread mbavio
Has everybody forgotten how to search? http://groups.google.com/group/cake-php/browse_thread/thread/f71da62dc353b315/84b00fbeda1df451?hl=enlnk=gstq=email+reset#84b00fbeda1df451 That post hasnt two days. Please, search before post, ALWAYS! Cheers, mbavio On Apr 6, 7:01 pm, Chris Hartjes [EMAIL

Re: problem handling huge database

2008-04-07 Thread mbavio
why not to increase the amount of die time with set_time_out(), at least to read the sql querys. Cheers, mbavio On Apr 7, 3:55 pm, b logica [EMAIL PROTECTED] wrote: Sorry, no. I should've clarified that. Luckily for me, the client decided she wants the whole shebang on one page. I'm not sure

Re: dbdesigner2cake : DBDesigner 4 Scaffold Tools for CakePHP - 1.0.6 - Minor Release

2008-04-06 Thread mbavio
Lol, this tool rocks! It´s definitely a MUST HAVE for every baker! Thanks for that amazing piece of code! Cheers, mbavio On Apr 5, 1:26 pm, Dérico Filho [EMAIL PROTECTED] wrote: Hello All, A minor release of dbdesigner2cake is available. Those who are using the release 1.0.5 or previous

Re: forum plugin

2008-04-06 Thread mbavio
I don´t know anyone, but you could write one and share with us :) Cheers, mbavio On Apr 5, 7:05 pm, Knud Soerensen [EMAIL PROTECTED] wrote: Do there exist a forum plugin for cakephp ?? I need a forum plugin which is easy to modify. Does anyone know if there is on written with cakephp

Re: Loosing faith in cake

2008-04-06 Thread mbavio
On Apr 6, 1:35 pm, Sliv [EMAIL PROTECTED] wrote: subject losing faith in cakephp vs. subject I'm having trouble with HABTM in cakephp and don't know what to do to resolve it We have a winner! Cheers, mbavio --~--~-~--~~~---~--~~ You received this message

Re: InPlaceEditor

2008-04-03 Thread mbavio
Dude, uso jQuery, there is a plugin called jEditable, and it´s so easy to implement... http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/ Cheers, mbavio On Apr 3, 1:28 pm, Joel [EMAIL PROTECTED] wrote: Look in $this-params['form']['value']. Use Firebug to debug AJAX

Re: Is cakePHP alive?

2008-04-02 Thread mbavio
Troll fear? :) Cheers, mbavio On Apr 1, 7:43 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks :) Now I can be happy again ;) Yes, in error report Zend Optimizer is mentioned :( On 1 Bal, 08:09, Grant Cox [EMAIL PROTECTED] wrote: I'll bet that what is actually crashing

Re: Problems with Acl/Auth

2008-04-02 Thread mbavio
if you need some help. Cheers, mbavio On Apr 1, 7:50 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I decided on taking a different route and cutting out the ACL all together. I changed the Auth system to be based on the controller rather then actions //$this-Auth-authorize = 'actions

Form validation priorities

2008-03-25 Thread mbavio
. If i remove it, all works just fine. So, is there a bug here or am I the only one who thinks that on = create has to have more priority than the other lines? Cheers, mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

How do you handle Guest Users?

2008-03-24 Thread mbavio
this creating a new Aro for Guest and setting the session id to the same number when a user first enter the page. That way, I can allow/deny Guest users trough my authorization system. There has to be better ways. Any idea? Cheers, mbavio --~--~-~--~~~---~--~~ You received

Re: How do you handle Guest Users?

2008-03-24 Thread mbavio
know. But now I have a new question, regarding to Auth: Is there any way to add an Not logged message and redirect the user to login. loginAction perhaps? Tks, mbavio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: How do you handle Guest Users?

2008-03-24 Thread mbavio
I don't have anything set up for guests and it works well. If a page requires a user or admin and there is no valid user session, it gets denied. No database hit required. Another question: where do you set if a page requires a user or admin? Cheers, mbavio

Re: How do you handle Guest Users?

2008-03-24 Thread mbavio
Tks jonknee, I will take a look to the link. Unfortunately, I also have actions in the frontpage that I need to restrict from not registered users. See ya, mbavio On Mar 24, 8:45 pm, jonknee [EMAIL PROTECTED] wrote: I believe that's the default behavior in AclComponent for protected pages

Re: Updating a select box using ajax in cake php

2008-03-09 Thread mbavio
Citing Chris Hartjes, have everybody forgotten how to use Google? Please, search before post, even in this group, there are at least 4 open threads about this isuue. Cheers, Martin Bavio On Mar 8, 9:30 pm, Salam Fall [EMAIL PROTECTED] wrote: Here is the piece of Code and link to the

Re: Application Design Issue

2008-03-09 Thread mbavio
The essential Fat Models, Skinny Controllers: Write big and long models, and short controllers DRY itself. Cheers, Martin B On Mar 9, 4:52 pm, sleepy1038 [EMAIL PROTECTED] wrote: Hello, I've recently implemented a content management system using Cake, and am running into a design issue. I

Re: Poor EmailComponent templating

2008-03-07 Thread mbavio
Poor? You have an element in /elements/email and a template in /layouts/ email What more do you need? Martin B On Mar 7, 8:15 am, Fran Iglesias [EMAIL PROTECTED] wrote: El 07/03/2008, a las 4:27, Andrey Demenev escribió: and was very surprised to see that is accepts email content as

Re: What major sites use Cake?

2008-03-07 Thread mbavio
Smarty is just a template system, not a framework. Firefox Addons (https://addons.mozilla.org/es-ES/firefox/) is a big site builded in Cake. Also, Mambo is being rebuilded with Cake. Cheers, Martin B On Mar 7, 12:20 pm, John R [EMAIL PROTECTED] wrote: Are there any major Web 2.0 sites using

Re: mass email component for cakephp

2008-03-05 Thread mbavio
I am creating a plugin for newsletter in my application. There you have the two links that you will need: http://www.phpclasses.org/browse/package/4303/download/zip.html http://www.ibm.com/developerworks/library/os-php-fwk5/index.html?S_TACT=105AGX44S_CMP=ART The first is a PHP Class to queue

How to develop an API

2008-03-03 Thread mbavio
Hi everyone, this post is not specific to CakePHP, but I think that more than one will be interested in reading the responses of the experts... I want to develop an API for my application, but I dont know how to start. Is there any guide / tip / tutorial / advice that you can give me to achieve

Re: How to develop an API

2008-03-03 Thread mbavio
Samuel, thanks! That´s exactly what I was looking for! I owe you one, dude. Cheers, Martin B On Mar 3, 8:38 pm, Samuel DeVore [EMAIL PROTECTED] wrote: On Mon, Mar 3, 2008 at 4:34 PM, mbavio [EMAIL PROTECTED] wrote: Hi everyone, this post is not specific to CakePHP, but I think that more

Re: Pagination with Bindable Behavior

2008-02-26 Thread mbavio
Mariano, are you there??? :D On Feb 25, 2:23 pm, mbavio [EMAIL PROTECTED] wrote: Hi everybody, Is there any way to make the Bindable Behavior work with pagination in Cake 1.2? Thanks, Martin B --~--~-~--~~~---~--~~ You received this message because you

Pagination with Bindable Behavior

2008-02-25 Thread mbavio
Hi everybody, Is there any way to make the Bindable Behavior work with pagination in Cake 1.2? Thanks, Martin B --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: newsletter / pictures

2008-02-21 Thread mbavio
Helmut, Last days ago I was trying to get some Newsletter proyect, and I cant find anything. So i´s my intention to start some personal approach. If you want, we can work together and maybe make the first Newsletter plugin for Cake. Email me for this matter. About the images issue, I reccomend

  1   2   >