Re: How can I updated table using checkboxes and button

2007-08-16 Thread bbuchs
Jerk. On Aug 16, 10:40 am, MrTufty <[EMAIL PROTECTED]> wrote: > Or, not. > > You should be able to figure this one out for yourself with minimal > work. What, you want us to write your code for you now? > > Steve > > On Aug 16, 9:02 am, nirmal <[EMAIL PROTECTED]> wrote: > > > Please give me an e

Re: Which Cake function should I use to query my data

2007-06-11 Thread bbuchs
Try using the Set:Extract method. Felix did a good short tutorial on it: http://www.thinkingphp.org/2007/02/24/cake-12s-set-class-eats-arrays-for-breakfast/ Thanks for being constructive, Chris. On Jun 11, 10:22 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 6/11/07, Alexandre Gonçalve

Re: rss building with rss-helper in 1.2 does not work

2007-05-14 Thread bbuchs
This is what I was talking about. Mariano posted some code that should be helpful. But was it necessary to mock the poster? On May 14, 7:58 am, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > Not applicable. If you want to start a car without gas, don't come and say > the engine is not workin

Re: Cake 1.2 - Data Validation - Multiple rules per field

2007-04-12 Thread bbuchs
Like I said, I didn't point fingers at any one person, I didn't call names... I'm not a fucking troll. I'm a concerned member of the community. All you're doing is proving my point. On Apr 11, 10:50 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrot

Re: Cake 1.2 - Data Validation - Multiple rules per field

2007-04-11 Thread bbuchs
fact that the vast majority of you on this list are > intelligent and well-intentioned, the fact is, every once in a while, > someone gets certain ideas into their heads, or just says something > downright stupid (as we saw recently in another thread). When that > happens, those p

Re: Cake 1.2 - Data Validation - Multiple rules per field

2007-04-11 Thread bbuchs
On Apr 11, 2:11 pm, "nate" <[EMAIL PROTECTED]> wrote: > That functionality is still in progress. It'll be done when it's done. === OK, this is off-topic, but the tone of Nate's response has become all too common. I'm not saying it's one person or another, but I hav

Re: rdBloggery 0.3.4+//2007-03-28

2007-03-28 Thread bbuchs
Right off the bat... Warning (512): Method HtmlHelper::charsetTag does not exist [CORE\cake \libs\view\helper.php, line 148] I've tried using the latest nightly 1.2 and the 1.2 alpha release on a stock WAMP install On Mar 28, 7:33 am, "R. Rajesh Jeba Anbiah" <[EMAIL PROTECTED]> wrote: > FWIW,

Re: selectTag and the empty entry

2007-03-22 Thread bbuchs
The "options" variable you send to the view (and the select tag helper) is an array; after you do a "generateList()" to get your options, just prepend a "Please Select" to it before you use a set() call. There's also an option you can set in the select tag helper to not use an empty option tag ('e

Re: Pagination Page Numbers in 1.2?

2007-02-23 Thread bbuchs
loop through the pageCount paramater and output the links params['paging'] [$paginator->__defaultModel]['pageCount']; $page++): ?> current() ): ?> link($page, '/admin/'.$paginator- >params['controller'].'/index/page:'.$page) ?> On Feb 23, 1:23 pm, "Jon M." <[EMAIL PROTECT

Inline scripts_for_layout after failed validation missing

2007-02-23 Thread bbuchs
I'm using the "inline" option to include CSS and JS on a per-view basis (as described by Nate: http://cake.insertdesignhere.com/posts/view/17) example: in an "admin_edit.ctp" file, I link to a CSS file that styles my form inputs: $html->css('admin',null,null,false); When a submitted form fails

Re: best practice multiple checkboxes

2007-02-23 Thread bbuchs
"GreyCells" also wrote a Helper for this purpose - I'm using it on a 1.2 project now, and it's great. I think the HTML it outputs could be a little cleaner, but it does what it should. https://trac.cakephp.org/ticket/1901 I'm hoping something like this makes it into the source - from a usability

Re: CSS doesn't work, how to use cake for manage templates only?

2007-01-31 Thread bbuchs
$html->css('default') outputs a LINK to the default.css file; it doesn't INCLUDE the css in your template --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-p

Re: jquery, ajax and cakephp

2007-01-22 Thread bbuchs
100% sure that jQuery does not use Prototype. jQuery is a Prototype alternative. http://jquery.com/ On Jan 22, 12:55 pm, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > I can't comment on the YUI framework, it was a bit too complicated for my > brain to wrap around in a short period of time,

Re: SlideShowPro Director now baked w/ CakePHP

2007-01-08 Thread bbuchs
It's great work Brad. I've been using this version of SSP Director since it was a wee little Beta release. I'm glad you opted to publicize that it's built on top of CakePHP - it's a real showcase of what a Cake app *can* do, and doesn't look or behave like anything else out there. --~--~---

Re: Master-Detail question

2006-12-22 Thread bbuchs
I'd like to hear some suggestions on this, too. What's the best way to add and edit multiple HasMany or HABTM relations in one single webform? I've got a similar app to what theman describes; I use Javascript (jQuery!) with an "add another answer" button that creates duplicates of a formfield. H

Re: Convincing my company to use Cake

2006-10-17 Thread bbuchs
IANAL, but I think that the no encryption/modification restrictions apply to an application that you're either selling or giving away. If you supply your client with an un-modified Cake Core, you've lived up to the license. Anything they do after that is for their own use. There's nothing stoppin

Re: Bakery Woes

2006-10-07 Thread bbuchs
A semi-unrelated note regarding the Bakery: All the "Article" title tags read "The Bakery Articles for CakePHP". It would be nice if the actual posts themselves used the article TITLE as the title tag instead! --~--~-~--~~~---~--~~ You received this message becau

Re: jQuery users

2006-10-03 Thread bbuchs
it's the anti-jQuery. big and bloated, IMO. To continue the automobile analogy, if jQuery is a VW Rabbit, Dojo is a Hummer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, se

Re: jQuery users

2006-10-03 Thread bbuchs
jQuery + CakePHP = friggin' awsome. I haven't had any issues with the RequestHandler component. (Specifically, I'm using Thickbox 2.0.1 and jQuery 1.0.1 in my CakePHP 1.1.7 application). Just a little bit of "$this->RequestHandler->setAjax($this);" magic in my controller, and I can call up a page

Re: jQuery users

2006-10-03 Thread bbuchs
jQuery + CakePHP = friggin' awsome. I haven't had any issues with the RequestHandler component. (Specifically, I'm using Thickbox 2.0.1 and jQuery 1.0.1 in my CakePHP 1.1.7 application). Just a little bit of "$this->RequestHandler->setAjax($this);" magic in my controller, and I can call up a page

Re: CakePHP 1.1.8.3544... the start of something new

2006-09-22 Thread bbuchs
Is it more than a little ironic that the article on the first page is touting how easy it is to add an RSS feed to an app, yet the Bakery doesn't have one? Otherwise, it looks great (but I think the password validation rules are a bit restrictive.). Should be a great resource! --~--~-~

Radio List Helper

2006-09-13 Thread bbuchs
Hi all. Took my first attempt at building a custom helper. It outputs a series of radio buttons in a UL list, with each radio having an associated LABEL. function radio($fieldName, $options, $inbetween = null, $htmlAttributes = array(), $return = false) { $this->setForm