Re: How much to charge?

2011-02-17 Thread hydra12
:-) @keymaster - Thanks for the hourly pricing. That helps a lot! hydra12 On Feb 17, 12:39 am, keymaster ad...@optionosophy.com wrote: Just off the top of my head, for freelance work: Western countries - $50 - $125/hr. India/Russia/Africa - $8 - $25/hr. Where you fit in that range

How much to charge?

2011-02-16 Thread hydra12
I've been offered a one-time job to develop a database driven form for someone's website. I don't have any idea what to charge. I've done some of this before, but always when I was on salary. Anybody want to give me some advice? Thanks in advance! hydra12 -- Our newest site

Plugin model with no table

2009-04-28 Thread hydra12
table error for my model. Does anybody know what I'm doing wrong? Error: Database table adauthusers for model Adauthuser was not found. Thanks! hydra12 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group

Re: How do I represent a habtm where the join table has extra information?

2008-11-04 Thread hydra12
Take a look here: http://book.cakephp.org/view/83/hasAndBelongsToMany-HABTM. Look especially at the 'with' key when you define your HABTM relationship. It says in the docs: with: Defines the name of the model for the join table. By default CakePHP will auto-create a model for you. Using

Re: Authentificate against LDAP?

2008-11-04 Thread hydra12
://adldap.sourceforge.net/). I drop it in the vendors folder, then create an instance of adldap in my users controller and do all my authentication there. I've had good luck with it so far, but it's not 'cakey', so it might not be what you are looking for. I hope that helps. hydra12 On Nov 4, 4:11 am, Sebastian

Re: how to use our own class in cakephp?

2008-10-23 Thread hydra12
Are you talking about a non-cake class that you want to use? If so, drop it in vendors and use it that way. On Oct 23, 5:36 am, xelios [EMAIL PROTECTED] wrote: how to use our own class in cakephp? --~--~-~--~~~---~--~~ You received this message because you are

Re: how to edit multple rows in one view

2008-10-20 Thread hydra12
This can get complicated VERY fast. First, do you want the changes to be made immediately, or does the teacher have to click a submit/save button to save changes? Second, is ajax an option? hydra12 On Oct 20, 10:27 am, soldier.coder [EMAIL PROTECTED] wrote: Hello coders! I'm trying

Re: how to edit multple rows in one view

2008-10-20 Thread hydra12
); ?? On Oct 20, 1:47 pm, hydra12 [EMAIL PROTECTED] wrote: This can get complicated VERY fast.  First, do you want the changes to be made immediately, or does the teacher have to click a submit/save button to save changes?  Second, is ajax an option? hydra12 On Oct 20, 10:27 am, soldier.coder

Re: how to edit multple rows in one view

2008-10-20 Thread hydra12
, 7:04 pm, soldier.coder [EMAIL PROTECTED] wrote: On Oct 20, 3:49 pm, hydra12 [EMAIL PROTECTED] wrote: I asked about ajax because that actually makes things easier in some ways.  You can set each grade to save via ajax when the teacher moves on to the next grade.  It all happens

Re: Foreach loop with data from other model

2008-10-17 Thread hydra12
If you have the relationship setup correctly, you don't have to use the ratings model. You can do this in your controller: $this-set('ratings', $this-Picture-Rating-avgRating($id)); That's all off the top of my head, but it should work. HTH, hydra12 On Oct 17, 4:22 pm, nomex [EMAIL PROTECTED

Re: Adding fields to the URL

2008-10-15 Thread hydra12
assigned to null if they don't put one in the url), render a view page. If they do match, show an edit page (you could do this through switching, or you could redirect to an edit page). I hope that helps! hydra12 On Oct 15, 5:23 am, Cody Sortore [EMAIL PROTECTED] wrote: Okay, with the particular

Re: 2 apps, one cms and the other is the normal site - site needs to get to the cms's webroot

2008-10-14 Thread hydra12
I don't have access to my dev machine right now to check, but I think you can do this in the bootstrap file. I'll see if I can find more tomorrow. On Oct 14, 6:14 pm, Shackadoodl [EMAIL PROTECTED] wrote: Hi guys, Urgent question: I have a project with an extremely tight deadline, so

Re: CakePHP Install Problem

2008-10-09 Thread hydra12
It really sounds like a permissions problem. I know you checked it already, but does the user that apache runs as have permissions to view the page? On Oct 9, 11:08 am, darwin2kx [EMAIL PROTECTED] wrote: No file permission problems. AllowOverride is set to All.

Re: Share the webroot folder ( multiple app folders )

2008-10-07 Thread hydra12
Have you looked at the advanced install options in the documentation? http://book.cakephp.org/view/35/Advanced-Installation You can define where the webroot folder, the app folder, and the cake folder are. On Oct 7, 2:15 pm, Shackadoodl [EMAIL PROTECTED] wrote: Hi guys I've seen the

Re: Trouble with the HtmlHelper and $scripts_for_layout

2008-10-06 Thread hydra12
If you look at the api, you'll see that $html-css creates a link to a pre-existing style sheet in webroot/css. $scripts_for_layout is for javascript using the javascript helper. On Oct 6, 12:02 pm, Marc Campeau [EMAIL PROTECTED] wrote: Yeah sorry, I thought I should have put that in the

Re: Trouble with the HtmlHelper and $scripts_for_layout

2008-10-06 Thread hydra12
Oops! You're right. Sorry. I can't get it to work either. On Oct 6, 2:00 pm, Marc Campeau [EMAIL PROTECTED] wrote: Thanks for your input. I beg to differ though, the manual says: http://manual.cakephp.org/view/96/Layouts When using $html-css() or $javascript-link() in view files,

Re: How can I change the path of webroot/js and webroot/css?

2008-09-18 Thread hydra12
This is configured in /cake/cake/config/paths.php. I don't know if there is a way to configure this on a per app basis or not. You'll have to be careful, though. It's configured in 2 different places - once for the absolute path, and once for the web path. On Sep 18, 9:27 am, MarcS [EMAIL

Re: Populating a selectTag using jQuery AJAX

2008-09-17 Thread hydra12
there has to be a view called get_events that returns the xml data. I hope that helps. hydra12 On Sep 17, 8:57 pm, teknoid [EMAIL PROTECTED] wrote: Perhaps  I didn't look at your code very closely, but after you've made the xml string ($xml) what happens? Shouldn't your action output (return) that xml

Re: JSON troubles

2008-09-09 Thread hydra12
I've had this problem developing on my macbook using mamp. I finally stopped using mamp and started using the builtin apache server, and I haven't had any more problems. On Sep 9, 11:44 am, Kyle Decot [EMAIL PROTECTED] wrote: Okay that is getting more and more strange as I keep trying to get

Re: JQuery + JSON

2008-09-08 Thread hydra12
/view/'+postId+''; Now, if you call your page directly, say like this: http://localhost/myapp/posts/view/post, you should get a blank page, but the json should show up in firebug. If you call it via ajax, everything should work. HTH, hydra12 On Sep 7, 11:43 am, Jonathan [EMAIL PROTECTED] wrote

Re: scaffold

2008-09-02 Thread hydra12
The easiest way to do this is to bake your application and have bake create the default views for you. Then you can go in and edit those views any way you want. Otherwise, scaffolding is pretty much non- editable. I think you can edit the scaffold templates, but I don't know how to do that.

Re: JSON troubles

2008-08-25 Thread hydra12
to match the url that works when I call it directly. I hope that helps! hydra12 --~--~-~--~~~---~--~~ 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

Re: JSON troubles

2008-08-25 Thread hydra12
OK, I missed where the line wrapped, too. A couple of things: 1. In the working link, you have a parameter called id. In the non- working one, you have state_id. 2. Why are you calling the html helper in your javascript? Are you using cake 1.1? 1.2 doesn't have $html-url. 3. If you do mean

Re: JSON troubles

2008-08-25 Thread hydra12
I'm still curious - in your first post, you use a param in the url called id. It equals 6. You said it worked. In your jquery code, you use state_id=6 instead of id=6. Could that be the problem, or is it a typo? --~--~-~--~~~---~--~~ You received this message

Re: Slow...

2008-04-24 Thread hydra12
Are you using firebug in firefox? I've noticed that sites with lots of javascript run VERY slow under firebug. Try testing in another browser or turning firebug off and see if that helps. On Apr 24, 9:32 am, Pierre MARCOURT [EMAIL PROTECTED] wrote: Thanks for the advice Chris, I am going to

Re: CakePHP with ExtJS

2008-04-18 Thread hydra12
). I've written a few tutorials on my blog: www.ntatd.org/mark. I don't use any helpers. I hope that helps some! hydra12 On Apr 18, 6:59 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ExtJS and Cake do indeed work quite nicely together. Having used them together for several projects now, I have

Re: Array in PHP to JSON

2008-04-03 Thread hydra12
to put in your layout to make your json available to your views. And on slide 34, it shows how to access that data from jquery. I hope that helps. hydra12 On Apr 3, 8:42 am, Tom [EMAIL PROTECTED] wrote: Thanx, but i would like to use it with Jquery. I have a filled array in php, and in a js file

Re: How multiple cakephp Apps??

2008-01-26 Thread hydra12
Put your cake folder in your root web folder (ex. http://localhost/). Now put your apps in the cake folder (same folder that the default app is). You can now call them with http://localhost/app1, http://localhost/app2, etc. hydra12 On Jan 26, 1:13 pm, Asinox [EMAIL PROTECTED] wrote: Hi, im

Re: An Idea For Ease Of Developing Views

2008-01-24 Thread hydra12
can go wrong. PHP works great, cake devs already know it, and it can be very nice looking if you design your site properly. hydra12 On Jan 24, 7:52 am, Chris Hartjes [EMAIL PROTECTED] wrote: On Jan 24, 2008 5:41 AM, Gary Taylor [EMAIL PROTECTED] wrote: I would love to see this as an addon

Re: CakePhp and Extjs tree

2008-01-24 Thread hydra12
On 23 Gen, 19:39, hydra12 [EMAIL PROTECTED] wrote: I haven't tried this yet. You might look here for some basic information: http://extjs.com/learn/Tutorial:Ext20_Tree_TreeLoader_PHP_MySQL The main problem I see with doing this with cake is getting your data in the correct format. I

Re: CakePhp and Extjs tree

2008-01-23 Thread hydra12
tutorial up sometime. You can find my other stuff here: http://www.ntatd.org/mark. Maybe some of it will help, since the datagrids do cover outputting data in json format. hydra12 On Jan 22, 8:14 am, Paolo [EMAIL PROTECTED] wrote: Hi all! Hasanyone tried to integrate cake with extjs tree? I qould

Re: application falls

2008-01-23 Thread hydra12
Just off the top of my head (I'm not a bsd guy), make sure that whatever user apache runs under has permissions on the directory where your app is. On Jan 22, 5:01 am, galem [EMAIL PROTECTED] wrote: First of all, sorry for my english! Has written the appendix on cakePHP. Have established on a

Re: AJAX Request - DHTML Suite

2008-01-21 Thread hydra12
Can you show the relevant js code? Specifically, how are you inputting the url? On Jan 21, 7:29 am, ryoungsma [EMAIL PROTECTED] wrote: I am looking at using the DHTML Suite (dhtmlgoodies.com) with my application. I am using their Window Widget to retrieve some information via AJAX. The

Re: AJAX Request - DHTML Suite

2008-01-21 Thread hydra12
']; ?'; /script In my javascript code, I put this for my ajax url: contentUrl: 'http://'+host+'/myapp/vendor/view/107' I hope that helps some. hydra12 On Jan 21, 9:38 am, ryoungsma [EMAIL PROTECTED] wrote: Here is the js code to generate the window script type=text/javascript function

Re: Setting $useDbConfig at runtime with cake 1.2 beta

2008-01-21 Thread hydra12
Look at the values in $this-params (it's an array with all the parameters passed to the controller). If selenium is always the last parameter, you could check that, or you could just do: if(in_array('selenium', $this-params) { $this-useDbConfig='selenium'; } HTH! hydra12 On Jan 19, 11:58

Re: Simple Bog tutorial Sorting question

2008-01-21 Thread hydra12
is really great about helping point you in the right direction. hydra12 On Jan 20, 10:35 am, justradar [EMAIL PROTECTED] wrote: ... but i guess i was likely searching for the WRONG vocabulary ... --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Confused using forms (i think!)

2008-01-21 Thread hydra12
I haven't ever tried this, but I think that $this-User-Usertype- find() needs to be $this-User-Usertype-findAll() if you want to get a list of all the different user types. Best way to do this - use bake to make your views, then see how it handles this. On Jan 19, 3:57 pm, judouk [EMAIL

Re: cakephp 1.2 :: Database prefix and tips about sanitize

2008-01-21 Thread hydra12
I could be wrong, but I don't think you have to do anything to use the database prefix. That's configured in database.php. On Jan 19, 1:21 pm, Josoroma [EMAIL PROTECTED] wrote: I have an afterSave function inside a model, my two questions are: #1 How do i use the database prefix? #2 Do i

Re: How to test that adatabase table exists ?

2008-01-21 Thread hydra12
Here's an idea: assuming you have a table users with data in it and a table schools that is empty. In the users controller: function test() { $data = select * from users limit 0,1; //custom query, limit to make things run faster $temp = $this-User-execute($data); if($temp)

Re: AJAX Request - DHTML Suite

2008-01-21 Thread hydra12
:'tab1', contentUrl:http://+host+/inventory/generals/view/+viewId} ); var newWindowWidget = new DHTMLSuite.windowWidget(newWindowModel); newWindowWidget.init();} /script I now pass an 'id' to the script as well. Thank you. On Jan 21, 10:58 am, hydra12 [EMAIL PROTECTED] wrote: OK, a couple

Re: Redirecting to another url in cake

2008-01-21 Thread hydra12
I'm still unsure what you are wanting. Are all of these new pages going to be cake pages, or are they going to be static pages? If they are cake pages, then your two points are correct. Sometimes it is easier to make a new layout. On Jan 19, 1:37 am, Novice Programmer [EMAIL PROTECTED] wrote:

Re: Redirecting to another url in cake

2008-01-21 Thread hydra12
. In reference to your routes question, no, you shouldn't have to set a route for every link you make. If you follow the /controller/action model, things should just work. hydra12 On Jan 21, 2:45 pm, Novice Programmer [EMAIL PROTECTED] wrote: Hello hydra, you got my point right. But here i have

Re: Inserting multiple records into the same model from one form

2008-01-17 Thread hydra12
I wrote a tutorial on this awhile back. You can find it here: http://www.ntatd.org/mark/?p=28. It's a little bit strange because of the date stuff I was also having to deal with (it's just working code from a project I had), but maybe it will help a little. Let me know if I can help. hydra12

Re: Array Structure using alias Fieldnames in findAll() Method

2008-01-17 Thread hydra12
: http://www.thinkingphp.org/2007/02/24/cake-12s-set-class-eats-arrays-for-breakfast/ I have an example that uses this to create a json string here: http://www.ntatd.org/mark/?p=29. I hope that helps some. I know it's not what you actually asked for, but maybe it will help in the mean time. hydra12

Re: Redirect to a wrong url when i login successfully

2008-01-17 Thread hydra12
It would help if you could post your code. What address did you tell your page to redirect to? If you just want to redirect to http://www.test.com/app/, you could try redirecting to '/'. I hope that helps. hydra12 On Jan 16, 8:03 am, KnightE [EMAIL PROTECTED] wrote: Hi, I'm new to cakephp

Re: cakephp directory structure

2008-01-17 Thread hydra12
/. If you want to have several different apps, you can create a folder inside cakephp for each app (essentially, just copy the app folder and rename it). If you put things in /app/addressbook/, I don't think it would work. hydra12 On Jan 17, 3:27 am, aamir [EMAIL PROTECTED] wrote: Hello, I have

Re: Installation/htaccess problems

2008-01-17 Thread hydra12
directory structure, there are ways to make it work, but I don't thing you need to change the .htaccess file. hydra12 On Jan 15, 3:37 pm, Reuben Avery [EMAIL PROTECTED] wrote: Hi all, Having some difficulty getting off the ground here with the cake blog tutorial, wondering if maybe someone might

Re: How combine CakePHP + ExtJS?

2008-01-15 Thread hydra12
. On Jan 11, 11:15 pm, hydra12 [EMAIL PROTECTED] wrote: OK, the forms tutorial is up now. You can find it here:http://www.ntatd.org/mark/?p=31. Have a great weekend! On Jan 11, 8:38 am, hydra12 [EMAIL PROTECTED] wrote: That's what it's supposed to do. getAllUsers just returns a json

Re: javascript declarations

2008-01-15 Thread hydra12
Try this instead: ?php if(isset($javascript)) { echo ($javascript-link('prototype.js')); echo ($javascript-link('scriptaculous.js')); } ? This is the normal way to write an if statement in php. I don't know if the other way will work or not. hydra12 On Jan 15, 7:59 pm, b logica

Re: How combine CakePHP + ExtJS?

2008-01-11 Thread hydra12
it in the grid. The fact that you are getting the json string when you call getAllUsers directly means you're on the right track. Let me know if I can help. BTW, I'm about 1/2 way done on a forms tutorial . . . hydra12 On Jan 11, 8:13 am, inma [EMAIL PROTECTED] wrote: Thank you Hidra12! I read your

Re: How combine CakePHP + ExtJS?

2008-01-11 Thread hydra12
OK, the forms tutorial is up now. You can find it here: http://www.ntatd.org/mark/?p=31. Have a great weekend! On Jan 11, 8:38 am, hydra12 [EMAIL PROTECTED] wrote: That's what it's supposed to do. getAllUsers just returns a json string with data from the database. Now call myroot/users

Re: How combine CakePHP + ExtJS?

2008-01-10 Thread hydra12
have to take the post data ($_POST) and rewrite it to fit cake's array preferences, then you can save to the database. hydra12 On Jan 10, 5:13 am, foxmask [EMAIL PROTECTED] wrote: i tried to repeat the step of your example with ext 1.1.1 here is my ajax.ctp !DOCTYPE html PUBLIC -//W3C//DTD XHTML

Re: Looking for an example with Extjs lib

2008-01-10 Thread hydra12
I just posted a newer tutorial that works with ext-2.0 and cake 1.2 beta here: http://www.ntatd.org/mark/?p=30 On Nov 26 2007, 10:12 am, hydra12 [EMAIL PROTECTED] wrote: OK, I now have an example to share. It's fairly long, so I won't post it here, but you can find it on my blog. http

Re: How combine CakePHP + ExtJS?

2008-01-10 Thread hydra12
OK, I did some searching and found this thread: http://groups.google.com/group/cake-php/browse_thread/thread/32d4c152746ddb38/48bde29ad0776d1f?lnk=gstq=extjs#48bde29ad0776d1f --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: add form in index.ctp

2007-12-27 Thread hydra12
this: ?php echo $form-input('message', array('type'='text')); ? Note - I haven't tested this, just going from memory and a quick check of the api: http://api.cakephp.org/1.2/class_form_helper.html#986b871ad98a20ed1ce3b8ec42d63ce3 Hope that helps! hydra12 On Dec 27, 5:23 am, krr [EMAIL PROTECTED] wrote

Re: Integration of Ext js in cakephp

2007-12-26 Thread hydra12
Here's a tutorial on using the datagrid with cake: http://www.ntatd.org/mark/?p=29. Read the comments at the bottom: they point to a discussion that has more information. I'm working on an update for the tutorial, but maybe this will help you until then. hydra12 On Dec 26, 3:03 am, ProFire

Re: how can we create datagrind in cakephp using ajax helper

2007-12-22 Thread hydra12
I need to see your code. Best would be your javascript code and your controller code. I'm on vacation for Christmas, but I'll see what I can do to help. hydra12 On Dec 22, 4:20 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thanks hydra12, but still i m not getting greed, actually

Re: how can we create datagrind in cakephp using ajax helper

2007-12-21 Thread hydra12
helping someone else get it working. I'll be updating my blog with what I learned soon, but until I do (hey, it's Christmas . . .), maybe it will help. I'm also willing to answer questions as I have time. Hope that helps! hydra12 On Dec 21, 5:36 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote

Re: AJAX submit problem - 403 on www server

2007-12-20 Thread hydra12
. It may work on your dev machine, but won't on your production server. I hope that helps (hey, I hope it makes sense to someone besides me . . .) hydra12 Thanks for Your reply. I understand what You mean, but the problem is, that I'm not using hostname in my URL. Look: [...] new

Re: AJAX submit problem - 403 on www server

2007-12-19 Thread hydra12
(hey, I hope it makes sense to someone besides me . . .) hydra12 On Dec 19, 4:38 pm, d'plus [EMAIL PROTECTED] wrote: Hello I've recently uploaded my project onto my webserver, and right now I can't submit form using AJAX. Everything was working on my local environment (xampp), but now it's

Re: Cake and JSON.

2007-12-10 Thread hydra12
. hydra12 On Dec 10, 3:41 am, kchopein [EMAIL PROTECTED] wrote: Hi!! First of all, thanks for the work! I'm trying to use the JSON component with the Dojo Toolkit but I'm having a problem: the generated json code includes the model level, and I only need the data. I mean, I'm getting

Re: Cake and JSON.

2007-12-10 Thread hydra12
:-) I'm glad it worked! On Dec 10, 11:35 am, Marcos Hernández [EMAIL PROTECTED] wrote: Oh, man, you're my savior!!! It works great without touching anything!! Thanks a lot!! hydra12 escribió:Try this (works in 1.2): First, put all of your data into a variable, for instance if your model

Re: Problems with save

2007-12-03 Thread hydra12
into a similar problem once. I was updating a meetings table, and I tried to do things like $this-data['Meeting']['date']. When I tried to save, I got errors. Changing it to $this-data['date'] fixed things for me. I hope that helps. hydra12 On Dec 3, 7:19 am, stefano [EMAIL PROTECTED] wrote: Hello i'm

Re: Looking for an example with Extjs lib

2007-11-26 Thread hydra12
OK, I now have an example to share. It's fairly long, so I won't post it here, but you can find it on my blog. http://www.ntatd.org/mark/?p=29 I hope that helps you some. If you have any questions, let me know. hydra12 On Nov 21, 5:19 pm, aniston [EMAIL PROTECTED] wrote: Thankx Hydra

Re: Save multipel posts at once

2007-11-26 Thread hydra12
Here's a post on my blog that talks about saving several records to your database at once: http://www.ntatd.org/mark/?p=28 I hope that helps! hydra12 On Nov 22, 12:57 pm, laeffe [EMAIL PROTECTED] wrote: I'm trying to create a page that will submit multipel posts for an model. But i cant

Re: Looking for an example with Extjs lib

2007-11-21 Thread hydra12
I have used extjs with cake a few times. I'll send you some examples later, but I'm on vacation right now and away from my dev. machine. hydra12 On Nov 21, 5:42 am, aniston [EMAIL PROTECTED] wrote: Hello, I found the edit-grid example of extjs very neat and was looking for an example setup

Re: Display Recent posts lists in layout

2007-10-26 Thread hydra12
I'd use an element with requestAction. You can find a tutorial on how to use them here: http://bakery.cakephp.org/articles/view/creating-reusable-elements-with-requestaction Hope that helps. hydra12 On Oct 26, 2:34 pm, Adam Risser [EMAIL PROTECTED] wrote: I have a section in my default

Using Routes with Admin Routing

2007-10-25 Thread hydra12
this function. Any ideas? Thanks! hydra12 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: How can I post a form to different controller/actions if the form has two submit buttons

2007-10-25 Thread hydra12
on the contents of your hidden field. --OR-- 1. Use javascript to change the action of your form based on which button is clicked. I hope that helps. hydra12 On Oct 25, 7:51 am, Rahul [EMAIL PROTECTED] wrote: Hi I am working on a Animal Inventory System. In a particular area of my application

Re: Using Routes with Admin Routing

2007-10-25 Thread hydra12
OK, found the answer here: http://groups.google.com/group/cake-php/browse_thread/thread/af135e46e9acb355/93459541d5c568d9?lnk=gstq=router+admin+routing#93459541d5c568d9 I should have spent more than 30 minutes looking for the answer . . . On Oct 25, 9:43 am, hydra12 [EMAIL PROTECTED] wrote

Re: Using Routes with Admin Routing

2007-10-25 Thread hydra12
OK, I was wrong. I grabbed the latest (pre-beta), then I grabbed the latest from svn. It still doesn't work. Any thoughts? On Oct 25, 10:06 am, hydra12 [EMAIL PROTECTED] wrote: OK, found the answer here:http://groups.google.com/group/cake-php/browse_thread/thread/af135e46... I should

Re: Using Routes with Admin Routing

2007-10-25 Thread hydra12
OK, finally got it for real: Router::connect('/admin/', array('prefix'='admin','controller' = 'tips', 'action' = 'index')); 'prefix'='admin' was the key. On Oct 25, 10:26 am, hydra12 [EMAIL PROTECTED] wrote: OK, I was wrong. I grabbed the latest (pre-beta), then I grabbed the latest from

Re: 400 Bad Request on Windows

2007-10-23 Thread hydra12
root to c:\web\projects. 3. I set my eclipse workspace to c:\web\projects. Everything works. I hope that helps a little. hydra12 On Oct 23, 8:06 pm, JS Bournival [EMAIL PROTECTED] wrote: I am unable to get Cake to work locally. I always get a HTTP 400 when I hit the URL: http://localhost

EXTJS forms, Cake, and AJAX

2007-09-10 Thread hydra12
( [last_name]=Buckner [first_name]=Mark ) ) This seems to be the format Cake expects. Thanks! hydra12 --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: EXTJS forms, Cake, and AJAX

2007-09-10 Thread hydra12
'] ['first_name']; ... On Sep 10, 8:15 pm, hydra12 [EMAIL PROTECTED] wrote: I'm trying to use the froms from EXTJS with cake. When my form posts, this is what is in $_POST: [action] = submit [last_name] = Buckner [first_name] = Mark Nothing shows up in $this-data

Re: Path Clarification Please!?!?

2007-09-09 Thread hydra12
on the development server and paste it into public_html on your shared server. I hope that helps. Somebody correct me if I'm wrong. hydra12 On Sep 9, 1:46 pm, DGPhoebus [EMAIL PROTECTED] wrote: Hello everyone. I am new to CakePHP and I was wondering if the PATHS have to be changed after a standard

Re: Load Javascript on the fly

2007-05-25 Thread hydra12
it at the top, but the scripts never ran in IE. They worked in FireFox, though. Go figure . . . I hope that helps. hydra12 On May 25, 2:27 pm, Pablo Viojo [EMAIL PROTECTED] wrote: I use to load javascript files on the fly using a **synchronous** connection (using XMLHttpRequest) sUrl=http

Re: halfcooked cake?

2007-05-17 Thread hydra12
controllers defined, or your project is not the document root of your web server. You might need to give the project name first: http://www.mysite.com/project/controller/action. This should only be necessary if you aren't using a standard cake install. I hope that helps. hydra12 On May 16, 3:02 am

Re: Use php in js files?

2007-05-14 Thread hydra12
I ended up assigning the variable to a js variable in my view. That worked great. Thanks! On May 12, 3:21 pm, Vladimir [EMAIL PROTECTED] wrote: assigning js var is better because .js file can be cached --~--~-~--~~~---~--~~ You received this message because

Use php in js files?

2007-05-10 Thread hydra12
I'm using jquery and ext.js to build a user interface. When a page loads, I have a ext.js menu loading at the top with new, edit and delete options. I want to click edit on the menu and have my page reload in editable form via ajax. Here's my problem: the new button works fine, but I can't

Get List of Plugins

2007-04-26 Thread hydra12
Does anybody know a way to get a list of which plugins are in the plugins directory? I'm playing around with the idea for an application that would use lots of plugins, and I want to dynamically add them to a menu at runtime. Thanks! hydra12

Re: How to manage URLs that doesn't require access to Database

2007-04-23 Thread hydra12
You can put static pages in the webroot folder. For instance, you could put a folder in webroot called cpanel. Put an index.html page in cpanel, and access it by going to www.mysite.com/cpanel. That worked on my system, so it should work . . . I hope that helps. hydra12 On Apr 23, 5:56 am, 浪

Re: is there another Star Rating code or helper to cake ?

2007-04-23 Thread hydra12
Here's one: http://rossoft.wordpress.com/2006/09/07/ajax-star-rating-helper/ On Apr 23, 8:16 am, Dr. Tarique Sani [EMAIL PROTECTED] wrote: Cheesecake-Photoblog SVN has a working example which uses JQuery and works well with latest 1.1.x cake version - See demo

Re: scaffold in admin

2007-04-19 Thread hydra12
controllers and views. This builds the scaffolding for you, and you can then modify the code. I hope that helps. hydra12 On Apr 19, 12:07 pm, LLoBu [EMAIL PROTECTED] wrote: I´m using CAKE_ADMIN to protect admin scaffold. I don´t know how to use in, for example: class Travels_Controller

Re: whats the relationship between CakePHP 1.2 test suite N SimpleTest

2007-04-16 Thread hydra12
everything work in a cakey way (loading models, controllers, etc). I hope that helps. Somebody please correct me if I'm wrong. hydra12 On Apr 16, 5:37 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: whats the relationship between CakePHP 1.2 test suite N SimpleTest? is test suite new feature

Re: Proposal for killer app

2007-03-29 Thread hydra12
I think that's the best idea I've read in this entire thread! On Mar 29, 9:00 am, Chris Hartjes [EMAIL PROTECTED] wrote: On 3/29/07, digital spaghetti [EMAIL PROTECTED] wrote: What I am now proposing, through the thoughts that you have all expressed here, is to build standard modules of

Testing Plugins

2007-03-27 Thread hydra12
any suggestions? Thanks! hydra12 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: Testing Plugins

2007-03-27 Thread hydra12
with this yet. hydra12 On Mar 27, 12:38 pm, Daniel Hofstetter [EMAIL PROTECTED] wrote: Well, testing of plugins is not (yet) implemented. What do you think would be the best approach to test plugins? -- Daniel Hofstetterhttp://cakebaker.42dh.com

Re: newbie question, populate drop down box from other parent table

2007-03-20 Thread hydra12
In your category model, put this: var $displayField = 'name'; Name is the name of the db field you want to show instead of the id. Hope that helps! hydra12 On Mar 19, 5:48 pm, sixlaneve [EMAIL PROTECTED] wrote: Hi... sorry... I am a bit thick and I have a problem with this dropdown

Re: help with windows install needed - php\php.exe instead of cake ROOT[Scanned]

2007-03-09 Thread hydra12
If you find out what's wrong, please post it here so I can see what happened. I'll be away from my computer for about a week - it's spring break in Texas, and I'm taking my youth group on a trip - but I'll check it when I get a chance. hydra12 (Mark) On Mar 9, 1:20 pm, jyrgen [EMAIL PROTECTED

Re: help with windows install needed - php\php.exe instead of cake ROOT

2007-03-08 Thread hydra12
when you ask for help and don't get it as fast as you'd like (I've been there, too), but getting snippy doesn't help anything :-) hydra12 On Mar 8, 6:11 pm, jyrgen [EMAIL PROTECTED] wrote: ok guys, i will track this down, thanks for yr help

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread hydra12
pm, hydra12 [EMAIL PROTECTED] wrote: I don't know what your setup is like, but I explained to someone else how I do my alternative setup here:http://groups.google.com/group/cake-php/browse_thread/thread/8f96dbb2... I have a cake folder and an app folder inside my server's document

Re: Installation Problem -- Need Help!!!

2007-03-07 Thread hydra12
code up someplace so we could look at it. On Mar 7, 12:55 pm, Somewhere [EMAIL PROTECTED] wrote: It's the default structure that comes directly out of the cake box. I never changed it. Is it what you need? Thanks a lot! On Mar 7, 1:40 pm, hydra12 [EMAIL PROTECTED] wrote: What is your current

Admin Routing Redirect problem

2007-03-06 Thread hydra12
doesn't work. I understand why this is happening. Anybody have a suggestion on how I can fix it, or maybe a better way to redirect back to the calling page? Thanks! hydra12 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Admin Routing Redirect problem

2007-03-06 Thread hydra12
/), Query_String comes back blank, so I set it to '/', which make the redirect work without errors. BTW, I did the str_replace above because $_SERVER['QUERY_STRING'] prefaces everything with url= . On Mar 6, 11:01 am, hydra12 [EMAIL PROTECTED] wrote: I'm working on a plugin for acl and authentication. When

Re: Installation Problem -- Need Help!!!

2007-03-06 Thread hydra12
(htdocs for most people, it seems). I only had to change 1 line in my app's webroot/index.php file to make it work. I hope it helps. hydra12 On Mar 6, 3:53 pm, Christopher E. Franklin, Sr. [EMAIL PROTECTED] wrote: I uploaded my bootstrap and core.php to the files section of this group:http

Re: Installing Cake on 1 subdomain with .htaccess, not multiple instances of apps

2007-03-03 Thread hydra12
folder. I hope that helps! hydra12 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: Installing Cake on 1 subdomain with .htaccess, not multiple instances of apps

2007-03-02 Thread hydra12
a new app, make a new folder in your root, put your app in, and edit it's webroot/ index.php file. I hope that helps! hydra12 On Mar 1, 7:57 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The documentation over at the CakePHP manual is far too complex for what I think I'm trying to do. I have

Re: CakePHP versus Symfony ?

2007-03-02 Thread hydra12
This post has some info that might help you: http://snook.ca/archives/php/symfony_1_0_released/ hydra12 On Mar 2, 1:02 pm, Christian Winther [cwi.dk] [EMAIL PROTECTED] wrote: Did you even bother to search the group or google before asking ?. -Original Message- From: cake-php

Re: baking the scaffolding

2007-02-28 Thread hydra12
I'm not sure where the documentation is, but here's how I do it: I added php.exe to my path in windows. That makes things a lot easier. My setup is like this: my webroot is in c:\web\projects. Cake is inside projects. I put my apps in my projects directory, too, not in cake. From the command

  1   2   >