Re: cakePHP 2.1, ckeditor + ckfinder

2012-04-30 Thread hoss7
this is my sample code for wotk with ckeditor 1.copy ckeditor in "webroot/js" 2. in view : Html->script('ckeditor/ckeditor'); ?> Form->textarea('info',array('class'=>'ckeditor','id'=>'editor_office2003')); ?> -- Our newest site for the community: CakePHP Video Tutorials http://tv.c

cookie and array

2012-04-30 Thread hoss7
hi i want send array to some cookie and then i want push some values to this array in cookie. for example: in cookie i have this: array() then array([0]=>1) then array([0]=>1,[1]=>2) then array([0]=>1,[1]=>2...) this is my code: $arr=$this->Cookie->read('braceletid'); ar

Re: cakePHP 2.1, ckeditor + ckfinder

2012-04-30 Thread vijay kumbhar
1. Check the folder is present at the correct location. 2. Please check the folder permissions are correct. 3. The folder needs 777 permissions for uploading a file. 4. set function CheckAuthentication() { // WARNING : DO NOT simply return "true". By doing so, you are allowing // "

Re: cakePHP 2.1, ckeditor + ckfinder

2012-04-30 Thread Sean
For those that are having this problem as well, here is what I was able to do. This took a lot of trial and error on my part! I have mine in: app/webroot/js/ckeditor app/webroot/js/ckfinder I don't have anything special in my ckeditor config, just the default. For ckfinder, here is my config:

Re: CakePHP (2.1) Media Plugin - Multi File Upload

2012-04-30 Thread double07
Hi Jeremy, Not having much luck with the saving manually option, do you having any working examples of drag and drop (jquery) I can look at? Thanks, -Brett On Apr 17, 7:44 am, jeremyharris wrote: > > Or, instead of using the multiple option, you can try processing them each > as a single reque

Re: Cakephp SSN Encryption

2012-04-30 Thread Justin Edwards
#1 http://bakery.cakephp.org/articles/jmillerdesign/2011/12/29/cipher_plugin_behavior #2 http://www.pentaho.com/download/ On Mon, Apr 30, 2012 at 4:46 PM, Steven Scaffidi wrote: > Hi - I'm looking for information on how to encrypt data in Cakephp. My > employer had a client management system b

Cakephp SSN Encryption

2012-04-30 Thread Steven Scaffidi
Hi - I'm looking for information on how to encrypt data in Cakephp. My employer had a client management system built in Microsoft Access, and I recently took that application and put it on a web-based space built in cake. I need to now two things: #1 How can I encrypt social security numbers from

Re: Google Map interface question

2012-04-30 Thread Keith Gorman | Class Outfit
This won't be exactly what you're after, but I have recently implemented something quite similar. The following (1.3 code) will allow the user to drag and drop a pin to change the lat/long of that pin on the fly. View The first thing you'll need is to do is add a couple of json properties when

Re: Problems in making a page with "yes", "no" buttons and confirm dialog

2012-04-30 Thread Daniel
Thanks for the advice. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@

Re: Problems in making a page with "yes", "no" buttons and confirm dialog

2012-04-30 Thread lowpass
On Mon, Apr 30, 2012 at 2:01 PM, Daniel wrote: > 1. the confirm dialog / message appears when the "no" button is > clicked. Because both of the buttons are submit buttons. The confirm is called on onsubmit(). > 2. the check on params['form']['no'] does not seem to stop the delete > when "no" is

Re: Soft Delete

2012-04-30 Thread William Salazar
I did. It works. I have another problem that is related to my DB. Thanks for the help though. Regards, Will "What's wealth but the means of expanding once life? There's two ways one can do it: either by producing more our by producing it faster. And that is what I'm doing. I'm manufacturing ti

Re: Soft Delete

2012-04-30 Thread lowpass
ife() was removed in 2.x. Just change the code to use ternary, eg. $foo ? $foo : $bar; On Mon, Apr 30, 2012 at 12:41 AM, Will wrote: > Trying to do a Soft Delete in CakePHP. I initially googled it and got some > hits. The first hit was for a SoftDeletable class. I followed all of the > instructio

Problems in making a page with "yes", "no" buttons and confirm dialog

2012-04-30 Thread Daniel
I am trying to make a delete confirmation page with both "yes" and "no" buttons, and a confirmation dialog box. The dialog is to confirm the "yes" option. Here is the relevant code I have: (in the ctp view file) Form->create('User', array( 'onsubmit' => 'return confirm("Really del

Re: paginator with user defined page sizes...

2012-04-30 Thread Thomas
Still can't get this to work... :-( -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php

Soft Delete

2012-04-30 Thread Will
Trying to do a Soft Delete in CakePHP. I initially googled it and got some hits. The first hit was for a SoftDeletable class. I followed all of the instructions, however, there is an error in the code, which I do not know how to fix since I didn't write it. I could probably email the author but

Re: Paginating cached data

2012-04-30 Thread AD7six
On Monday, 30 April 2012 06:02:55 UTC+2, Jeremy Burns wrote: > > It's a 1.3 app, unfortunately. I've almost cracked it and will post back > here - hopefully later today. > The datasources repo is 2.x and 1.3 AD -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.

Re: problem

2012-04-30 Thread Tilen Majerle
does folder "cakephp" in your webroot exists ?? if u use xampp for linux, then default webroot is "htdocs" folder inside xampp, check there.. -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/4/30 darryl bautista > hi, i have a problem with my apache2, when i type to my browser the > loca