new development.
>
> -teh
>
> On Apr 24, 5:40 pm, cpeele wrote:
>
> > Hey guys, I have been trying to get CakePHP to work with the iPhone
> > web app js and css library "iui" and always run into problems with it
> > when it comes to CakePH
for new development.
>
> -teh
>
> On Apr 24, 5:40 pm, cpeele wrote:
>
> > Hey guys, I have been trying to get CakePHP to work with the iPhone
> > web app js and css library "iui" and always run into problems with it
> > when it comes to CakePHP fin
Hey guys, I have been trying to get CakePHP to work with the iPhone
web app js and css library "iui" and always run into problems with it
when it comes to CakePHP finding the files.
I was able to do this without CakePHP. I know it is my lack of
understanding of how best to include a third party
I'll give that a shot...not very knowledgeable on JavaScript.
Thanks for the help!
Chris
On Apr 14, 3:21 pm, Miles J wrote:
> When your calling datepicker(), shouldnt it be on ready when the page
> loads?
--~--~-~--~~~---~--~~
You received this message because y
and look at the console/parse output
> HTH,
> --
> Marcin Domanskihttp://kabturek.info
>
> On Tue, Apr 14, 2009 at 19:44, cpeele wrote:
>
> > Hey guys,
>
> > I'm running CakePHP 1.2 and am trying to use the jQuery UI Datepicker
> > but I'm running i
Hey guys,
I'm running CakePHP 1.2 and am trying to use the jQuery UI Datepicker
but I'm running into some problems.
Actually, nothing happens.
Here are the paths to the necessary jQuery files:
Javscript files:
htdocs\TeamPlayer\app\webroot\js
CSS files:
htdocs\TeamPlayer\app\webroot\css\smoot
Hello! You could try something like what I am doing:
Controller code: (in the add action)
---
//grab list of Projects for dropdown list
$projectNames = $this->ProjectUpdate->Project->find('list', array
('fields' => 'Project.name',
Miles thanks much for the input. It worked!!!
One last question. With this code:
echo $form->input('Project.id', array('options' => $projectNames));
I need Project.id there so that it property associates, however, it
displays it in the browser with it's label reading "Id", can I change
Hey guys,
I am looking for some help on prepopulating a select form helper and
setting a default selected value using Cake1.2. I have seen solutions
but they are all in Cake1.1 Any help would be greatly appreciated!
Here is what I have so far:
Controller code:
-
That Worked! Thanks very much!
On Mar 27, 3:53 pm, mscdex wrote:
> On Mar 27, 4:00 pm,cpeele wrote:
>
> > Hey guys,
>
> > I am trying to just get a list of Products ordered by created desc but
> > I can't seem to get it.
>
> > Products have a "nam
Hey guys,
I am trying to just get a list of Products ordered by created desc but
I can't seem to get it.
Products have a "name" field so I am using findAllByName($name). I
have tried various things but can't seem to get it.
Any help would be greatly appreciated. Thanks!
---
Hey guys, I am getting an Undefined index error when I am trying to
get Projects based on project name.
Error:
--
Undefined index: Project [APP\views\projects\view.ctp, line 16]
Here's the code involved:
Controller
---
Nevermind. I figured it out.
I needed to use: findAllByName
Thanks anyway!
On Mar 25, 1:48 pm, cpeele wrote:
> Hey guys, I am getting an Undefined index error when I am trying to
> get Projects based on project name.
>
> Error:
> --
> Undefin
You know..that may be it..because I thought it was just some file
added by the Aptana studio IDE I am using. What exactly is .htaccess
do anyway?
Thank you so much for your help by the way
V/R
Chris
On Mar 25, 10:31 am, fain182 wrote:
> > Does anyone have any idea what may be happening?
>
> m
Hey guys, I have weird problem going on.
I am running Xampp Lite on win xp sp2, with cakePHP 1.2.
Sometimes (twice so far) when I go to open up the site in the browser,
none of the images or styles are there. The main (home) page shows up
but when I try and click on a link it tells me "Object n
$this->Session->setFlash("A new event has been
added");
$this->redirect('/events', null, true);
}
}
}
}
?>
On Mar 22, 12:44 am, mscdex wrote:
> On Mar 21, 11:10 pm,cpeele wrote
is->data);
However, now when it saves it doesn't grab the value of user_id stored
in the Session. It should insert the value 1 for the user_id but
instead inserts 0
Am I supposed to set something up in order to use $this->Session in my
controller?
Thanks,
Chris
On Mar 21, 9:12 p
Actually, can I use the $session helper in a controller? Is it
supposed to be Session ?
Thanks again!
On Mar 21, 9:12 pm, mscdex wrote:
> On Mar 21, 9:11 pm, cpeele wrote:
>
> > Thanks for the help guys. I appreciate it. The reason I need to do
> > this is I need to associat
Hey Thanks man! I'll give it a shot!
On Mar 21, 9:12 pm, mscdex wrote:
> On Mar 21, 9:11 pm, cpeele wrote:
>
> > Thanks for the help guys. I appreciate it. The reason I need to do
> > this is I need to associate a submitted item (in this case a project)
> > with
Thanks for the help guys. I appreciate it. The reason I need to do
this is I need to associate a submitted item (in this case a project)
with the logged in user. Is there another way to do this then?
Thanks again!
Chris
On Mar 21, 4:52 pm, mscdex wrote:
> I have to agree with John here, you sh
Hey guys,
I have checked the manual and I still find it a little confusing as
far as how to use the hidden input control.
I have a session variable named User.user_id that I want to put in the
hidden input helper but can't seem to get it to work.
I have tried the following: echo $form->hidden(
Also, one other question,...how do I access child object data like the
userName of the User object:
The below code gives the following error: Undefined index: User [APP
\views\projects\view.ctp, line 16]
Thanks!
Wow! Thank you so much!! It worked!
One question though, I didn't do a search on Projects by user_id but I
did do one by username, why is that different?
function view($username)
{
$projects = $this->Project->User->findByUsername
($username);
$this->set('p
Good morning!
It shows the following:
Array
(
[User] => Array
(
[id] => 1
[jobTitle] => Software Engineer
[firstName] => Chris
[lastName] => Peele
[username] => cpeele
var $belongsTo = 'User';
}
Thanks again!
On Mar 18, 9:38 pm, nhathoang nhathoang
wrote:
> Dear cpeele,
> I see your question is not clearly , what do you want when you use this
> query $projects = $this->Project->User->findByUsername($username);, and
> please pos
Hey guys, I am getting an Undefined index error. I am rather new to
cakePHP so it is probably something easy I am missing.
I will post the code with descriptions.
I have an element called "project_updates":
link($p
26 matches
Mail list logo