Re: Yet another Ajax->link question

2007-03-26 Thread Christopher E. Franklin, Sr.
Really wierd but, it's working now. When I included scriptaculous using $javascript->link("scriptaculous");, the script would include the needed file by itself add a whole url in the src tag (example: http://localhost/js/builder.js"; type="text/javascript">). I commented out the part where i

Re: Yet another Ajax->link question

2007-03-26 Thread Christopher E. Franklin, Sr.
Well, I found a quick tutorial on cakebaker that I have tried and even that doesn't seem to work. It is a bare user plugin so I am just uploading it to this group as test_user_plugin.zip. The only thing you would need to change is the user_app_model.php public $useTable = false; Then you can ju

Re: Yet another Ajax->link question

2007-03-26 Thread Samuel DeVore
can you post some more code in the bin http://bin.cakephp.org maybe there is a simple typo that some fresh eyes might see. Sam D On 3/26/07, Christopher E. Franklin, Sr. <[EMAIL PROTECTED]> wrote: > > I did. It is loading. When it doesn't I get the error about the > undefined function Event

Re: Yet another Ajax->link question

2007-03-26 Thread Christopher E. Franklin, Sr.
I did. It is loading. When it doesn't I get the error about the undefined function Event something or other. On Mar 26, 12:03 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > make sure that your defauly layout includes the prototype/ > scriptalicious stuff, and that it is actually loding > > On

Re: Yet another Ajax->link question

2007-03-26 Thread Samuel DeVore
make sure that your defauly layout includes the prototype/ scriptalicious stuff, and that it is actually loding On 3/26/07, Christopher E. Franklin, Sr. <[EMAIL PROTECTED]> wrote: > > Oh yeah, this is the source in the page after it is rendered: > > Log In > > Event.observe('link191330890', 'c

Re: Yet another Ajax->link question

2007-03-26 Thread Christopher E. Franklin, Sr.
Oh yeah, this is the source in the page after it is rendered: Log In Event.observe('link191330890', 'click', function(event){ new Ajax.Updater('mainContent','/user/login/', {asynchronous:true, evalScripts:true, requestHeaders:['X-Update', 'mainContent']}) }, false); On Mar 26, 11:48 am, "Chris