Re: Moving /pages/ to /

2006-06-14 Thread JohnRobert
Thanks guys! I'll give this a try when i get a bit of free time. Great blog too Felix! I did have a look on there yesterday, but couldn't find that post! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

ajax tutorial : object not found

2006-06-14 Thread sicapitan
Hmm, unless I'm missing something with the new version I can add a task, but as soon as I click the checkbox to mark as done, it comes up as: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. ...etc in

Problem with the Cake Blog Tutorial

2006-06-14 Thread funkyfresh
Hi, new to cake and trying to get this tutorial up and running. Installed XAMPP (Windows 1.5.3a) and Cake (cake_1.1.3.2967) Followed the instruction but when I try to access the URL in section 9, in my case http://localhost/posts/index, I just get an error message You are seeing this error

Re: CakePHP Wiki: In Loving Memory

2006-06-14 Thread clemos
hi all by the way, I was wondering which parts of the CakePHP ring (CakeForge, api.cakephp, manual.cakephp, trac.cakephp and now, bakery) were powered by CakePHP ? are they all ? ++ clemos On 6/14/06, Gustavo Carreno [EMAIL PROTECTED] wrote: On 6/14/06, Jose Cedeno [EMAIL PROTECTED]

Can't caching view!

2006-06-14 Thread lorenzo
Hi bakers! I'm tring to use Full Page Caching but i can't :( I have set define ('CACHE_CHECK', false); Later i have put in my controller : var $cacheAction = true; If I call the page no cache file is created in /app/tmp/cache/views ... but in /app/tmp/cache/models I have put cake:nocacheHI

Re: Can't caching view!

2006-06-14 Thread Felix Geisendörfer
I think: define ('CACHE_CHECK', false); needs to be define ('CACHE_CHECK', true); Best Regards, Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de lorenzo schrieb: Hi bakers! I'm tring to use Full Page Caching but

Re: Problem with the Cake Blog Tutorial

2006-06-14 Thread funkyfresh
DOH! Thanks for that, life saver. See what happens when you edit with wordpad! --~--~-~--~~~---~--~~ 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

Re: RFC: Possible new feature for html helper

2006-06-14 Thread RosSoft
Martin ha escrito: style type=text/css @import url(/css/my_style.css); /style just a question, why do you want this syntax? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this

Re: RFC: Possible new feature for html helper

2006-06-14 Thread Martin
It is a common way to ensure that stone-age browsers (NS4...) does not see the CSS and in some cases crach the computer for the user. If my CSS design will look like hell of crash a computer I prefer to let them just see a bare html version of if I have the time and budget make an alternate CSS

Re: Can't caching view!

2006-06-14 Thread lorenzo
lorenzo ha scritto: RosSoft ha scritto: Just another two things: 1)If cache file doesn't exsits cake don't parse cake:nocache/cake:nocache Infact the first time i launch the page with: cake:nocacheNO CACHE?php echo time(); ?/cake:nocache ?php echo br CACHE . time(); ?br cake view output

Re: Naming Conventions and Case Sensitivity (Linux Windows)

2006-06-14 Thread RosSoft
First, I'm on linux, and all the files are lowercase Second, you're changing from PHP5 to PHP4? Because that line only works in php5: $this-controller = $controller; In PHP4, you must do $this-controller = $controller; --~--~-~--~~~---~--~~ You received this

Re: RFC: Possible new feature for html helper

2006-06-14 Thread Jon Bennett
It is a common way to ensure that stone-age browsers (NS4...) does not see the CSS and in some cases crach the computer for the user. If my CSS design will look like hell of crash a computer I prefer to let them just see a bare html version of if I have the time and budget make an alternate

Re: RFC: Possible new feature for html helper

2006-06-14 Thread David Spitzley
[EMAIL PROTECTED] 06/14/06 7:55 AM Martin ha escrito: style type=text/css @import url(/css/my_style.css); /style just a question, why do you want this syntax? --- Well, I'm not Martin, but I've run into cases where Internet Explorer 6 won't read in

Re: n00b with ACM questions

2006-06-14 Thread Ryan J. Peterson
Brandon, ... the current users don't show up on the Users or Groups page of ACM even though I set up the users and roles settings in config.php. Make sure you have the Cake ACL Tables created, ACM 1.0 will have a setup wizard as well as documentation. if you need to contact me, just get

Re: RFC: Possible new feature for html helper

2006-06-14 Thread nate
Sure, add it as an enhancement ticket to the 1.2 milestone. --~--~-~--~~~---~--~~ 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

Re: $ajaxOptions (updateElement, afterUpdateElement) for autocomplete

2006-06-14 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: Boris there is many times that I all but gave up on the AjaxHelper. It is seriously lacking full support for the scriptaculous library that it was made to support. I have tried to work on it many times in the past, but at that point just couldn't understand it. It

Re: ajax autocomplete.

2006-06-14 Thread chenggn
If you would like pay $50, http://capxous.com Carlos Mauricio Samour wrote: Has anyone got the $ajax-autocomplete working? If so what did you do? I followed the example on the manual but when I type anything on the input box it does not return anything.

Re: Naming Conventions and Case Sensitivity (Linux Windows)

2006-06-14 Thread brandags
@RoSoft - so you're saying I should make all the filenames lowercase? Does that mean I need to use lowercase class names as well? class myformComponent extends Object You bring up a good point. I'm running PHP5 on my Windows machine, but I need to tweak an .htaccess parameter to get PHP5

Re: Naming Conventions and Case Sensitivity (Linux Windows)

2006-06-14 Thread brandags
Hey - what do you know? That did it! Maybe I should make it backward compatible and use the when assigning the controller? Thanks for your help. It's working fine now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: ajax autocomplete.

2006-06-14 Thread nate
Look, I realize you're just some idiot trying to advertise his wanna-be Web 2.0 product, but seriously, are you retarded?? Why would anyone pay $50 for something you can get for free with less effort? --~--~-~--~~~---~--~~ You received this message because you

Re: RFC: Possible new feature for html helper

2006-06-14 Thread nate
Nevermind, I just added it. The new syntax is ?php echo $html-css('my_style', 'import'); ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Problems Tutorial on AJAX Task List

2006-06-14 Thread jeannie109
Most things are working ok, accept for on a Refresh, if you click on Job Undone (uncheck one of the completed jobs below) it gives an error message: Not Found The requested URL /tasks_done/71 was not found on this server. If you do the uncheck after you enter a new job this does not happen.

Re: Can't caching view!

2006-06-14 Thread stefano
2) People MUST put in controller helper array cache ... If not cache don't work You should post a ticket on this to have it in the manual, since I don't think it's there already Stef. --~--~-~--~~~---~--~~ You received this message because you are

How to update multiple divs with one ajax call

2006-06-14 Thread stefano
I read some time ago a message from nate about this topic. I also tried it's example but the ajax link siply doesn't do anything. Someone get it working? Someone can give me some example on how I can achieve this result with CAke Thanks! Stefano

Re: first site

2006-06-14 Thread Russ
im getting this message with mod_rewrite enabled The requested URL /Users/Russ/Sites/php/app/webroot// was not found on this server. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this

Re: CakePHP LDAP?

2006-06-14 Thread Samuel DeVore
I don't think it is, it's just habitOn 6/13/06, RosSoft [EMAIL PROTECTED] wrote: Samuel: Is that necessary in PHP4 ? Can you verify it?Because AppModel extends Model --extends ObjectAnd Object class implements the php4 constructor for compatibility with__construct

Re: Can't caching view!

2006-06-14 Thread lorenzo
stefano ha scritto: 2) People MUST put in controller helper array cache ... If not cache don't work Just added :) For the other i'd know if anyone has my problems too! I've do other test but cake don't parse cake:cache in admin_ functions Ps: hei stefano, are you italian kid? :P

Re: How to update multiple divs with one ajax call

2006-06-14 Thread nate
http://groups.google.com/group/cake-php/browse_thread/thread/64187c8a41e8750f/5bddef3d172b7109?q=divEndrnum=1#5bddef3d172b7109 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Re: Naming Conventions and Case Sensitivity (Linux Windows)

2006-06-14 Thread DJ Spark
Since CakePHP uses convention over configuration, I strongly suggest everybody reads this chapter on the manual, again and again, and again.. http://manual.cakephp.org/chapter/20 some examples ALL file names ARE lowercase = client_page.thtml Model names ARE

Association question

2006-06-14 Thread Garth Braithwaite
I have a users table with a list of users and info about each, one record is usertype_id which is a foreign key that relates to the usertypes table that contains id, and title, which is just a description of the type of user it is. I tried a few associations, but I am having some troubles. I

Re: Naming Conventions and Case Sensitivity (Linux Windows)

2006-06-14 Thread brandags
I think it would be helpful to update the naming conventions page (http://manual.cakephp.org/chapter/20) to show the conventions for components, behaviors, helpers, and elements as well. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Naming Conventions and Case Sensitivity (Linux Windows)

2006-06-14 Thread brandags
Okay. Maybe it would be good to state that they're the same (in the manual) so people don't get confused or think their might be a different convention for a component or helper. Just a thought. --~--~-~--~~~---~--~~ You received this message because you are

Re: CakePHP 1.1.4.3083

2006-06-14 Thread Felix Geisendörfer
A big hurray for the developers, that's all I can say ; ). I already saw the 1.2.xx milestone in the roadmap and i18n support was what made me happy the most. But I'm also interested in the "Acts As ..." stuff for Models, because it might be a better way for implementing WebServiceModels (I

Re: CakePHP 1.1.4.3083

2006-06-14 Thread RosSoft
Impressive 1.2 milestone, and cool new release. Thanks for the great work --~--~-~--~~~---~--~~ 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

Re: pages controller and setting a different layout

2006-06-14 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] ha escrito: $this-render(view, layout); It is set to autorender by default and layout is set to default by default. So, you could pass the parameter and either make the parameter the exact layout name and just do a test for it not being null to render with $layout set.

Re: form on one page submits to another model - validation to show on original page?

2006-06-14 Thread [EMAIL PROTECTED]
Hey John and Nate, thx for your help. I still cannot get this to work, but found your input helpful anyway! The flash with Session thing is interesting. The problem is it redirects fine, but the /pages/ controller seems like it doesnt consider any tagErrormsg for the invalid data, which is from

Re: CakePHP 1.1.4.3083

2006-06-14 Thread Gustavo Carreno
On 6/14/06, Larry E. Masters aka PhpNut [EMAIL PROTECTED] wrote: organized. We separated each chapter and will move the manual to CakeForge[3] when its a little more complete. Hopefully some people will be interested in contributing with some translations once we get it onto [3] CakeDocs

Re: form on one page submits to another model - validation to show on original page?

2006-06-14 Thread [EMAIL PROTECTED]
I shall try and clarify what I am trying to do. I have a simple form on several static /pages/ it is taking an email address and then submitting this to /subscribers/ controller, and /add action If this is saved / validated ok, then it will flash and return user to where they came from. If it

Re: CakePHP 1.1.4.3083

2006-06-14 Thread Gustavo Carreno
On 6/14/06, Gustavo Carreno [EMAIL PROTECTED] wrote: So... I'll see you guys on IRC and have a chat in order to, either, get a new release quite away or wait until it has more meat :) Ok, I just updated the Docs from SVN, looks like I'm gonna be on the translation effort, eheheh -- Gustavo

Re: CakePHP 1.1.4.3083

2006-06-14 Thread Jose Cedeno
What languages are do they need help with? I know a little bit of spanishJoseOn 6/14/06, Gustavo Carreno [EMAIL PROTECTED] wrote:On 6/14/06, Gustavo Carreno [EMAIL PROTECTED] wrote: So... I'll see you guys on IRC and have a chat in order to, either, get a new release quite away or wait until it

With a new release of Cake, comes new release notes - lets make them more useful - with Greasemonkey

2006-06-14 Thread Alister Bulman
Hi, Lots of things annoy me - it's too hot and I don't have AirCon in my office, I'm not paid enough for all this s***, and there so much more that I can't control. One thing that used to mildly peeve me was CakePHP release notes, like the latest at

Internal Messaging System

2006-06-14 Thread John Zimmerman [gmail]
Is anyone building an application with an internal messaging system?I am trying to build a basic internal messaging system that sort of mimicks the basic functionality of email (i.e. send/reply/view) between two users only. No need to edit, delete, forward, etc.. as I am addressing this with auto

Re: Internal Messaging System

2006-06-14 Thread Samuel DeVore
I have a model that has a belongs to like var $belongsTo = array( 'Owner' = array('className'='Client','foreignKey'='owner_id'), 'Photographer' = array('className'='Client','foreignKey'='photographer_id'), 'Billto' = array('className'='Client','foreignKey'='billto_id'), 'Client' =

Re: Arrays in sessions.

2006-06-14 Thread Mike
If you want to add to the array without using a key you can use: $this-Session-write('myarray\'][][\'', 'myvalue' ); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: CakePHP 1.1.4.3083

2006-06-14 Thread Gustavo Carreno
On 6/14/06, Jose Cedeno [EMAIL PROTECTED] wrote: I know a little bit of spanish ROTFL !!! -- Gustavo Carreno --- If you know Red Hat you know Red Hat, If you know Slackware you know Linux --~--~-~--~~~---~--~~ You received this message because you are

$this-Model-findAll() with a model over 5000 records.

2006-06-14 Thread Carlos Mauricio Samour
Hi everyone. I am having this problem trying to retrieve the data from one of my models. In my controller I use: function index(){ $this-set('data', $this-Product-findAll()); } And in my view I get this: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried

Re: CakePHP 1.1.4.3083

2006-06-14 Thread johnpfisk
I just downloaded this version, and I get the following error: Fatal error: Call to a member function on a non-object in ... cake/libs/view/templates/layouts/default.thtml on line 57 I'm pretty new to this. Did I do something wrong? 1.1.3.2967 seems to work fine. JPF

Re: form on one page submits to another model - validation to show on original page?

2006-06-14 Thread Olivier Percebois-Garve
I use $this-set('editorcontent', $this-requestAction('/bare/editorcontents/showedit/'.$id, array('return' = true))); to get in a form of the edit of CategoriesController the 'display' part of the edit in the EditorContents controller. (So in the case if(empty($this-params['data'])) in the

Re: CakePHP 1.1.4.3083

2006-06-14 Thread Armando Sosa
in the changelog: Revision: [3049] Adding support for Event Selectors (http://encytemedia.com/event-selectors/) This sound so cool, where is it? how to use it? On 6/14/06, johnpfisk [EMAIL PROTECTED] wrote: I just downloaded this version, and I get the following error: Fatal error: Call

Trim on $this-params['data']

2006-06-14 Thread eveloper
Just a quick question: How do I make so that all data grabbed from $this-params['data'] are always trimmed for blank spaces automatically? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To