How TO make Sortable.serialize works?

2006-11-07 Thread Eric
Hi, kind bakers, I am reading the http://wiki.cakephp.org/tutorials:ajax_sortable_list, about how to make a $ajax->sortable list. I am do the Create the List of Items and make it works. BUT for the following Create the Form: The form contains a hidden text area that is filled with the data that t

User Authentication and User Management

2006-11-07 Thread [EMAIL PROTECTED]
User management and user authentication used to be something that I used every once in a while in my web projects. However it seems more-and-more that every project I do requires some sort of user authentication and user management. Wouldn't it be nice... if we had a cake authentication component

No mod_rewrite on *nix host

2006-11-07 Thread Mike
Can someone link me or explain how to handle a web server host that doesnt have mod_rewrite installed? I tried uncommenting the //define ('BASE_URL', $_SERVER['SCRIPT_NAME']); Line, however nothing seemed to change. Any thoughts? Everything else works fine in my local env. Thanks, --~--~--

Inflection Problem with word "Analyses"... expects model "AnalyAsis"

2006-11-07 Thread NOSLOW
Please excuse me if I missing something stupid here, but being new to Cake, I'm having trouble getting started with the MVC files for a "Sales Analysis" model. I've struggled a great deal with this trying numerous things and still remain stumped. To be clear, "Analyses" is the plural of "Analysi

Re: [professionel] Mysteries with findAll ???

2006-11-07 Thread Bernard Grosperrin
As an answer to myself, further tests with postgresql let me see that I need to replace the first left join by an inner join > SELECT "Stock"."product_id" AS "Stock__product_id", > "Stock"."location_id" AS "Stock__location_id", "Stock"."on_hand_units" > AS "Stock__on_hand_units", "Stock"."commi

Newbie => IIS and Ajax (helpers)

2006-11-07 Thread David Mulder
Hi all, I'm a new Cake user and I am trying to get Cake to work with Ajax on IIS. This is what I trying to do: link('View', '#view',array('fallback'=>'#view', 'url'=>"/posts/view/{$post['id']}", 'update'=>"post_content", 'complete'=>"new Effect.Appear('post_content');")) ?> The problem I have i

Mysteries with findAll ???

2006-11-07 Thread Bernard Grosperrin
OK, I don't get it!!! The SQL code generated looks OK, but I don't get the results...! I am sure there is (are) better ways, I am still discovering cake (and PHP, BTW)! Here is the request generated (got it through debug): SELECT "Stock"."product_id" AS "Stock__product_id", "Stock"."location

Re: Combining Edit and Create views?

2006-11-07 Thread dieter.randolph
Works like a charm -- I knew it was something silly like that. Thanks for your time! -d. On Nov 7, 12:09 pm, "Russell Austin" <[EMAIL PROTECTED]> wrote: > I think you are asking how to render a different view. > > If you have an action called "new" but want to use edit.thtml for your > view, th

Rossoft CJS Templates

2006-11-07 Thread majna
(http://rossoft.wordpress.com/2006/08/23/updated-packages-in-cakeforge/) $page->replace_request_action won't work.(form installation instruction sample code) ( apache stop responding) Can someone confirm is it working, just to eleminate bug in release etc. --~--~-~--~~

Re: how to hide session id?

2006-11-07 Thread Mikee Freedom
morning S, You might find this helpful http://groups.google.com/group/cake-php/browse_thread/thread/830cc0b2dada1295/503abec358d846f5?lnk=gst&q=session+id&rnum=18#503abec358d846f5 Usually a lot of answers can be obtained quickly and easily by doing a quick search on the Cake Google groups. HTH

how to hide session id?

2006-11-07 Thread [EMAIL PROTECTED]
Hi All my urls are being appended with CAKEPHP=3edff91ae93aa2be15f38726bb813a1c, how do I hide that?? S --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-

Re: Change the Display Format of tagErrorMsg

2006-11-07 Thread Darren
Hi, > How would I change the font/font size of the error message displayed by > tagErrorMsg using HTMLHelper? TagErrorMessage uses the css class 'error_message', if you're using cake's generic css class (i.e. $html->class('cake.generic')) you can edit the '.error_message' class in 'cake.generic

How to become Rich using Net

2006-11-07 Thread Stella
How to become Rich using Net Earning sitting at home is very easy nowadays.When everything is available online and are so easy to use.You just need a net connection and spare time to earn handsome money : http://www.earndollors.blogspot.com --~--~-~--~~~---~--~~

Caching not working

2006-11-07 Thread Kesher
I don't know why, but my images (stored in mysql) aren't cached at all. I have followed all the steps pointed at the manual (I am pretty sure), caching "display" action inside "images" controller. So loading an image is something like: img src="/imagenes/display/34" What else should I do? --~-

Fwd: Blank screen of death

2006-11-07 Thread Rodolfo Campos
Sorry, I try to access the aplication using http://localhost:8080/posts/index and this shows me a 404 NOT FOUND page, the blank screen is when I enter http://localhost:8080/index.php or http://localhost:8080/index.php/posts/indexSorry again,Rodolfo.-- Forwarded message -- From: Rod

Re: tagErrorMsg

2006-11-07 Thread Maurício Pena
the error message will come like this:
error message here so all you have to do is change the class to whatever you want On 11/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Is there any way to change the font or font size of the error messagedisplayed by tagErrorMsg

Re: Combining Edit and Create views?

2006-11-07 Thread Russell Austin
I think you are asking how to render a different view. If you have an action called "new" but want to use edit.thtml for your view, then inside your action call $this->render('edit'); But if you were in fact asking how to use a different layout, then you can use $this->layout = 'other_layout';

Blank screen of death

2006-11-07 Thread Rodolfo Campos
Friends,I'm new to cakephp and can't figure out yet how to see the first blogs example (I always see a blank screen). My computer has debian sarge, postgres, php5 with apache2.Thanks in advance for your help, --I put on my browser: http://localhost:8080/fya/posts/index. The cake's packa

refresh from setFlash()

2006-11-07 Thread mike091
I'm trying to get a redirect working to refresh a page when a form in it is sent. The page in question is imported into my main view using $this->renderElement('index') I've put all sorts of combinations in my controller; $this->Session->setFlash('saved'); then various redirects. I have put upda

Re: Web services, xmlrpc, help!

2006-11-07 Thread Chris Hartjes
On 11/7/06, Synchro <[EMAIL PROTECTED]> wrote: > > Well I already posted the absolutely minimal (so minimal you probably > missed it!) example that was not working for me. With routing enabled > in core, this code results in a 404 for xmlrpc.txt: > > The model is just an empty class. In > app/con

Re: Combining Edit and Create views?

2006-11-07 Thread Samuel DeVore
i use elements ( see http://manual.cakephp.org/chapter/views about half way down) for the common form element parts of these two views On 11/7/06, dieter.randolph <[EMAIL PROTECTED]> wrote: > Hello! I'm in the middle of my first Cake PHP project, and, though I'm > thrilled about working in thi

Re: Web services, xmlrpc, help!

2006-11-07 Thread Synchro
On Nov 7, 1:39 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > Without seeing some code, it's pretty hard to fix it. Can't imagine > why it's looking for xmlrpc.txt unless you're explicitly asking for > it. Code sample are always welcome when diagnosing bugs. Well I already posted the absolu

$ajax->sortable, confused...HELP!

2006-11-07 Thread Eric
Hi, kind bakers, I am reading the http://wiki.cakephp.org/tutorials:ajax_sortable_list, about how to make a $ajax->sortable list. I am do the Create the List of Items and make it works. BUT for the following Create the Form: The form contains a hidden text area that is filled with the data that t

Combining Edit and Create views?

2006-11-07 Thread dieter.randolph
Hello! I'm in the middle of my first Cake PHP project, and, though I'm thrilled about working in this environment, I have a lot of lame newbie questions -- here's the one I'm wrestling with now: I've noticed that the views for Edit and Create are very similar, and that it might make sense to com

tagErrorMsg

2006-11-07 Thread [EMAIL PROTECTED]
Is there any way to change the font or font size of the error message displayed by tagErrorMsg (from HTMLHelper)? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email

Change the Display Format of tagErrorMsg

2006-11-07 Thread [EMAIL PROTECTED]
How would I change the font/font size of the error message displayed by tagErrorMsg using HTMLHelper? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@

Re: Web services, xmlrpc, help!

2006-11-07 Thread [EMAIL PROTECTED]
Rpc Example: I have just posted an Rpc plugin on http://blog.itbytez.com/ The actual plugin code is very simple and quite brief. You can use it as a plugin, or take the code and do your own thing I am new to cake and new to Rpc, so beware... --~--~-~--~~~---~--~

How to use $ajax->sortable and update in a db?

2006-11-07 Thread Eric
I look at the wiki.cakephp.org, and there is a tutorial about the $ajax->sortable. Now, I can use it to drag and sort the items,like the code I paste below. This is the first list sortable ("firstlist",array()) ?> It works! I can get data for ['Topic']['created']. BUT I am quite confuse

Caching images?

2006-11-07 Thread Kesher
I'm trying to cache images from mysql, but it doesn't seem to work. Images are loaded slowly and "tmp/cache/views" folder is empty. To display a image, I use the view "images/display/$id". I have added the CACHE_CHECK thing to core.php. I wrote this on images controller: var $helpers = array('Ca

Re: Session cookies

2006-11-07 Thread Gonçalo Marrafa
Thanks Andy, you rock! I was looking through the comments on your solution (http://noswad.me.uk/MiBlog/SessionsAndPlugins) and truster presents an alternate solution. Truster suggests setting CakeSession->path='/' and ini_set('session.cookie_path', '/') in beforeFilter(). Correct me if i'm wrong

Re: Session cookies

2006-11-07 Thread AD7six
Hi Gonçalo, Did you try this: http://groups.google.com/group/cake-php/search?group=cake-php&q=session+plugin If there is always a new session for each plugin there is a solution on my site (see the results above), although I found that with an upgrade the 'problem' went away. If it is, as you sa

Re: This->query output

2006-11-07 Thread floepi
Hi, thanks for your reply. You are right - i seem to work against the framework due to my working habbits. I need to get used to cake first i think. Even so - do you know how to create your own query function. It looks really confusing to me. Cheers Phil On Nov 7, 1:33 pm, "lloydhome" <[EMAIL

Re: This->query output

2006-11-07 Thread lloydhome
Phil, For most things it is better to have the data the way it is returned. I would encourage you to work within the framework and not against it. That said, maybe you have some logic that is legacy like I do. I am porting a clumsy mess of code into Cake but it cannot be done all at once. I hav

This->query output

2006-11-07 Thread floepi
Hi all, i was wondering why cake gives me a weird output array for my query Query: SELECT jobName, ujc.id, roleName, userName, disciplineName FROM user_job_con

Re: xmlrpc

2006-11-07 Thread [EMAIL PROTECTED]
hi, since you have created the action xmlrpc_dosomething in things controller, the view should in /app/views/things/xmlrpc_dosomething.thtml try keep the action casing simple to follow. either use someThingLikeThis or some_thing_like_this. Dont mix it something_likeThis. Can be confusing for the

deleting all association matching the joint table (HABTM)

2006-11-07 Thread francky06l
Hell all, Just a quick question about the existing way in cake to remove all the association records in a join table, base on the shared table id ? Well if we get the sample Post/Tag, the post declare an HABTM relation with Tag, everything is ok to manage the posts_tags table from the the post mo

Re: Session cookies

2006-11-07 Thread Gonçalo Marrafa
I'm using PHP's native session management. I'll try Cake's and see if the problems persists. Either way i don't think it is a permissions problem. The session data files are there. The problem is that Cake creates a different session/cookie for each plugin! Thanks for your help. On Mon, 6 Nov 2

Re: Session cookies

2006-11-07 Thread Gonçalo Marrafa
I'm using Linux, so i guess our problems aren't OS related. On Mon, 06 Nov 2006 21:43:35 - "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > What operating system are you using? I use OS 10.4 and have recently > downloaded a software update for it which has cancelled my computer's > abil