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
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
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
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
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
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
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,
>
&
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
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
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 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
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
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
. 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
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
;
> 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&
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
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
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
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
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
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
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
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
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
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 "
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
// initialize the image
$this->init();
// draw the image
$this->draw();
header("Content-type: image/png");
imagepng($this->image);
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
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
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
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]&
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
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
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
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
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
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,
>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
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
>
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
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
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,
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.
--~--~-~--~~~---~--~---
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.
>
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
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
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
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
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
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
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
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
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 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
>
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
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
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
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
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
60 matches
Mail list logo