Re: Problem with :Cook up Web sites fast with CakePHP, Part 1

2007-04-30 Thread lukemack
I think maybe you have misunderstood how the URLs work in cakePHP, in conjunction with Apache's mod_rewrite. You would be better to install cake in a virtual host under apache rather than in a subdirectory. On Apr 29, 6:20 am, Mariano Iglesias [EMAIL PROTECTED] wrote: You shouldn't set the

Re: Video upload and view

2007-03-30 Thread lukemack
thanks guys! i think I have everything I need. I'll post back here with the results. if anyone is interested in collaborating on something let me know! On 30 Mar, 06:57, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can anyone recommend a class/script which handles video file uploads,

Re: showing wrong value in Select Box

2007-03-06 Thread lukemack
the best way to do this is using generateList in your controller - see the model functions in the manual. I have one which looks like this: view: ?php echo $html-selectTag('Review/cruiseline', $cruise_lines, null, array(), null, true, false);? controller: $this-set('cruise_lines',

ajax.updater with select tags

2007-03-05 Thread lukemack
and equal to the value selected in the dropdown. So the missing piece is passing the selected dropdown value to the controller. Anyone know how to do that? thanks, lukemack. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Lightbox + Cake

2007-03-05 Thread lukemack
lokesh huddled together??? wha On 4 Mar, 14:47, Sam Sherlock [EMAIL PROTECTED] wrote: from Lokesh Huddled together. {scriptblock} // vars with paths here {/scriptblock} {scrriptsrc}source files for llightbox{/scrriptsrc} On 04/03/07, lukemack [EMAIL PROTECTED] wrote: Hi - I

Re: ajax.updater with select tags

2007-03-05 Thread lukemack
(***).value get your updater url to be \'ships?variable=\'+getSelected() Hope that helps On Mar 5, 8:21 am, lukemack [EMAIL PROTECTED] wrote: hi, i am trying to make the contents of one drop-down box dependent on the contents of another using AJAX (prototype.js) in cake 1.1.13. I

Re: Lightbox + Cake

2007-03-04 Thread lukemack
Hi - I wouls be interested to know which lightbox script you are using? On Mar 4, 12:42 am, Sam Sherlock [EMAIL PROTECTED] wrote: I have managed to get lightbox working in cake but had to set these lines in a scriptblock in a layout .thtml /.ctp yep . In a scriptblock in a layout view

Re: multi-page forms

2007-03-01 Thread lukemack
validation class? It doesn't interfere with the model::save at all. I'll check and see what turns up. Regards! -Toby lukemack wrote: cool thanks, Chris. Toby - the formwizard seems to break validation. did you use it with validation? On 27 Feb, 15:04, Chris Hartjes [EMAIL PROTECTED] wrote

Re: multi-page forms

2007-02-28 Thread lukemack
cool thanks, Chris. Toby - the formwizard seems to break validation. did you use it with validation? On 27 Feb, 15:04, Chris Hartjes [EMAIL PROTECTED] wrote: On 2/23/07,lukemack[EMAIL PROTECTED] wrote: Chris - can you elaborate on the problem with the back button? I assume you mean

Re: multi-page forms

2007-02-27 Thread lukemack
Thanks toby. One thing it should say is that you need to rename the file to form_wizard.php in order to get it to work at all! Do you have any example controller code you could post? so far i have: ?php class ReviewsController extends AppController { var $name = 'Reviews'; var

Re: PEAR HTML_QuickForm and cakephp

2007-02-25 Thread lukemack
will have three separate pages. many thanks again for your help. lukemack. On 24 Feb, 23:38, Mariano Iglesias [EMAIL PROTECTED] wrote: My vendor folder looks like this: vendors/PEAR: all PEAR inside, so you can find: vendors/PEAR/Cache/* vendors/PEAR/Translation2

PEAR HTML_QuickForm and cakephp

2007-02-24 Thread lukemack
will not work correctly as vendors. does anyone have any experience with this? any advice gratefully received, lukemack. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: Bake not baking Controllers

2007-02-24 Thread lukemack
try commenting out the associations in your model. then try a bake. if it works, you probably have your associations set up incorrectly. On 24 Feb, 22:43, Seb [EMAIL PROTECTED] wrote: The only thing I can say... if anyone else runs into that, is have a look at the assumptions Bake makes in

multi-page forms

2007-02-23 Thread lukemack
the current stable release so won't have access to 1.2 functionality. many thanks, lukemack. --~--~-~--~~~---~--~~ 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

Re: multi-page forms

2007-02-23 Thread lukemack
thanks guys. the FormsWizard looks interesting. What does the author mean by 'ways'? Bit of an odd term to choose. Routes through the form? Chris - can you elaborate on the problem with the back button? I assume you mean the browser back button? I guess there are three options - sessions,

Re: bake.php script writes models, but not controller or views

2007-02-20 Thread lukemack
to make that clearer - if your associations are wrong, the script will crash. On Feb 19, 1:33 pm, lukemack [EMAIL PROTECTED] wrote: i had the same problem when the model contained associations. commenting out the associations did the trick. On 25 Jan, 13:18, biesbjerg [EMAIL PROTECTED] wrote

Re: bake.php script writes models, but not controller or views

2007-02-19 Thread lukemack
i had the same problem when the model contained associations. commenting out the associations did the trick. On 25 Jan, 13:18, biesbjerg [EMAIL PROTECTED] wrote: Hi miggs, I recently had this problem. Turns out I had made a copy of a model (backed up app/models/media_folder.php as

Re: Good Cake Tutorial: IBM developerWorks

2007-02-18 Thread lukemack
I would not recommend you use this tutorial with later versions of cake than that used in the tutorial (1.1.8) as not everything works in 1.1.13.4450. for example, acl.php now works differently (part 2). i was forever finding bugs in the tutorial code so used the blog tutorial instead. On 15

Re: Using the cookie component in 1.1.x

2007-02-13 Thread lukemack
http://cakebaker.42dh.com/2007/01/20/lets-eat-cake-and-cookies/ On 12 Feb, 10:12, Fasthold [EMAIL PROTECTED] wrote: Is there any document or example about the brand new cookie components? --~--~-~--~~~---~--~~ You received this message because you are

php 5.2.1

2007-02-13 Thread lukemack
? thanks, lukemack. --~--~-~--~~~---~--~~ 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 PROTECTED] For more

Re: php 5.2.1

2007-02-13 Thread lukemack
in fact /usr/share/php/cake/libs/controller/ is not even a valid path. maybe basics.php needs updating for 5.2.1? On 13 Feb, 16:27, lukemack [EMAIL PROTECTED] wrote: hi, since upgrading to php 5.2.1, i've been getting open_basedir errors in cake e.g: Warning: file_exists() [function.file

Using the cookie component in 1.1.x

2007-02-11 Thread lukemack
Hi, Does anyone know if it is safe to use the cookie component from the cakephp 1.2.x branch in a 1.1.x app? Or if this would even work? Thanks, lukemack. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

problem using image verification class as vendor

2007-02-09 Thread lukemack
); } } ? anyone got any ideas? thanks, lukemack. --~--~-~--~~~---~--~~ 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

Re: problem using image verification class as vendor

2007-02-09 Thread lukemack
dont worry - i fixed it. putting the full path to the open_basedir directory and placing the font in there works. On 9 Feb, 10:38, lukemack [EMAIL PROTECTED] wrote: hi, i am having a problem using an image verification class as a vendor. i can use the class outside of cake fine but when

irc.cakephp.org down?

2007-02-07 Thread lukemack
hi, can anyone else access the web interface to the #cakephp irc channel at http://irc.cakephp.org/irc.html? I'm forced to use this as I am behind a firewall at the moment. i was able to access it last week. thanks, lukemack. --~--~-~--~~~---~--~~ You received

Re: problem using vendor

2007-02-07 Thread lukemack
i resolved this by doing the vendor() call in the same function which was using the vendor class. is that the right way to use it? On 7 Feb, 12:49, lukemack [EMAIL PROTECTED] wrote: hi, i am trying to use an image verification class as a vendor. i have uploaded the files here: http

Re: persistent login

2007-02-05 Thread lukemack
ok - maybe I got out on the wrong side of the bed, apologies for being cranky. i think the second link posted by Mariano Iglesias will do what you want? i need to implement something similar in my current project so will post back here with any results. lukemack. On 5 Feb, 08:30, Sergei [EMAIL

Re: cakePHP ACL recommendations?

2007-02-05 Thread lukemack
many thanks for the reply. I think I will go with othauth and see how I get on. On 5 Feb, 02:22, Langdon Stevenson [EMAIL PROTECTED] wrote: Hi Lukemack I have used Othauth successfully, and also dauth with ACL. Both work fine. Othauth may be easier to implement in a system like you

legacy data

2007-02-05 Thread lukemack
kind of view) in the cakeApp database? is that even possible in mySQL? many thanks, lukemack. --~--~-~--~~~---~--~~ 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

Re: site search

2007-02-05 Thread lukemack
anyone? bueller? On 2 Feb, 14:29, lukemack [EMAIL PROTECTED] wrote: Hi, I need to decide on an approach for integrating fullsitesearchinto a cakephp app. I have used phpDig before (on a non-cake app) but have found this article using Zend's lucene component: http://bakery.cakephp.org

Re: legacy data

2007-02-05 Thread lukemack
-- lloydhome consulting, inc.http://www.lloydhome.com On Feb 5, 10:05 am, lukemack [EMAIL PROTECTED] wrote: hi, i'm going to need to access some legacy data from another system in my cake app. i understand that i can add an additional database connection in the database config file

Re: changes in ACL functionality?

2007-02-04 Thread lukemack
Thanks Yoshihiro - I'll give that a try. On 3 Feb, 20:26, yosha_01 [EMAIL PROTECTED] wrote: hi, lukemack I have experienced exactly the same problem on the same tutorial. Try replacing a function view() in acl.php with the latest version in trunk. https://trac.cakephp.org/browser/trunk

Re: changes in ACL functionality?

2007-02-04 Thread lukemack
seems to work - thanks for the tip. where did you find out about this? On 3 Feb, 20:26, yosha_01 [EMAIL PROTECTED] wrote: hi, lukemack I have experienced exactly the same problem on the same tutorial. Try replacing a function view() in acl.php with the latest version in trunk. https

Re: persistent login

2007-02-04 Thread lukemack
From the manual: Cake Session Storage Options Cake comes preset to save session data in three ways: as temporary files inside of your Cake installation, using the default PHP mechanism, or serialized in a database. By default, Cake uses PHP's default settings. To override this in order to use

Re: persistent login

2007-02-04 Thread lukemack
just trying to be helpful. i'll assume from your rude response that you won;t be needing any more help. On 4 Feb, 13:41, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Afaik cake's sessions are always for a limited amount of time. So you will need to write your own system. Using cookies might be

Re: advice on database structure

2007-02-02 Thread lukemack
over the standard cake ACL? I'll be baking some more samples this weekend (in between 6 Nations games) so will let you know how I get on. thanks again, lukemack. On 2 Feb, 09:09, AD7six [EMAIL PROTECTED] wrote: Hi lukemack, On Jan 31, 5:10 pm, lukemack [EMAIL PROTECTED] wrote: Hi all

site search

2007-02-02 Thread lukemack
, or have any experience of integrating some other third-party code? many thanks, lukemack. --~--~-~--~~~---~--~~ 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

Re: Style switcher / font resizer

2007-01-31 Thread lukemack
The reason is that the client wants it and the target audience is not internet savvy. A nice obvious set of buttons on the page is what they want. The original question was really how do I do this in cake in a nice simple way? Could I put it in default.thtml? On 31 Jan, 08:28, AD7six [EMAIL

Re: Wrapping Cake in a Joomla component, like Cake + Drupal = Drake

2007-01-31 Thread lukemack
What would be the point of having cake within a joomla component? isnt the point of cake that its a rapid development framework for rolling your own web application? On 31 Jan, 11:53, Max [EMAIL PROTECTED] wrote: Yes, you are right Then the component might be more practical to use. I'm

advice on database structure

2007-01-31 Thread lukemack
edit their own reviews? Just ignore the incorrectly named keys in the diagram - DBDesigner added these automatically. Many thanks for any input. This post will only make sense if you can see the diagram! Rgds, lukemack. --~--~-~--~~~---~--~~ You received

Re: Style switcher / font resizer

2007-01-30 Thread lukemack
thanks. not sure i understand this bit though: make a ajax call to /ajax/options/set/fontsize:16px/ or something like that where would i make this call and which var are you talking about? On 29 Jan, 02:59, Kaste [EMAIL PROTECTED] wrote: thanks. i'm looking to update all textual content on

Re: baking error

2007-01-28 Thread lukemack
i resolved this. you need to make sure that php cli is configured with mysql support. on my system, this meant editing /etc/php5/cli/php.ini to load the mysql.so extension. what i hadnt realised was that the php cli uses its own php.ini. thanks anyway, lukemack. On 28 Jan, 02:37, Dr

changes in ACL functionality?

2007-01-28 Thread lukemack
created has a different foreign key value (4) as compared to the Users and Dealers which have a value of 0. many thanks for any help, lukemack. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

baking error

2007-01-27 Thread lukemack
this? I can still run the cake app in a browser. thanks, lukemack. --~--~-~--~~~---~--~~ 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

acl.php

2007-01-27 Thread lukemack
support but doesnt know how to do this. can anyone tell me how to configure php cli on linux with mysql support? i tried adding defaul host, username and password in /etc/ php5/cli/php.ini but this didn;t make any difference. thanks, lukemack

Re: Style switcher / font resizer

2007-01-26 Thread lukemack
thanks. i'm looking to update all textual content on the page at once. if i have the font resizer buttons in my layout file, what would be the best way of targetting the dynamically generated content from my cms/ blog / etc? obviously, i would want to avoid having to manually script every html

Re: error in default.thtml

2007-01-25 Thread lukemack
://manual.cakephp.org/chapter/controllers some interesting reading on this can be found with http://cakephp.org/search?q=appcontroller HTH Sam D On 1/25/07, kabturek [EMAIL PROTECTED] wrote: Hi On Jan 25, 6:58 am, lukemack [EMAIL PROTECTED] wrote: thanks guys - i resolved

Style switcher / font resizer

2007-01-25 Thread lukemack
to resize all text elements on the page. Ideally, this would not involve a full page refresh. I'm thinking that dynamic font resizing using the DOM would be better than a CSS style switcher? Many thanks for any suggestions lukemack. --~--~-~--~~~---~--~~ You received

error in default.thtml

2007-01-24 Thread lukemack
/default.thtml on line 32 the offending line is ?php print $javascript-link('prototype') ? does anyone know what might be causing this? prototype.js is in /app/webroot/js/ many thanks, lukemack. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: error in default.thtml

2007-01-24 Thread lukemack
i tried adding var $helpers = array('Html', 'Javascript', 'Ajax'); to all controllers - does it need to be somewhere else too? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this

Re: error in default.thtml

2007-01-24 Thread lukemack
I have tried adding var $helpers = array('Html', 'Javascript', 'Ajax'); to all controllers and this did not help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: error in default.thtml

2007-01-24 Thread lukemack
the the data coming back from the the tasks_controller. thanks, lukemack. On 24 Jan, 19:21, Samuel DeVore [EMAIL PROTECTED] wrote: try creating an app_controller.php file at the app level and add it there, it might not be a part of the pages controller On 1/24/07, dkarlson [EMAIL PROTECTED] wrote

Re: error in default.thtml

2007-01-24 Thread lukemack
thanks guys - i resolved it by adding the helpers in cake\app_controller.php. what would be the point of having this in the \app folder? does it override the default one? thanks, lukemack. On 25 Jan, 01:55, dkarlson [EMAIL PROTECTED] wrote: Somewhere you're not loading in the Javascript