Re: Problems upgrading form 1.0 to 1.1

2006-06-19 Thread Olivier Percebois-Garve
Sorry typo. I meant bootstrap. Víctor Berga wrote: Hi to all, I've upgraded my cake app from cake's version 1.0 to 1.1 and returns the next error message: Notice: Undefined index: action in /Applications/MAMP/htdocs/cake/cake/dispatcher.php on line 142 Please help me! Thanks, Víc

Re: Problems upgrading form 1.0 to 1.1

2006-06-19 Thread Olivier Percebois-Garve
Not sure but myabe you've to replace the old dispatcher with the new one. Víctor Berga wrote: Hi to all, I've upgraded my cake app from cake's version 1.0 to 1.1 and returns the next error message: Notice: Undefined index: action in /Applications/MAMP/htdocs/cake/cake/dispatcher.php on

Re: Moo.fx problems

2006-06-18 Thread Olivier Percebois-Garve
see it included in a future release of CakePHP ? Olivier Percebois-Garve wrote: May I advice you the excellent Head Helper made by rossoft ? http://rossoft.wordpress.com/2006/03/28/register-head-tags-from-helpers-2/ By using it, you'll be able to call your _javascript_ files in your

Re: Moo.fx problems

2006-06-18 Thread Olivier Percebois-Garve
May I advice you the excellent Head Helper made by rossoft ? http://rossoft.wordpress.com/2006/03/28/register-head-tags-from-helpers-2/ By using it, you'll be able to call your javascript files in your views instead of in the layout. This way it gets loaded only when its needed and the head help

Re: Moo.fx problems

2006-06-18 Thread Olivier Percebois-Garve
Put var $helpers = array('Javascript'); in your app_controller.php Also make sure the moo.fx files are at the right place. Moo.fx is cool. Have fun. martin wrote: > I'm just getting started with JavaScript and I really like the moo.fx > accordion effect, but I'm having some problems getting moo.f

Re: Use another view

2006-06-17 Thread Olivier Percebois-Garve
Hi See http://manual.cakephp.org/chapter/7 for "Interacting with your Views" - render() if you want to request in another controller use requestAction(). You might be confusing the MVC structure: There is function in the model and controller files, but not in the views (normally). Olivvv F

Re: Cake Tutorial: Books Title Example (With hasOne)

2006-06-17 Thread Olivier Percebois-Garve
If you have "errors" that are disappearing by switching debug from 2 to 0, then its not errors it is notices or warnings. AD7six wrote: jeannie109 wrote: The tutorial seems to work ok even with the error message. I did find out that if I change the debug to 0 instead of 2, it ge

Re: {Seeking} Overview for Dummies

2006-06-17 Thread Olivier Percebois-Garve
On 6/17/06, Olivier Percebois-Garve < [EMAIL PROTECTED]> wrote: I think it would be good to have such representation. It took me a long time to see the big picture of how cake is functioning, and there is still a lot of unclear thing. The link of Nate is cool b

Re: Cake Tutorial: Books Title Example (With hasOne)

2006-06-17 Thread Olivier Percebois-Garve
Jeannie, you've probably a file at the wrong place. Diorgenes, You need to provide more information. How does you link look like ? maybe there is a typo in it. Also it could be that you did not set up mod_rewrite. Olivvv jeannie109 wrote: > I am just trying this out and get an error: Warning

Re: {Seeking} Overview for Dummies

2006-06-17 Thread Olivier Percebois-Garve
I think it would be good to have such representation. It took me a long time to see the big picture of how cake is functioning, and there is still a lot of unclear thing. The link of Nate is cool but I'm not sure how it help newbies: Look at the step 3 where the controller is. honestly you've to

Re: Cakebased bot ?

2006-06-16 Thread Olivier Percebois-Garve
Both links very interesting. :-) 100rk wrote: > Just some links for You (if You didn't see them before): > - bot for cake IRC log : http://irc.cakephp.org/pages/source > - Http Client Class from ros-soft: > http://rossoft.wordpress.com/2006/06/09/http-client-class/ > > > > > > --~--~

Re: Cakebased bot ?

2006-06-16 Thread Olivier Percebois-Garve
core or extensions fuctions which handle HTML, or text parsing. All in all, it sounds quite feasible. And fun. Best, Darian Olivier Percebois-Garve wrote: > Hi > I got a proposal for a job and I'm trying to figure out how difficult it > is and how long it woul

Cakebased bot ?

2006-06-16 Thread Olivier Percebois-Garve
Hi I got a proposal for a job and I'm trying to figure out how difficult it is and how long it would take. The job is to make a bot that connects to an external url, logs in, catch somewhere on the page the number in front of the string "treffer", save it and then start again with another url.

Re: Self Joining Model

2006-06-15 Thread Olivier Percebois-Garve
n' (or sth like that). If so, you make the function call itself with the children array as a parameter, if not, you put in your code to display/modify/do stuff with the items themselfs ... -- http://www.thinkingphp.org http://www.fg-webdesign.de O

Re: Self Joining Model

2006-06-15 Thread Olivier Percebois-Garve
How do you use the array returned by $this->Model->findAllThreaded() ? DJ Spark wrote: I use this in my Gallery Model: var $hasMany = array( 'Galleries' => array( 'className' => 'Gallery', 'order' => 'Galleries.ord ASC', 'foreignKey' => 'parent_id')); var $belongsTo = a

Re: Application design : How do you tie your objects in your GUI ?

2006-06-15 Thread Olivier Percebois-Garve
doh ! Didn't knew that something like that was possible. great ! gwoo wrote: > Sounds like you should use elements. > Put the requestAction calls in the elements. > Add the elements in the places you need them. > > > > > > > --~--~-~--~~~---~--~~ You received

Re: Could the RequestHandler recognized the requestAction ?

2006-06-15 Thread Olivier Percebois-Garve
Done. thank for confirming its not-too-bad idea. RosSoft wrote: > With little modification in object class, and dispatcher class, a new > variable ($this->requested_by ? ) can be set at the requested > controller. If you really want this, post a ticket at trac > > > > > > --~--~-~-

Application design : How do you tie your objects in your GUI ?

2006-06-15 Thread Olivier Percebois-Garve
Hi Yeah its a noob question. How do you tie your objects in your GUI ? How to you get on the same page for instance a menu, an article, and user-specific information ? Maybe I missed something in Cake but my only way to do this is to use requestAction. I'm not sure how to scale if I have more

Could the RequestHandler recognized the requestAction ?

2006-06-15 Thread Olivier Percebois-Garve
Hi I'm an heavy user of requestAction. When I'm in the requested method, I'd like to know that this is being run by a requestAction and also the method where it is originating from. I thought about an extension of the Requesthandler but there is maybe already a way. Somebody has a idea on this ?

Re: With a new release of Cake, comes new release notes - lets make them more useful - with Greasemonkey

2006-06-14 Thread Olivier Percebois-Garve
convenient. thanks. Alister Bulman wrote: > Hi, > > Lots of things annoy me - it's too hot and I don't have AirCon in my > office, I'm not paid enough for all this s***, and there so much more > that I can't control. > > One thing that used to mildly peeve me was CakePHP release notes, like > the

Re: form on one page submits to another model - validation to show on original page?

2006-06-14 Thread Olivier Percebois-Garve
I use $this->set('editorcontent', $this->requestAction('/bare/editorcontents/showedit/'.$id, array('return' => true))); to get in a form of the edit of CategoriesController the 'display' part of the edit in the EditorContents controller. (So in the case if(empty($this->params['data'])) in the

Re: Cameleon preview

2006-06-10 Thread Olivier Percebois-Garve
Yep I really like it. I spotted a few glitches in Cameleon I'll put up some bug fixes this night or tomorrow morning. If you've some comment on general design of the code, feel free... RosSoft wrote: > Cool, you're using HeadHelper :) > > > > > > --~--~-~--~~~---

Cameleon preview

2006-06-10 Thread Olivier Percebois-Garve
For those who are bored, I've released a alpha "preview" package of Cameleon - the tiny tree-based CMS. http://cakeforge.org/projects/cameleon/ The application seems to have reached some stability, even if a lot of things are missing or need to be completed. It is not-at-all-production-ready.

Re: Best way to handle url variations in js and css files

2006-06-09 Thread Olivier Percebois-Garve
You're probably right. I'll go that way. clemos wrote: On 6/9/06, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote: Yes Initially I did not want to play with the layout file because my js is not set from there (I uses Head helper) then, to put a i

Re: Best way to handle url variations in js and css files

2006-06-09 Thread Olivier Percebois-Garve
e urls will be "/absolute/path/index.php/relative/url/pic.gif", which won't work... any thoughts about it ? On 6/9/06, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote: Hi Felix my img path is my js code not html... " You could also rename your js

Re: Best way to handle url variations in js and css files

2006-06-09 Thread Olivier Percebois-Garve
Yes, it would. I renamed it and I get a "Missing Controller" ?? -- http://www.thinkingphp.org http://www.fg-webdesign.de Olivier Percebois-Garve schrieb: Hi Felix  my img path is my js code not html... " You could also rena

Re: Best way to handle url variations in js and css files

2006-06-09 Thread Olivier Percebois-Garve
it. Or put an .htaccess into you /js/ folder that redirects all requests a an includer.php which will then do include() on the .js file, making it parsed via php. Hope that helps, Felix aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de

Best way to handle url variations in js and css files

2006-06-09 Thread Olivier Percebois-Garve
Hi I've that little annoying issue: usually the url is : 1)controller/action/params but can be: 2)controller/action in my javascript I play with images "url(../../img/myfolder/myimage.png)"; no problem in cas 1) but in case 2) it will be broken. How do you handle such things ? thanks olivvv

Re: reverse of hasOne

2006-06-08 Thread Olivier Percebois-Garve
what if look at Appointment being the relation table between Client and Counselor in a HABTM relation? [EMAIL PROTECTED] wrote: > I have an interesting situation: > > I have a Model Appointment as follows: > > id > client_id > counselor_id > start_time > end_time > > I have a Model Client as fol

Re: HowTo? : If no database tables detected, then create them.

2006-06-06 Thread Olivier Percebois-Garve
yeah I like that solution. To me such feature is an enhancement for mainstream users. Somebody using Oracle or so should have better knowledge than a mysql user that can be completely noob (more than me). nate wrote: > You certainly can, but that would be less modularized, and it wouldn't > b

Re: HowTo? : If no database tables detected, then create them.

2006-06-06 Thread Olivier Percebois-Garve
Hi Nate thanks. Is there no way to avoid changing all models and just do a big sql request at once ? olivvv nate wrote: > It is possible, but it involves using a couple of Cake's features on > which there isn't a great deal of documentation. > > The first thing to do is override Cake's error h

Re: OT: Fase v0.8

2006-06-06 Thread Olivier Percebois-Garve
On my application, I have made a few links to the controller "categories" instead of doing "categories/index". Cake calls by default the index method, so I get the page I wanted. But the links to images in my css and js files are broken. I know I could handle this with routes but I like such def

HowTo? : If no database tables detected, then create them.

2006-06-06 Thread Olivier Percebois-Garve
Hi fundamentally nice community :-) I wanna to detect if the tables are missing in the database, and if so, to create them. This way I hope to have code that is even more running straight "out-of-the-box". Is there a convenient cake way for this ? Olivvv --~--~-~--~~--

Re: ACL and AUTH

2006-06-06 Thread Olivier Percebois-Garve
As usual on such thread I put my 50 cent for othAuth which is really easy to use. Olivvv HW wrote: > Hi, > > I was curious why there is no AUTH setup or easy method of implementing > it in CakePHP. CakePHP seems to be based loosley upon Ruby on Rails > and they have the ability to easily impl

Re: Cake admin

2006-06-05 Thread Olivier Percebois-Garve
There is othAuth too. De La Groove wrote: > you can use rdAuth component from gwoo, www.rd11.com, and change access > to admin functions, check the rdBloggery application from that website > > happy baking > > > > > > --~--~-~--~~~---~--~~ You received this me

Re: Using Peterned's whatever:hover

2006-06-05 Thread Olivier Percebois-Garve
I know its not the answer you are looking for, but have you also considered using the suckerfish script ? olivvv Reggie Johnson wrote: > Does anybody have an example on how to use Peterned's 'whatever:hover' > technique (http://www.xs4all.nl/~peterned/csshover.html) with Cake? It > adds the ab

Re: A way to have global component

2006-06-04 Thread Olivier Percebois-Garve
http://www.thinkingphp.org http://www.fg-webdesign.de Olivier Percebois-Garve schrieb: Yeah "outputting the tree" was a big design issue for me. I found no perfect solution. helpers are limited in the data you can pass to them. Components might have been goo

Re: A way to have global component

2006-06-04 Thread Olivier Percebois-Garve
e of my tree needs myself. Hope that's useful, Felix aka the_undefined http://www.thinkingphp.org http://www.fg-webdesign.de Olivier Percebois-Garve schrieb: Yeah "outputting the tree" was a big design issue for me. I found no perf

Re: A way to have global component

2006-06-04 Thread Olivier Percebois-Garve
ow dramatically and get the site down. That is my very personal approach, take it as it is, I'm no guru, I just like to share and see other ways/opinions. Olivvv Pacifists wrote: Olivier Percebois-Garve wrote: Just out of curiosity what is your "meniutree" ? I'

Re: A way to have global component

2006-06-03 Thread Olivier Percebois-Garve
Just out of curiosity what is your "meniutree" ? I've implemented a (simple) tree management in my application, and after having tried components and helpers I finally moved all my methods to model, which seems to me the most convenient way. Olivvv Pacifists wrote: > Hello, > > I've stumbled o

Re: selection lists

2006-06-01 Thread Olivier Percebois-Garve
yes generateList() ;) I use it that way in my code, it should put you on the way: controller: $this->set('categories', $this->Post->Category->generateList()); $this->set('selected_category', $this->params['data']['Category']['id']); view: selectTag('Post/category_id', $ca

Re: Overview of CakePHP on php|architect

2006-05-30 Thread Olivier Percebois-Garve
Hi h3raLd under what licences are you articles ? especially the php|architect's one ? I'm thinking about starting a translation of it. Possible ? olivvv h3raLd wrote: > I wrote an overview of CakePHP for php|architect, and it is now > available online at A/R/T, php|architect's new online articl

Re: Help me out on my SQL syntax please

2006-05-28 Thread Olivier percebois-Garve
I've no idea of python stuff, but do your db with phpmyadmin, dump it and you'll get the right query. its a 5 minutes work. modmans2ndcoming wrote: > I'm sure it is not, but I figured since I was designing my application > and cake does not provide a mapping system like sqlobject in python, > th

Re: Help me out on my SQL syntax please

2006-05-28 Thread Olivier percebois-Garve
Hi Why don't you build your database using phpmyadmin ? and then you can make a dump if you want to know what is the query necessary to build your db. PS:I'm not sure this is the right list to ask such question. modmans2ndcoming wrote: > I am setting up my database for my project and I am ge

Re: Please help!!

2006-05-28 Thread Olivier percebois-Garve
Richard, Cake's is about that. Among other, it's a sort of missing link between databases and web forms. Have you data that should go in one or multiple database tables ? If it is one, the blog tutorial will be sufficient. You'll probably just have to strip it down to get what you need. If

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread Olivier percebois-Garve
tring $userName * @param string $realName * @returns string aka PhpNut * @access  public */ On 5/26/06, Olivier percebois-Garve <[EMAIL PROTECTED]> wrote: Nate have you the controller's method going with this ? I'm probably thinking too quickly but I don't get how

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread Olivier percebois-Garve
Nate have you the controller's method going with this ? I'm probably thinking too quickly but I don't get how this method will return 2 things at once. nate wrote: > Hey y'all, > > Just wanted to make a follow-up comment about something that happened > this release. Actually, it's more of a con

Re: Google Maps + CakePHP Recipe

2006-05-26 Thread Olivier percebois-Garve
Such thing is so exotic and interesting to me, is it possible to see the result somewhere online ? tom wrote: > Quite a few of the things I expected to be very difficult with CakePHP > have actually been "a breeze." Well, not a breeze, but doable. Anyway, > no fanfare. Here's how to integrate m

Re: Error after installing oceancms

2006-05-26 Thread Olivier percebois-Garve
look at the forum pages of oceanCMS, I wrote down some stuffs to do to install ocean CMS. If I remember right it has a custom validator. Also you should know that it was made for RC5 or RC6, I don't think that the code is updated for the lasts cake releases. olivvv Sven wrote: > Hi there! > >

Re: AppController not registering Helpers

2006-05-25 Thread Olivier percebois-Garve
glad you got it. modfather wrote: > thanks for your efforts - yeah something simple - i am sure its > something we all feel, ie you can't see the wood for the trees. > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: AppController not registering Helpers

2006-05-24 Thread Olivier percebois-Garve
look I have the head helper made by rossoft: That's functionning, nothing more, no core change. app_controller.php class AppController extends Controller { var $helpers = array('Javascript', 'Head'); } layout/default.thtml : http://www.w3.org/TR/html4/strict.dtd";> charset

Re: AppController not registering Helpers

2006-05-24 Thread Olivier percebois-Garve
try class LinkHelper extends Helper          //tried also without extends {     function makeEdit()         {             return "linkhelper";         } } ?> modfather wrote: just in case there wa

Re: AppController not registering Helpers

2006-05-24 Thread Olivier percebois-Garve
You are echoing a function that does an echo. It's wrong you should only echo in the layout file. try the "does not work" version and clean the controller.php modfather wrote: > sorry - app_controller.php is in app/controllers/app_controller.php > > 100rk are you saying i have to call a constu

Re: Nice URLs and webservers other then apache

2006-05-24 Thread Olivier percebois-Garve
so far I find it well written :-) 100rk wrote: > http://wiki.cakephp.org/tutorials:url_rewrite_without_apache is the > answer, just give me a day, people. > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: AppController not registering Helpers

2006-05-24 Thread Olivier percebois-Garve
Can you post all your code using the cakebin ? 2 things : -Don't touch the core else nobody can help you.(Apart for playing/understanding it, but dev should be made with a vanillia version) -Its probably not a bug, i've also some code with a custom helper in my layout. olivvv modfather wrote

Re: Nice URLs and webservers other then apache

2006-05-24 Thread Olivier percebois-Garve
Cool. Its of no use for me (I have only Apache) but the more the better in the wiki. 100rk wrote: > Thanks, Olivier. Problem is: it allways takes a long time to me > (explain something in English) if I cannot see person I'm talking with > ;-), but You're surely right, so I will make some wiki pa

Re: Nice URLs and webservers other then apache

2006-05-24 Thread Olivier percebois-Garve
I'm no native english speaker and I think your english is easy to understand ;) If your wiki page is useful and being used, people will correct it especially if you mention that they should feel free to correct mistakes in your english. That is what makes the wiki a cool tool. Anyway it was ju

Re: Global variables?

2006-05-24 Thread Olivier percebois-Garve
For a while AD7six provided the following. I'm not sure its up-to-date, it's my version I can't find the original anymore. The idea is to put your menu in a component so you load it only where its needed. Personally I have a dynamic menu and I build it in the model but I can't say if its the b

Re: Acccessing Helpers from Layout

2006-05-24 Thread Olivier percebois-Garve
Modfather I think Nick is right this is your bug.(var $helpers = array('link'); should be var $helpers = array('Html');) AFAIK, Your approach is fine. A helper set in appcontroller will be available in the layout files. olivvv Nick Wientge wrote: Well I'm a bit of a noob, but what is: var

Re: Nice URLs and webservers other then apache

2006-05-24 Thread Olivier percebois-Garve
Hi 100rk, why don't you do a new wiki page for that ? olivvv 100rk wrote: > Hi all! > > >From CakePHP manual and wiki it looks we have no other choice then > apache webserver, if we want to have nice URLs. Don't worry, it is not > true. There are couple of options and I want to share with You

Re: How to avoid the 'EDIT' action 'ADD' a new record when you changed PK.

2006-05-23 Thread Olivier percebois-Garve
Hi You're right I understood the issue as "changing the id of given db row". I'll follow your discussion because I may soon have the issue as I want to discriminate access to nodes in my tree structure. As a side note, to test that you don't need to save and change a form. In firefox the devel

Re: Just can't get started !!!!!!

2006-05-23 Thread Olivier percebois-Garve
This is probably a mod_rewrite issue. http://manual.cakephp.org/chapter/3 see section 4 DavePorter wrote: > HI everyone, > > Read lots on Cake and it looks exactly what I am looking for > > Tried working through the blog tutorial, but just can't get it going. > > I am using Windows XP Pro & h

Re: How to avoid the 'EDIT' action 'ADD' a new record when you changed PK.

2006-05-23 Thread Olivier percebois-Garve
Hi first a sidenote: you are using setId() which is deprecated.Should be replaced with $this->audit->id = $_POST["oid"]; Then I'm not sure of your vision of the issue. I think you the edit function should always receive $id as parameter, and modify the row corresponding to that id only. This

Re: AJAX Forms

2006-05-17 Thread Olivier percebois-Garve
Have you seen that new (to me) page of the manual: The Request Handler Component http://manual.cakephp.org/chapter/15 [EMAIL PROTECTED] wrote: Okay. I know vBulletin uses AJAX to handle it's Quick Reply forms which are AJAX submitted forms. What I am wanting to know is how they degrade th

Re: model_php4 issue - bug ? (maybe easyphp specific)

2006-05-14 Thread Olivier percebois-Garve
Are you sure your errors may be related to this ticket : https://trac.cakephp.org/ticket/706 ? olivvv dudus wrote: > I get the second error too on a linux box with PHP 4.3 and Apache 2. I > have not yet been able to fix that problem. On my dev-machine its > working fine. Any ideas? > > > > > >

How to save NULL in a numerical field ? i.e how to get the quotes out of the SQL request.

2006-05-14 Thread Olivier percebois-Garve
Hi all, I'm wondering how to save the value NULL in a numerical field. Cake is doing `parent_id`='NULL'. In that case Mysql transforms NULL into 0 if it is a numerical field. I don't want 0, I want NULL to be stored.  I read that  "To set a date or numeric column to NULL, use an unquoted NULL

Re: rdAuth? Users? ACL?

2006-05-12 Thread Olivier percebois-Garve
You can also try this : http://othy.wordpress.com/2006/05/12/othauth-02-released/ tom wrote: > Hi, > > I'm very experienced with PHP and somewhat experienced with CakePHP. > I'm interested in building a simple app, but one of the things that I'm > not sure how to do is user authentication. Is th

Re: About PagesController

2006-05-07 Thread Olivier percebois-Garve
The pages_controller.php is in cake/libs/controller. If you copy it to your controllers folder you'll be able to modify it to suit your needs, for instance using other helpers. Pierre wrote: > Thanks a lot for such a quick response! > > Pierre > > > > > > --~--~-~--~~---

Re: Creating a Select Tag on the fly with ajax

2006-05-04 Thread Olivier percebois-Garve
I'm not sure to get *exactly* what you are planning. For ajax, you have to have a div with an id, it probably works also with table rows. in view you can fire the ajax call : In one of my scripts I have: link version : link('Delete','/slideshows/delete/'.$slideshow['Slideshow']['id'], array(

Re:

2006-04-30 Thread Olivier percebois-Garve
Very interested by your question. Could you detail how you got it working ? (In fact this cURL thing is completely new to me) olivvv Armando Sosa wrote: Thank you. The cURL approach seems to be working. On 4/30/06, AD7six <[EMAIL PROTECTED]> wrote: How about: 1) create a controll

Re: Newbie setup

2006-04-29 Thread Olivier percebois-Garve
If you are using postgres make sure you have the latest version of the dbo from the trunk. monty wrote: > Hi all, > I am running through the posts tutorial on the Cake site and got stuck > when come across $this->Post->findAll(); > After setting my degub level to 2, letting me see my sql output,

Javascript helper returning wrong path

2006-04-28 Thread Olivier percebois-Garve
Hi My Javascript helper is returning a wrong path /cake/treecms/js/fckeditor.js instead of /cake/treecms/app/webroot/js/fckeditor.js so app/webroot/ is missing. I just change dev server could it be the cause of that ? I'm confused. the javascript helper looks like that : function link(

Re: An Ajax file upload progressbar

2006-04-27 Thread Olivier percebois-Garve
great. It's on my todo list. the_undefined wrote: > For those who have been following my efforts to create a CakePHP > solution for monitoring the progress of file uploads using ajax (and a > perl script): > > I've uploaded the first version of it. It doesn't have all features > quite yet, but th

Re: model_php4 issue - bug ? (maybe easyphp specific)

2006-04-26 Thread Olivier percebois-Garve
I installed WAMP and the code is working fine. So what I described is a easyphp specific issue. If there is easyphp users out there, it would be nice to test that code to confirm the bug. [EMAIL PROTECTED] wrote: > I have also gotten that second error when I was connecting to a blank > databas

Re: model_php4 issue - bug ? (maybe easyphp specific)

2006-04-26 Thread Olivier percebois-Garve
Database is fully ok, because its an application I was upgrading from 2026 to 2378 final. Also I reproduced the bug on another application running 2378 final. [EMAIL PROTECTED] wrote: > I have also gotten that second error when I was connecting to a blank > database. There were no tables and I

model_php4 issue - bug ? (maybe easyphp specific)

2006-04-25 Thread Olivier percebois-Garve
Hi all, Got a bug on cakephp final. Maybe its easyphp specific. Would be cool if you can tell if this is happening on xampp, and on LAMP. It seems able only one round  of query, at the second it dies.  I hacked a bit model_php4 and I think that during the second request, the properties are all

Re: Ajax file upload (and fck editor in ajax)

2006-04-25 Thread Olivier percebois-Garve
I already got it for fck (without filehandler), unfortunatly I have not access to the wiki to post the alternative method. If I got the access It think I complete it with not-too-many risk of big mistakes, these are things I'm ok understanding now. V wrote: > To change FCK to replace, you can no

Re: What printing solution should I use?

2006-04-24 Thread Olivier percebois-Garve
http://www.phpclasses.org/browse/package/2924.html There is probably many others, browse the site. Then you can integrate it in cake with 'vendors' I guess. [EMAIL PROTECTED] wrote: > Thanks Olivier. > My client told me he wants to save the reports in excel file. I think I > should write a Active

Re: What printing solution should I use?

2006-04-24 Thread Olivier percebois-Garve
I think that css can do the work: http://www.alistapart.com/stories/goingtoprint/ [EMAIL PROTECTED] wrote: > My web app need to pring some report. The report data is fetch from the > database, then fill into the report sheet in certain format. I want to > use cake framework, but what web print

Re: Ajax file upload (and fck editor in ajax)

2006-04-24 Thread Olivier percebois-Garve
Thanks nate for *very* quick reply. You confirm what I thought, I'M breathing again, my cake code is ok then... I hope I can get to the_undefined's code for the file upload and I'll look at changing my fck. thanks again. nate wrote: > Pure Ajax file upload is not possible, becuase of the way A

Ajax file upload (and fck editor in ajax)

2006-04-24 Thread Olivier percebois-Garve
Hi everybody, thanks for your help last time, thanks to you I got my Ajax stuffs running and I quite like the result. Now I want to implement file upload and fck editor into ajax. Both are failing. My code is functionning in the non-ajax version. Is there anything specific to look at ? olivvv

Re: $this->Model->findAll() is killing the rendering (follow-up of my Ajax refresh problem)

2006-04-21 Thread Olivier percebois-Garve
Hi thomas, thanks for answering, because I'm definitely confused about what I am answering. Actually I have:     function delete($id)     {         if ($this->Slideshow->del($id))         {        $data = "">        $this->set('data', $data);        $this->render('delete', 'ajax'

Re: problem uploading image

2006-04-20 Thread Olivier percebois-Garve
>>I am sorry if this message show up multiple times, but I don't seem to see the post after I post. That surprise me too, but the list is not sending your own emails to you. I want to see them you can go to: http://groups.google.com/group/cake-php olivvv Helen Hoke wrote: > I am sorry if th

Re: $this->Model->findAll() is killing the rendering (follow-up of my Ajax refresh problem)

2006-04-20 Thread Olivier percebois-Garve
Yeepee !!! Thanks to all of you for your help. Ok Olle I'm not a fine tactician. Bgmill thanks, your advice brought me on the way. I got then a "Call to a member function on a non-object" so I eventually found out what was missing: var $uses = array ('Slideshow'); That simple. What is th

Re: $this->Model->findAll() is killing the rendering (follow-up of my Ajax refresh problem)

2006-04-20 Thread Olivier percebois-Garve
Olle, In my play I don't see the scene coz it is Ajax.()  Of course debug is on 3. >>Dependencies! Required files, classes and such! I have an index() method in my controller that has a findAll() which is functioning fine. I tried also to run index() in delete() :   function delete($id)    

$this->Model->findAll() is killing the rendering (follow-up of my Ajax refresh problem)

2006-04-20 Thread Olivier percebois-Garve
Hi mates, I Have an Ajax call on my delete method. If I put 'blah' in $data it is rendered. If I replace it with $this->Slideshow->findAll(), nothing happens anymore. The view is not rendered. //is being rendered function delete($id) { if ($this->Slideshow->del($id)) {

Re: Ajax refresh

2006-04-19 Thread Olivier percebois-Garve
I'm progressing... slowly. I renamed my ajax_index.thtml view in delete.thtml If I modify my delete() method this way:     function delete($id)     {                 if ($this->Slideshow->del($id))         {             $this->set('data', 'blah');         } } I got some data back, so the Aj

Re: CoolClown.BlogSpot.Com is now in a NEW LOOK!

2006-04-19 Thread Olivier percebois-Garve
WTF are you spamming ! it is no good idea to bother web developers Dr. Tiffny wrote: > Your humour delivery site CoolClown.BlogSpot.Com is now in a NEW LOOK! > > Bookmark and visit us everyday!! > > Tell all your friends!! > > http://CoolClown.BlogSpot.Com > - > > P.S.:If you like

Re: Ajax refresh

2006-04-19 Thread Olivier percebois-Garve
echo out of the if block just to see if the method is properly executed. On 4/19/06, Olivier percebois-Garve <[EMAIL PROTECTED]> wrote: thanks Troy I tried to change it to a dummy div and it isn't updated either. I have firebug installed and it tells me that there is no answ

Re: Ajax refresh

2006-04-19 Thread Olivier percebois-Garve
thanks Troy I tried to change it to a dummy div and it isn't updated either. I have firebug installed and it tells me that there is no answer. (beside that it is strange that firebug shows bugs from FF/Firebug scripts...) The call seems to be ok because when I refresh manually the delete has be

Ajax refresh

2006-04-19 Thread Olivier percebois-Garve
After an Ajax delete I want to refresh the div. The delete is OK but the refresh is made with empty content. What am I doing wrong ? Have you some debug tips ? I don't really know how to track back things with Ajax //view index.thtml .. link('Delete','/slideshows/delete/'.$slideshow['S

Re: Scaffolding like Rails

2006-04-18 Thread Olivier percebois-Garve
AFAIK this is planned. For the moment you can use rdbaker from rdopensource to do that. (http://cakeforge.org/projects/rdos/) olivvv ofir wrote: > Is there something similar to Rails' "./scripts/generate scaffold > ModelName" in CakePHP?, I need a model, controller and views similar to > what t

FUD Forum --> RForum

2006-04-18 Thread Olivier percebois-Garve
Hi list, hi Troy, I just saw the Rforum being used by script.aculo.us : http://www.ruby-forum.com/forum/10 The homepage for the project is : http://rforum.andreas-s.net/trac/ It is integrated with the mailing list of script.aculo.us. It may be an alternative to FUD, and it may be somewhat eas

Re: CakePHP and open-source JavaScript-based GUI toolkit qooxdoo

2006-04-13 Thread Olivier percebois-Garve
So you used the full-features of qooxdoo with its built-in transport script. Mmmh with the interest show to a PHP framework on the qooxdoo list, I guess a rush of qooxdoo peoples to cake may be expected soon... 100rk wrote: > I decide publish development version of CQX demo also - it is at > http

Re: French who works with cake??

2006-04-13 Thread Olivier percebois-Garve
Le lien correct est: http://groups.google.com/group/Cakephp-fra sans le .vn tylerfab wrote: > Re salut a tous > > Ba ca y est jai creee le groupe cakephp en francais > > voici le lien > > venez nombreux pour sentraider > > http://groups.google.com.vn/group/Cakephp-fra > > > > > > --~--~--

Re: CakePHP and open-source JavaScript-based GUI toolkit qooxdoo

2006-04-11 Thread Olivier percebois-Garve
If you like it I can update it coz it is pretty old (2003). It think it is part of the rare quality code I have written. I think it could be coordinated well with server-side validation. I am thinking at live control as-you-type, and sub-fields hide/show management. BTW could you tell what do yo

Re: CakePHP and open-source JavaScript-based GUI toolkit qooxdoo

2006-04-11 Thread Olivier percebois-Garve
So you finished it. Its really nice ! >>handle forms, client-side validationrules, I have made for a long time a script that is doing that. You can test any field you want, overload the function with more test. If you need the script to test other things its very easy to add one. Just the way

Re: FireBug Extension

2006-04-11 Thread Olivier percebois-Garve
I installed it for a few days because I was testing a lot of dhtml/ajax stuffs. I had something strange and I am wondering if it is related to the extension. Some of the websites javascripts are broken for me now. Like Mochikit for instance, I cannot see any of the demos. I've FF 1.5 and never

Re: Make a quick unobtrusive Table Sorting (Standardista / sorttable)

2006-04-11 Thread Olivier percebois-Garve
I didn't knew webfx had code under free license, that script looks good and unobtrusive. I also tested qooxdoo. Easy to implement, but seems quite difficult to hack and really obtrusive. I think I do not really get the point of their approach, to me qooxdoo looks like java. I hope I'll complet

Make a quick unobtrusive Table Sorting (Standardista / sorttable)

2006-04-10 Thread Olivier percebois-Garve
Hi I implemented that today, it was quick 'n easy, so I thought I share it. Probably many app can be enhanced with that. An unobtrusive way to DHTML sort the list of records outputted by the index() method. Based on script by Stuart Langridge and Neil Crosby. 1. download standardista and unp

<    1   2   3   >