All Questions

RSS

1 answer

0 votes

Asked by Dankroad, 2 weeks, 1 day ago in Helpers

How to replace Prototype->submit with Jquery->submit?

I'm in the process of changing over my Prototype Ajax calls with Jquery ajax calls. I'm using cake v1.3.3 and I want to use the new JsHelper. I am having problems finding a suitable replacement for the prototype option "condition" on the submit...

1 answer

0 votes

Asked by foxroberts, 2 weeks, 1 day ago in Components

Session->id() empty even if cookie exists

Hello.

Even if PHP's session_id() is set, Cake doesn't know of a ID in $this-Session-id().

My Session configuration:


	Configure::write('Session.start', true);
	Configure::write('Session.timeout', '300');
	Configure::write('Session.checkAgent',...

2 answers

0 votes

Asked by Rob181, 2 weeks, 1 day ago in Controllers

Passing user info through a form

I have an app set up where users can post content. The only problem is that when a user submits content the user_id in the database always shows up as 0, so the user is never associated with the post.

I'm pretty sure all my relationships are set...

2 answers

0 votes

Asked by webzombie1, 2 weeks, 1 day ago in Controllers

Redirect to current view with arguements

Hello all,

I have a search script currently that adds variables based off a form then redirects to a set view. Then in that view it looks to see if variables have been set and sort or show data based of that. Here's my search action:


	function...

1 answer

0 votes

Asked by angelxmoreno, 2 weeks, 1 day ago in CakeQS

Why is DataSource not one of the categories in CakeQS?

Some might say because that is under models. well, isn't Behaviors under model as well and it is there.

1 answer

0 votes

Asked by angelxmoreno, 2 weeks, 1 day ago in Models

Datasource Best Practice

I have successfully created an Indeed DataSource and am looking to created a little more complicated ones. I am looking into creating a Yahoo Answers DataSource and was wondering about a few best practices. The API exposes a few functions:

1)...

1 answer

0 votes

Asked by bengeo, 2 weeks, 1 day ago in Views

Ajax or prototype submit only working on firefox

I have an ajax popup form, when i submit using ajax submit it works perfectly on firefox but not working on any other browsers?

2 answers

0 votes

Asked by apddbt, 2 weeks, 1 day ago in CakeQS

Dashboard Help - Cakephp newbie here

Good day. I'm creating a dashboard with cakephp 1.3 that displays all job line items. I am having trouble displaying the rep name instead of the id. I don't know if I need a custom query instead or if I can still use the find function. Here is...

1 answer

0 votes

Asked by lorro, 2 weeks, 2 days ago in Controllers

Complex find query for hasMany relationship

Hi,

I have been busy with the cakePHP framework for a couple of months now and I really love it. At the moment I'm working on a very new project and it does the job like it should (I think ...) but I feel uncomfortable with some code I wrote. In...

1 answer

0 votes

Asked by coventryDigital, 2 weeks, 2 days ago in Controllers

Allow registered users to only access their profile

I'm relatively new to CAKEPHP. I'm using the built in cake auth component with ACO,ACL, etc. I am looking for a solution or tutorial on how to allow registered users to access information that relates to only their user id. I've read a few...

4   5   6   7   8   9   10   11   12

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.