Swat integration?

2007-10-28 Thread lukemack
Hi, I was just wondering if anyone had successfully integrated SWAT into a cakephp application? I'm referring to: http://swat.silverorange.com/Swat Nothing to do with Samba! I would love to hear from anyone who has done this. Thanks, --~--~-~--~~~---~--~~ Y

Scriptaculous question

2007-05-17 Thread lukemack
tions = { method : 'post', parameters : Sortable.serialize('item_list') }; new Ajax.Request('/toptens/update', options); } function refresh() { window.location.reload( true ); } I have tried using onChange an

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, > > pr

Video upload and view

2007-03-29 Thread lukemack
Hi, Can anyone recommend a class/script which handles video file uploads, preferably with Flash integration? I'm looking to have a video upload / library section in my cake app. I considered the youtube api but they dont have upload functionality in the api (yet). The following links suggest wha

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: selectTag('Review/cruiseline', $cruise_lines, null, array(), null, true, false);?> controller: $this->set('cruise_lines', str_replace( '&','&',$this

Re: ajax.updater with select tags

2007-03-05 Thread lukemack
his would be a simple "return > document.getElementById(***).value" > > get your updater url to be " \'ships?variable=\'+getSelected() " > > Hope that helps > > On Mar 5, 8:21 am, "lukemack" <[EMAIL PROTECTED]> wrote: > > > hi, > &

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/0

ajax.updater with select tags

2007-03-05 Thread lukemack
super global but I obviously want that value to be dynamic 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 rece

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

Re: multi-page forms

2007-03-01 Thread lukemack
a screwy > 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 w

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 pr

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: array("start","register","submit"), "registered" => array("start","login","submit

Re: PEAR HTML_QuickForm and cakephp

2007-02-25 Thread lukemack
. The form 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/PE

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 i

Re: PEAR HTML_QuickForm and cakephp

2007-02-24 Thread lukemack
; > blog:http://www.MarianoIglesias.com.ar > > -----Mensaje original- > De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre > de lukemack > Enviado el: Sábado, 24 de Febrero de 2007 06:25 a.m. > Para: Cake PHP > Asunto: PEAR HTML_QuickForm and cakephp > > i&

PEAR HTML_QuickForm and cakephp

2007-02-24 Thread lukemack
kages 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 t

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, databa

multi-page forms

2007-02-23 Thread lukemack
x27;m using 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

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

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 app

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 Feb

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 > c

php 5.2.1

2007-02-13 Thread lukemack
5.2.1? 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

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 sub

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 "

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 cl

problem using image verification class as vendor

2007-02-09 Thread lukemack
// initialize the image $this->init(); // draw the image $this->draw(); header("Content-type: image/png"); imagepng($this->image);

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

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 rec

problem using vendor

2007-02-07 Thread lukemack
can anyone shed any light ono what i'm doing wrong? 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: legacy data

2007-02-05 Thread lukemack
27;className'=>'Product','external'=>true,'foreign_key'=>'user_id'); > > HTH, > > David Lloyd > -- > lloydhome consulting, inc.http://www.lloydhome.com > > On Feb 5, 10:05 am, "lukemack" <[EMAIL PROTECTED]&

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 Ze

legacy data

2007-02-05 Thread lukemack
the legacy data (the database 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 po

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 im

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, "S

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 migh

cakePHP ACL recommendations?

2007-02-04 Thread lukemack
t cake ACL but it seems a little unfriendly / flaky e.g acl.php behaves differently to described behaviour in tutorials and there is limited documentation. Can anyone recommend one of the alternatives - obAuth, othAuth, dAuth and their reasons? many thanks,

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: 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 >

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 t

site search

2007-02-02 Thread lukemack
s, 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@g

Re: advice on database structure

2007-02-02 Thread lukemack
commend OthAuth 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,

advice on database structure

2007-01-31 Thread lukemack
that users can only 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. --~--~-~--~~~---~--~---

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. >

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 PR

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 conten

changes in ACL functionality?

2007-01-28 Thread lukemack
table in mysql, the line representing the user I have 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

Re: acl.php

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. On 27 Jan, 16:43, "lukemack" <[EMAIL PROTECTED]> wrote: > hi, > > i'm trying to run ac

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, &qu

acl.php

2007-01-27 Thread lukemack
mysql 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, luk

baking error

2007-01-27 Thread lukemack
anyone got any idea what might be causing 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, se

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 e

Style switcher / font resizer

2007-01-25 Thread lukemack
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 rec

Re: error in default.thtml

2007-01-25 Thread lukemack
re are some ways to make them that way) and put this in > your app's main folder. > > this is mentioned briefly inhttp://manual.cakephp.org/chapter/controllers > > some interesting reading on this can be found with > > http://cakephp.org/search?q=appcontroller > > HTH >

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&#x

Re: error in default.thtml

2007-01-24 Thread lukemack
to view 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

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 emai

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 grou

error in default.thtml

2007-01-24 Thread lukemack
youts/default.thtml on line 32 the offending line is 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 to the G