Just change the cache setting in config/core.php
Example:
Cache::config('default', array(
'engine' => 'Memcache',
'duration' => 86400,
'probability' => 100,
'servers' => array('localhost:11211'),
'compress' => false
));
On Nov 8, 7:06 pm, park wrote:
> Hi
Hi all,
I tried to deploy a Cake app to a cloud hosting service ( similar to
GAE but supports PHP and MySQL ) which does NOT allow write access to
the file system. The caching is supposed to be taken care of by
Memcache.
Is it possible to get Cake to work in such an environment?
I did change Ses
Ok, but based on what factor you will disable this option?
I guess you still can do it with jquery.
Give a look here:
http://stackoverflow.com/questions/1318802/enabling-and-disabling-radio-buttons-depending-on-user-selection
--
Renato de Freitas Freire
ren...@morfer.org
On Tue, Nov 9, 2010 a
It has been a while but usually the response would just be empty, even
if I was setting data.
On Nov 8, 3:49 pm, "Dave Maharaj" wrote:
> All my responses are JSON with true / false then do something like you said.
> I was just curious as everything I seem to have found says Security
> Component w
Thank you for your help cricket,... leme try this... lol I know that
this is still old version of it. But I bought it and kind of stack
with it,... like it too much, I did lots of work on it already ... but
will love to upgrade to 1.3.5 if possible. I'm still leaning the
process of it, I mean the C
>
> Do you want to add a radio input disabled or disable some option based on
> some data?
>
Yes, I do want to "disabled" some radio buttons. But, what if the "options"
is under an array?
EX:
$ccbanks = array(
"VISA" => "VISA",
"MasterCard" => "MasterCard",
"A
I'm doing this:
echo $this->element('sql_dump');
In the where clause of one of the statements, I have this:
ON ("ClientsProjects"."project_id" = '5' AND
"ClientsProjects"."contact_id" = "Contact"."contact_id")
I've searched my entire code base and cannot for the life of me find
where the hard co
On Mon, Nov 8, 2010 at 5:46 PM, chris...@yahoo.com wrote:
> Hi guys, I'm new to this,... and make a long story short I bought an
> incomplete social network script... I need to add videos, blogs,
> groups,... etc... and having problem to categories them... Found you
> here in Google Groups,... Wha
On Mon, Nov 8, 2010 at 6:22 AM, euromark wrote:
> thing is i tried all that before
> all kind of errors due to the create_function syntax (probably
> variables outside of the scope)
>
> today - after quite some time of trial and error - I discovered that i
> need to use var_export as well in order
On Mon, Nov 8, 2010 at 6:55 PM, Geoff Wiggs wrote:
> cricket,
>
> Thanks for your advice, this is indeed where I need to make my changes.
> However, I am still having an issue. I am using Sparkplug for user and
> permissions management. How do I reference an action in a controller in a
> plugin
Do you want to add a radio input disabled or disable some option based on
some data?
if is the first option:
input('Shipping.shipping_mode', array(
//'div' => false,
'class' => 'sepradio',
//'label' => false,
'legend' => false,
'type' => 'radio',
'DISABLED' => 'DISABLED',
'options' => $shippingmod
I think, this is not possible? I do not want to use $form->radio()
--
Louie Miranda
- Email: lmira...@gmail.com
- Web: http://www.louiemiranda.com
On Mon, Nov 8, 2010 at 3:51 PM, Louie Miranda wrote:
> I have this array...
>
> $ccbanks = array(
> "VISA" => "VISA",
> "
cricket,
Thanks for your advice, this is indeed where I need to make my changes.
However, I am still having an issue. I am using Sparkplug for user
and permissions management. How do I reference an action in a
controller in a plugin for this purpose?
geoff
On 11/8/2010 3:18 PM, cricket w
cricket,
Thanks for your advice, this is indeed where I need to make my changes.
However, I am still having an issue. I am using Sparkplug for user and
permissions management. How do I reference an action in a controller in
a plugin for this purpose?
geoff
On 11/8/2010 3:18 PM, cricket w
All my responses are JSON with true / false then do something like you said.
I was just curious as everything I seem to have found says Security
Component will not work so just trying to get an answer on what exactly
"will not work" means.
? The component will add the Token / hash but its not chec
Most of the time it will not validate and blackhole (throw a
whitepage), it was easiest to just disabled it in AJAX calls.
$this->Security->validatePost = false;
We dont need validation in AJAX anyways as we usually need some sort
of json response.
On Nov 8, 2:18 pm, "Dave Maharaj" wrote:
> Ok
On Mon, Nov 8, 2010 at 5:14 PM, Beavis de Milo wrote:
> Quick question that sort of bridges Apache and Cakephp.
>
> I have my production set established, but I am having problems getting
> the "\" directory to point to my application.
I presume you mean the '/' *request* points to your app.
> If
Hi guys, I'm new to this,... and make a long story short I bought an
incomplete social network script... I need to add videos, blogs,
groups,... etc... and having problem to categories them... Found you
here in Google Groups,... What a great place to be... Thank you in
advance for your help and eff
Ok from what I have read using Security Component with AJAX request will not
work.
So I never added it to my app_controller, then today I decided lets see what
happens so sure enough my forms all get the security div
Now just for fun I tested my forms that use ajax and they all submit fin
Quick question that sort of bridges Apache and Cakephp.
I have my production set established, but I am having problems getting
the "\" directory to point to my application. If I access xxx.com/
dashboards then my application correctly either accesses this
controller or bounces me to my login page
You could just write the Javascript manually. I never found a benefit
in using a PHP helper that generates your JS code, when you can just
write the JS code.
On Nov 8, 9:00 am, Dobrogor wrote:
> Yes, I working with jQuery helper that i can use in Cake. Because
> original jquery code dont working
Sorry, I ask this because you generally write your javascript in the CTP,
but if you don't make the right include call, jQuery won't be able to run.
MM
On Mon, Nov 8, 2010 at 1:26 PM, Matt Murphy wrote:
> Look at the generated code at the URL from which you're testing cakephp.
> Is jquery being
Look at the generated code at the URL from which you're testing cakephp. Is
jquery being included in the header?
MM
On Mon, Nov 8, 2010 at 12:00 PM, Dobrogor wrote:
> Yes, I working with jQuery helper that i can use in Cake. Because
> original jquery code dont working in files with extensions
on my approach with a query before and pass the ids, i think is
problematic with pagination. because i get all node ids but i need
only the ids per page.
On 8 Nov., 17:50, p r wrote:
> Thanks for your answer but they does not fit exactly the question. Or
> could i pass the query result to $this-
Yes, I working with jQuery helper that i can use in Cake. Because
original jquery code dont working in files with extensions .ctp.
I files with extensions .html or .php jquery work perfecty.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related ques
Thanks for your answer but they does not fit exactly the question. Or
could i pass the query result to $this-
>paginate['Article']? Ok i could do a first query and get the ids. In the
>conditions i pass this ids so i have a simple condition for pagination.
But i hope for an explanation to do this
Yes, double array is the problem for sure :D
--
Tilen Majerle
http://majerle.eu
2010/11/8 MissYeh
> hm.. not sure if my message came through. But try the following:
>
> $conditions99 = array("person_id" => "2", "publication_year >" =>
> "1994");
> $publications_unchecked=$this->set('publicatio
hm.. not sure if my message came through. But try the following:
$conditions99 = array("person_id" => "2", "publication_year >" =>
"1994");
$publications_unchecked=$this->set('publications_unchecked',$this-
>Publication->find('all',array('conditions' =>$conditions99)));
On Nov 8, 10:24 am, pearl
Hi ,
To get jQuery working it might be better to ask in a jQuery group or
check their documentation?
http://docs.jquery.com/How_jQuery_Works (and search for "alert")
Or are you working with a jQuery helper that you can use in CakePHP?
On Nov 8, 5:57 am, Dobrogor wrote:
> Hi, Frieds!
> I tryin
Hi,
Try this $this->Security->validatePost = false or if you have
a blackHoleCallback put the exception action there.
On Mon, Nov 8, 2010 at 12:50 PM, massl wrote:
>
> Just in case someone finds this at google (like me):
>
> Don't forget to add another = after $this->action.
> Or better:
>
> if
If you want, you may use your standart mysql syntax by query method.
for example:
$this->YourModel->query('your mysql query');
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
Just in case someone finds this at google (like me):
Don't forget to add another = after $this->action.
Or better:
if(isset($this->Security) && 'myaction' == $this->action) {
$this->Security->enabled = false;
--
View this message in context:
http://cakephp.19694.n2.nabble.com/how-to-disable-
Hi,
We're trying to migrate from CakePHP 1.1 to CakePHP 1.3.4 and we're
stucked! In 1.1 we're using the findAll() function and according to
the documentation you have to use this function in the following way
instead in newer versions of CakePHP:
find('all', $params);
I've tried this but I can't
Hi, Frieds!
I trying to work with jquery helpers now. But I realy dont understands
how it works:)
Please show me how to show javascirpt massege( alert("hello!") ) when
i click on First Paragraph element. What kind of
code I must write in controller, model and view?
Very Thanks :)
Check out the ne
i want to show all articles from current user and the articles from
all friends of this user and single articles from any user that the
current user has promote. promote_user is a kind of twitter following
and follower.
SELECT DISTINCT `Article`.*
FROM `nodes` AS `Article`
thing is i tried all that before
all kind of errors due to the create_function syntax (probably
variables outside of the scope)
today - after quite some time of trial and error - I discovered that i
need to use var_export as well in order to work
http://pastebin.com/cfrrewGX
i was wondering weath
Hi everybody
I just upgraded my OSX from Leopard to Snow Leopard, and now when I'm
trying to create an ACO using the console I'm getting a "Error: Class
CreateShell could not be loaded".
Anyone has an idea why? Before upgrading this worked flawlessly.
Thanks, Josh
Check out the new CakePHP Ques
37 matches
Mail list logo