Re: Powered by CakePHP logos?

2010-02-07 Thread Azril Nazli
I'm proudly using the stadard one :) http://protonmania.com ...way down to the bottom On Feb 7, 8:27 am, Raven ke...@ravenne.net wrote: I know this seems kind of off-topic, but I couldn't find a more appropriate place to post this.  I was wondering if there were any sort of collection of

Re: xml parse than modify/update and finally save

2010-02-07 Thread Greg S.
Well, I've working on XML with Cake recently, and I choose to convert the XML to array and then work on the arrays, before converting the array back to an XML It works well for me ! On Feb 6, 9:56 pm, misterjinx mariusbarbulesc...@gmail.com wrote: Hello, I'm trying to figure out how to modify

Re: urgent help

2010-02-07 Thread karthik mca
Hai... In 'if' condition u did not mention the $ symbol. if ($this-data) Good Luck On 2/6/10, John Andersen j.andersen...@gmail.com wrote: Wrong answer, sorry! Your code is wrong here: if(!empty(this-data)) should be: if(!empty($this-data)) Enjoy, John On Feb 6, 9:20 pm,

I got problems lunching' m cake website, help guys :D

2010-02-07 Thread Abraham Boray
Guys, I got this problem this morning while i'm trying to get my cake app workin, i'm stuck with it now, and seekin' ur help to go further Xamp 1.7 PHP 5.X Regards Abraham Warning (2): strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are

Re: I got problems lunching' m cake website, help guys :D

2010-02-07 Thread Daniel S. Reichenbach
Hi, you could simply follow the advice given by the error message and edit your php.ini. Look for date.timezone and set it to your timezone. WkR, Daniel Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message

A problem with ajax that is hard to reproduce

2010-02-07 Thread @pauldatta
I am ajax loading some html using javascript. Occasionally, instead of my responseText from being sent, the action send back the entire page with a flash message - request error. Imagine how funny it looks when it gets loaded into a div. This is very hard to reproduce. It usually happens once in a

Can not connect Cake to a Mssql db

2010-02-07 Thread seamaster
Hi, i try to connect cakephp and after 2 days of trying i get only the yellow box with Cakephp can not connect to the database the database si reachable because it works connecting from an external php !!! The database and wamp where cake is installed are on a vmware machine thats having

Re: Error in define HABTM relation with 'joinTable' and with 'with'

2010-02-07 Thread Lorenzo Bettini
Yes, but I think you need to have a GroupsUser physical class that represents your HABTM with the right configuration settings... marco.rizze...@gmail.com wrote: I think that the use of 'with' and 'joinTable' attributes is excatly for tha case where models tables don't respect the cake

Re: checking whether a table exists

2010-02-07 Thread Lorenzo Bettini
Actually I'm succeeding in re-using (i.e., copy and paste) some of the code of the shell that uses the schema in my controller and it works fine :) Miles J wrote: Yes straight SQL, as schema files are only really usable in the shell. On Feb 3, 2:06 am, Lorenzo Bettini bett...@dsi.unifi.it

Re: Designing a form builder - Ideas

2010-02-07 Thread kdubya
Paul, I, for one, don't understand what you are trying to do. Why is the user selecting a textbox? Is this an end user/ Or is it a client- type user (someone building their website)? You say this is your first time using CakePHP so the following might be of help: In CakePHP much on the drudgery

Re: Js help with Cake 1.3

2010-02-07 Thread emptywalls
Yep, that was my problem! Thanks for the tip. On Feb 1, 11:57 am, Celso cels...@gmail.com wrote: I think that needs the writebuffer()... On 30 jan, 15:27, LordZardeck s...@blackfireweb.com wrote: For some reason I can't get this line of code to work: $js-get('click1')-event(click,

Httpsocket and POSTing File Uploads

2010-02-07 Thread Macademic
I am looking to use a CakePHP form to upload a file and then submit it to another website using httpsocket. Is this possible given the current implementation of httpsocket in Cake (i.e version 1.2.6), and/ or will it be available in 1.3? Any info on how to do this appreciated. Stuart Check out

Re: Designing a form builder - Ideas

2010-02-07 Thread @pauldatta
Hi Ken, Thank you for your response. The form builder is a app where a user can build a form online and then save it. I am generating the js validations based on the users selection of properties like isValid etc while building the form online. I have noted down your suggestions - valid though. I

Re: highest traffic cakePHP 1.2 sites?

2010-02-07 Thread keymaster
www.scratch.mit.edu == ranked 1,153 worldwide by Alexa. 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 post to this group, send email

Re: Uploader Component

2010-02-07 Thread Miles J
Yes it can, you can see an example in #5: http://www.milesj.me/resources/script/uploader-plugin#Uploading-Multiple-Files $data and $resized_path will contain paths for the uploaded and resized images, both of them. On Feb 6, 11:27 pm, Dave make.cake.b...@gmail.com wrote: Does anyone know Can

When isAuthorized() returns false I get redirected to /

2010-02-07 Thread mansil...@gmail.com
When isAuthorized() returns false I get redirected to / which then redirects to pages controller... Here is my code: App_controller: class AppController extends Controller { var $components = array('Auth', 'Session'); var $helpers = array('Javascript', 'Html', 'Form', 'Ajax',

How to Handle images w/ a Route

2010-02-07 Thread Kyle Decot
I store all of my full size images at something like /img/photos/ filename_goes_here.jpg I would like to be able to add a route so that if I visit /img/photos/75x75_filename_goes_here.jpg it will be handled by my images controller. I've tried adding: Router::connect('/img/photos/75x75_*',

Help with pagination on view page

2010-02-07 Thread Javier
I have models: 'Client' hasMany 'Service' and 'Contact'... When I view a Client record I want to see the Service and Contact records associated with that Client. Works fine till I try to paginate the Service recordsActually, first page works, but the second page seems to go to the wrong URL.

Re: Help with pagination on view page

2010-02-07 Thread Amit Rawat
Hello, You will have to pass the argument in the view like this:- ?php $paginator-options(array('update'='element_name','url'=array('controller'='controllername', 'action'='action_name',$yourargument)));? for e.g if u are passing $id to ur controller then in the view u should write somehing

Help with foreach

2010-02-07 Thread Dave
I am looping thru an array putting 3 of the values in a row using my div but my problem is if the last row has only 1 or 2 values its not closing properly. ?php $i = 0; $rowmax = 3; $rowcount = 0; ? fieldset div class=single

Re: How to Handle images w/ a Route

2010-02-07 Thread Miles J
Quick question, why are you routing it to a controller, if the path is basically the same? On Feb 7, 7:19 pm, Kyle Decot kdec...@gmail.com wrote: I store all of my full size images at something like /img/photos/ filename_goes_here.jpg I would like to be able to add a route so that if I visit