Re: 2 Models - one form

2009-06-01 Thread Ithaka
this? On May 29, 11:22 am, Ithaka justin_d1...@hotmail.com wrote: Pretty simple Jgadbois, Here could be a little example of what u would want. (in cakephp 1.2) //this doesn't have to be so complicated but im just showing u the options of the create //function. create('Recipe'); would

radio buttons and observeField

2009-05-29 Thread Ithaka
Hi everybody, I was just wondering if any has come across this or knows what i might be doing wrong. the problem: I have a couple of radio buttons, i am observing these radio buttons with ajax observeField. When clicked the radio buttons update a div which has a select box in it. I have

Re: 2 Models - one form

2009-05-29 Thread Ithaka
Pretty simple Jgadbois, Here could be a little example of what u would want. (in cakephp 1.2) //this doesn't have to be so complicated but im just showing u the options of the create //function. create('Recipe'); would automagically bring you to the add action. echo $form-create('Recipe',

Multiple DB connections on 1 controller.

2009-02-13 Thread Ithaka
Hi everyone, I have just released a a website to production and now we want to use multiple applications within that site. What I want to know is, is it possible to tell the controller to select which db config to use? Because right now, i have the new application in the website and when i try

Re: Multiple DB connections on 1 controller.

2009-02-13 Thread Ithaka
I believe i have found what i was looking for. But it is still not working correctly. I'm assuming something else is not working correctly. For those that are curious about have multiple databases in the controller, go here: https://trac.cakephp.org/ticket/1064

Re: Multiple DB connections on 1 controller.

2009-02-13 Thread Ithaka
ugh wrong link, here you go: http://groups.google.com/group/cake-php/browse_thread/thread/eacfade1d52c9071/f5e3c395037043b3 On Feb 13, 2:13 pm, Ithaka justin_d1...@hotmail.com wrote: I believe i have found what i was looking for.  But it is still not working correctly.  I'm assuming something

translations in confirm messages part of html-link.

2008-06-18 Thread Ithaka
hey guys, I was wondering if anyone has had this problem. All my translations are working except for those in the confirm messages part of the html- link. I'm looking at the source code in the browser and it's showing me before every accent there is a placed and that seems to be the problem.

Re: Is Cake the right choice for this...?

2008-06-05 Thread Ithaka
hi kwer, Welcome to cake, if you decide to choose it. Here are a couple links that i found using google. http://cakebaker.42dh.com/2006/04/15/file-upload-with-cakephp/ http://www.reversefolds.com/articles/show/filehandler I have used the first link provided when i was building my file upload

design help.

2008-05-05 Thread Ithaka
Hey guys, I've been wokring on a internet site for awhile now but i lost interest in it near february and i want to try and get back into it. So i'm gonna put it into CakePHP (which i did last time i was on it), but the problem i am trying to get rid of is this. I have a left and right side,

Re: accents not working with __()

2008-05-01 Thread Ithaka
Correction to my previous post: (était = #233tait (without space)) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

accents not working with __()

2008-04-30 Thread Ithaka
Hi guys, I was just wondering if any has come across this problem and found a solution. I've just finished doing my internationalization for french and i found that if i do __('message', true); the accents will be shown in there code form (était = était). So what i can tell from this is that

Re: Passing variables to the layout.

2008-04-16 Thread Ithaka
- S On 16/04/2008, Ithaka [EMAIL PROTECTED] wrote: Hey guys, I was wondering if anyone could help me out with this problem.  I am currently running cakephp 1.2 and i wish to pass an array to my layout so that i may use that array in a drop down list.  I have my drop down list working

Re: Passing variables to the layout.

2008-04-16 Thread Ithaka
. On Apr 16, 2:42 pm, Sam Sherlock [EMAIL PROTECTED] wrote: in the controller             $testArray = Array('foo' = 'bar')             $this-set('testArray', $testArray); in the view     ?php print_r($testArray); ? try that On 16/04/2008, Ithaka [EMAIL PROTECTED] wrote: ...and???  Been

Too much automagic??

2008-02-25 Thread Ithaka
Hi, I'm currently building a App for my work and in the layout we have our login information instead of having a seperate page to do it. The problem i found, and have been trying to fix, is that when i go into some of the pages, like edit the posts section and i am not logged in, cakephp will

Re: Too much automagic??

2008-02-25 Thread Ithaka
(null, $id); $this-set('user', $user); On Feb 25, 7:41 am, Ithaka [EMAIL PROTECTED] wrote: Hi, I'm currently building a App for my work and in the layout we have our login information instead of having a seperate page to do it.  The problem i found, and have been trying to fix

In need of guidance. multiple tables in model.

2008-02-13 Thread Ithaka
Hi everyone, I've been searching the net trying to find some information about some work that i am doing. What i wish to do is filter all my posts by the site_id's. But now to make the select box easier for the user to understand i wish the select box to show the name of the sites and they can

Re: Having problems with javascript.

2008-02-06 Thread Ithaka
/javascript rel=project directory/js/images.js/script should be:  script type=text/javascript src=project_directory/js/images.js/script On Feb 5, 2008 6:57 PM, Ithaka [EMAIL PROTECTED] wrote: Hi dardo, Yes, i did as juan instructed i did $helpers with javascript and all those required

Re: Having problems with javascript.

2008-02-06 Thread Ithaka
Fixed it! I just added it as normal html coding and it worked, i must have something wrong in cakephp codes somewhere, i will investigate further, but thanks everyone! On Feb 6, 9:19 am, Ithaka [EMAIL PROTECTED] wrote: It still isn't working. I put the javascript into app/webroot/js/ I put

Re: Having problems with javascript.

2008-02-06 Thread Ithaka
this final comment for people that are having a hard time starting with cake, hopefully this helps people. On Feb 6, 9:31 am, Ithaka [EMAIL PROTECTED] wrote: Fixed it! I just added it as normal html coding and it worked, i must have something wrong in cakephp codes somewhere, i will investigate

Having problems with javascript.

2008-02-05 Thread Ithaka
Hi, I'm having a problem with javascript in cakephp 1.2. As if that wasn't obvious enough. The Problem: I wish to load javascript in the layout for my buttons and other little functions i will implement later on. I've been looking for the past 2 days and i always see the same thing.

Re: Having problems with javascript.

2008-02-05 Thread Ithaka
I've already done that so i'm missing something here. On Feb 5, 3:23 pm, Juan F. Gimenez Silva [EMAIL PROTECTED] wrote: El mar, 05-02-2008 a las 11:12 -0800, Ithaka escribió: No... i don't have any anything on my site yet except a default layout, how would i make a controller

Re: Having problems with javascript.

2008-02-05 Thread Ithaka
No... i don't have any anything on my site yet except a default layout, how would i make a controller for the layout? On Feb 5, 3:01 pm, Juan F. Gimenez Silva [EMAIL PROTECTED] wrote: El mar, 05-02-2008 a las 08:43 -0800, Ithaka escribió: Hi, Hello? I'm having a problem

Re: Having problems with javascript.

2008-02-05 Thread Ithaka
and i load the javascript helper into the controller. I almost have the solution...the java loads, i believe, but it still doesn't do anything. And if your wondering, the java for the layout is for my graphic buttons that are in the header part of the layout. On Feb 5, 2:36 pm, Ithaka [EMAIL

Re: Having problems with javascript.

2008-02-05 Thread Ithaka
that  it is accessible via the linked url. On Feb 5, 2008 6:09 PM, Ithaka [EMAIL PROTECTED] wrote: Quick update:  Juan, i understand where u are coming from with your message.  The reason why i said i don't have anything on my app is because i'm just doing the layout right now and i'm trying