Re: Passing (json) value to javascript in PHP4

2009-12-19 Thread emmexx
On 16 Dic, 11:29, Dave davidcr...@gmail.com wrote: do you have the latest pull from the git repo on both test and production servers? I updated to 1.2.5 and the problem disappeared! :-) Thank you for the suggestion. maxx Check out the new CakePHP Questions site http://cakeqs.org and help

Re: Database encryption security

2009-12-19 Thread Marco
I think you can take a look at this behaviour: http://bakery.cakephp.org/articles/view/cryptable-behavior I didn't try it but I use something similar. You need the mcrypt library installed on your server. On Dec 18, 3:52 pm, WhyNotSmile sharongilmor...@googlemail.com wrote: I am doing this for

Re: Plugin callbacks and controller hooks

2009-12-19 Thread Aargh
10x , looks great. Still your plugins folder is empty. Would be great to see how a (very simple) event plugin looks like. Anyway, I downloaded the source code and I'll mess around with it. As expected, as soon as you need more than messing arround with some db tables, you also need some kind of

Re: strange situation

2009-12-19 Thread Quess
Cześć Kicaj, I've just checked and both liknks give me exactly the same results on firefox. Anyway if it would be true what you say then i rather think that problem is with search query/code... The same query always should produce the same results (if data wasnt changed in mean time). Regards,

Re: Plugin callbacks and controller hooks

2009-12-19 Thread Aargh
10x Jamie. Not sure which implementation to steal the ideas from I'll choose. I'm not pressed by time, so I'll try your implementation as well (most of the ideas I have in mind do not really need custom placed hooks, before filter, after filter are just enough in 99 percent of the cases where you

1 app many subdomains

2009-12-19 Thread christianstrang
Hello :) I want to create a project where every topic is on a different subdomain like: php = php.domain.com css = css.domain.com html = html.domain.com I create the subdomains in the Backend of my Server Software and insert every topic in the database (so that everything related to the topic is

Re: Image on database - How can I display it?

2009-12-19 Thread Piotr Kilczuk
Hello, I have this problem. I had follow this guide ( http://my.opera.com/Cakephp/blog/file-upload-with-cakephp ) for Upload file and store it on database. I need to store photo and file, so I thinked that is good for me! But now I want display this photo on the screen like a gallery, and

Re: CakePHP and subdirectories

2009-12-19 Thread Piotr Kilczuk
Hello, Apologies if this is a naive question, I'm not too familiar with using mod_rewrite. Thanks in advance for any advice! I think you can simply use config/routes.php for this task, then dirname would be passed as named parameter. see http://book.cakephp.org/view/46/Routes-Configuration

Re: strange situation

2009-12-19 Thread peterchenadded
Using chrome, in both cases there are no results. The problem may be with your server provider. For example when you visit my site, if you prefix www. it won't work. In chrome it gives a 'Oops! This link appears to be broken' Without it it works perfectly. They may be related or maybe not. Check

play audio and video with php

2009-12-19 Thread Anjum
hi all, i want to play audio and video files using php anyone can help me would great. thanks Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP

Ajax reload of an element from a call within the element itself

2009-12-19 Thread Laurent Kretz
Hi all ! I'm trying to reload an element inside a view, and having troubles... I read the two following similar posts without finding a solution: http://groups.google.com/group/cake-php/browse_thread/thread/6d69e85b884d4e40/f9fcd5de2c526a52

Re: Ajax reload of an element from a call within the element itself

2009-12-19 Thread Jeff Deroshia
Probably a couple of things. First, I would remove the onclick argument from $html-link() and return false from the jquery function. Second, I think you need to supply a callback function in your $.post() call to update whatever element in the dom you want. Currently, it looks like cake is

HABTM Additional Field for each Select Checkbox

2009-12-19 Thread Dave
Still no luck but some what closer. I simply want to be able to add a input beside every checkbox will add that into the foreach after I get the checkboxes working first) $skills is the list of HABTM options to select from view: ?php foreach ($skills as $skill = $value) { echo

How to change datetime month format number instead names

2009-12-19 Thread kani
How to change datetime month format number instead names 1999-january-29 to 1999-01-29 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To

AppController : beforeFilter call - when action not defined

2009-12-19 Thread NeoWebTech
Hello! I am PHP Developer for some time and developing my second CakePHP App now :) I am getting the following error when I access $logged_in from default.ctp. Notice (8): Undefined variable: logged_in [APP\views\layouts \default.ctp, line 17] Also this happens only when no corresponding

Re: 1 app many subdomains

2009-12-19 Thread NeoWebTech
This issue is already addressed in bakery: http://bakery.cakephp.org/articles/view/subdomaining-with-cake One tip is before posing here check in cakephp cookbook, bakery, group and google search. If you cannot find any here post here. This will help you faster as well as save time of the group

Re: play audio and video with php

2009-12-19 Thread Jorge Garifuna
to dereurom...@googlemail.com: With all due respect, if the best you can to offer a solution is suggest google, I'd recommend for you not to make a suggestion at all. There are developers of all levels (beginners to experts) on this list and not everyone may have seen all the responses that you