Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-02 Thread Sliv
This is fantastic news and many thanks to everyone who contributed! Looking forward to trying out RC3 :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Best way to localize URL

2008-10-02 Thread Sliv
The best way is to localize the *content* on all your pages, and leave the URLs alone. I agree, but I've worked on projects where the client and/or project manager is adamant about localizing the URL's as well :/ --~--~-~--~~~---~--~~ You received this

Re: Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-13 Thread Sliv
look in the files section for this group --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Data Validation Cake 1.2

2008-06-13 Thread Sliv
http://manual.cakephp.org/view/125/data-validation --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-13 Thread Sliv
try a search on scribd.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Re: blog list

2008-06-10 Thread Sliv
The links in the unofficial resources page will take you to pre- defined searches in the blogosphere for cakephp which will give you a lot of relevant results from many indexed blogs. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Strict or Pretty? We're looking for a few good opinions

2008-06-09 Thread Sliv
Personally, I think it's best to pick standards up-front to abide by for anything your code taps into and then commit yourself to conforming to those documented standards...If you're using PHP, make sure you pass E_STRICT tests and that's where it ends. If you're using html, pick a strict

Re: How to use several languages in cakePHP?

2008-05-22 Thread Sliv (Tim MacAleese)
http://book.cakephp.org/view/161/localization-internationalizat On May 22, 2:42 am, Margarittka [EMAIL PROTECTED] wrote: Hello! I need to write site with support of 3 languages. Differences of parts are only in files with constants. How can i realize this in optimum way?

Re: Drop down values problem

2008-05-21 Thread Sliv (Tim MacAleese)
Based on your question, I strongly suggest you use bake to generate a basic foundation of code to get you started: http://book.cakephp.org/view/113/code-generation-with-bake On May 21, 8:03 am, vishal [EMAIL PROTECTED] wrote: Hi friends, I am new on this forum.can anybody help

Re: Implementing Cake alongside/within an existing application

2008-05-21 Thread Sliv (Tim MacAleese)
Two projects that come to mind which you will probably want to review: Drake (drupal with cake) http://dev.sypad.com/projects/drake/ Jake (Joomla with cake) http://dev.sypad.com/projects/jake/ On May 21, 5:55 am, boyracerr [EMAIL PROTECTED] wrote: I've recently been brought in on a project

Re: Fatal error: Class 'Behavior' not found in console.php line 65

2008-05-21 Thread Sliv (Tim MacAleese)
I haven't seen that myself, but I noticed 1.2.0.6311 You might want to try updating to SVN 6991+ Maybe something was fixed in the 680 revisions to the core since the version you're using :P --~--~-~--~~~---~--~~ You received this message because you are

Re: Fatal error: Class 'Behavior' not found in console.php line 65

2008-05-21 Thread Sliv (Tim MacAleese)
Or does it still say 6311 even on the latest, I don't know so I'll just get more coffee :/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: A couple thoughts? Your suggestions?

2008-05-21 Thread Sliv (Tim MacAleese)
You may want to consider submitting enhancement tickets for 2.0 (enhancements are closed for 1.1 and 1.2). However, I would offer one tiny bit of advice: Don't say framework X has this, so I think cake should have it, because that is going to get you nowhere fast. Instead, just say I think

Re: oracle connection

2008-05-21 Thread Sliv (Tim MacAleese)
Do you mean it says your database configuration file is NOT present? If it's present, then what does it say about being able to connect to your database? On May 20, 3:15 pm, Valerio [EMAIL PROTECTED] wrote: Hi, I'm a new cakephp developer... I'm trying to connect to an Oracle db but it

Re: Admin Routing Problem

2008-05-21 Thread Sliv (Tim MacAleese)
If you're using the Auth component with admin routing, you might want to review this recent ticket to see if it applies to you: https://trac.cakephp.org/ticket/4708 On May 20, 2:54 pm, Joel K. [EMAIL PROTECTED] wrote: Hello, I'm using admin routing for a personal site that I'm building:

Re: Playing with Cake: how to hack into Cake's core within 20 lines codes

2008-05-21 Thread Sliv (Tim MacAleese)
Just remember that there is an inline comment before that line that says DO NOT EDIT BELOW THIS LINE. Probably not there arbitrarily, so ignore at your own risk ;) On May 20, 12:27 pm, RainChen [EMAIL PROTECTED] wrote: Some times I want to add some methods or common attributes to all Cake's

Re: General purpose page / design issues

2008-05-21 Thread Sliv (Tim MacAleese)
As for posting convention, well, google doesn't care which message you reply to in a thread and will put your post at the end of the thread as far as it displays in the web view (not sure about the email view). As for $this-renderElement, just want to point out that this has just been deprecated

Re: how to customize the debug output

2008-05-21 Thread Sliv (Tim MacAleese)
I just read this article: http://bakery.cakephp.org/articles/view/tidy-output-filtering I also posted a link to a code paste of mine which is a modified approach. Using this approach will bring the trailing SQL debug output into the body tag. I just wanted to post back to this thread because

Re: fieldset display:none inserted within $form-create

2008-05-20 Thread Sliv (Tim MacAleese)
You mean the fieldset? That's by design. There's no elegant override afaik. On May 20, 1:13 am, Brian Rojas [EMAIL PROTECTED] wrote: I use the $form-create method in 1.2 like so: ?php echo $form-create(null,array('url' = array('controller' = 'pages', 'action' = 'contact'), 'id' =

Re: file handling from cake

2008-05-20 Thread Sliv (Tim MacAleese)
Have a look at the File class: http://api.cakephp.org/1.2/class_file.html On May 20, 6:35 am, oana [EMAIL PROTECTED] wrote: Hello everyone, I would like to know iwhat would be the way to follow if i want to create a file from within a cakephp page. The situation is like this: i have a

Re: new error

2008-05-20 Thread Sliv (Tim MacAleese)
Looks like your tmp folder isn't writeable by your web server On May 20, 3:12 am, Raistlin Majere [EMAIL PROTECTED] wrote: I am getting: Warning: file_put_contents(/home/emmettbr/public_html/CakePHP/ opinionsofamateurs/tmp/cache/models/ default_emmettbr_toreadandtowrite_list)

Re: Status Update on Cake 1.2 and Call to Action

2008-05-19 Thread Sliv
Just a reminder to everyone about the freeze nate posted: Enhancement tickets created on or after May 18, 2008 are being moved to 2.0 (this does not include tickets that are open that were created before that date). --~--~-~--~~~---~--~~ You received this message

Re: Status Update on Cake 1.2 and Call to Action

2008-05-19 Thread Sliv
I guess you'll have to bribe Nate, I just work here hehe :P On May 19, 5:35 pm, Jonathan Snook [EMAIL PROTECTED] wrote: Is it possible to have those very few last minute entries submitted with patches get secondary glances? (since I only see 4 listed...)

Re: ACL in oracle?

2008-05-15 Thread Sliv
There's an open ticket about this, the guy you want to talk to is phishy (Jeff Loiselle) http://jeff.loiselles.com/wordpress/ : https://trac.cakephp.org/ticket/2024 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Cookbook overhaul proposal

2008-05-14 Thread Sliv
] as he is the project manager. I believe currently John (psychic) and Andy (AD7Six) are the main developers behind the cookbook. Thanks for taking an interest! On May 14, 5:41 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sliv: Do you know where I can find information on the Cookbook development

Re: Specifying field names in findAll()

2008-05-14 Thread Sliv
In your core.php set your debug level to 2 and look at the sql-log table output to see the queries that cake is generating. Also, you may want to post relevant code to http://bin.cakephp.org and then post the url to your code here, as it will be far more readable for everyone here. On May 14,

Re: shared servers and absolute paths

2008-05-14 Thread Sliv
Have you checked your layout and view files (*.ctp) to make sure css is being called the same way? On May 14, 12:27 pm, Roon [EMAIL PROTECTED] wrote: Hi all, I have a setup issue on a shared server which i can't seem to find any documentation for. I am able to get the Sweet, 'myapp' got

Re: Problem with this-redirect

2008-05-14 Thread Sliv
You can pass all kinds of parameters to the ajax helper including javascript you want executed: http://book.cakephp.org/view/208/ajax#ajaxhelper-options-209 On May 14, 2:16 pm, Dovdimus Prime [EMAIL PROTECTED] wrote: Errr... sorry but how would I go about doing that? How do I get some

Re: Wordpress CakePHP

2008-05-13 Thread Sliv
Wasn't the latest WP release (2.5 I think?) supposed to be a 'major' code overhaul? If so, I would imagine anyone's past efforts would probably be broken with this latest release... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Cookbook overhaul proposal

2008-05-13 Thread Sliv
There is only really one main thing I would like to see changed about the cookbook. That is the way proposals are forever hidden from me /Martin Like Nate said, this is all doable, it's just about finding available time + available ability in the same person to do it. If you think that's

Re: generating scaffold code

2008-05-13 Thread Sliv
http://manual.cakephp.org/view/113/code-generation-with-bake --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

View this page CakePHP Unofficial Resources

2008-05-09 Thread Sliv (Tim MacAleese)
-Added links to free virtual appliances for developing with CakePHP -Alphabetized, categorized, formatting cleanup Click on http://groups.google.com/group/cake-php/web/cakephp-unofficial-resources - or copy paste it into your browser's address bar if that doesn't work.

Re: What kind of authentication script?, tutorial? do you use?

2008-05-09 Thread Sliv
There are ACL tutorials linked in the unofficial resources page as well. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: Something on the top of CakePHP

2008-05-08 Thread Sliv (Tim MacAleese)
An example further to Chris' point is a recent discussion I had with Nate - I ran into an issue where I passed an IP address through built- in IP validation then used ip2long to convert it so I could store it in a MySQL signed INT. I noticed that an IP written like 255.255.255.011 would pass

Re: 1.2 Documentation has made amazing progress

2008-05-08 Thread Sliv (Tim MacAleese)
Yes, indeed, I use it a lot too - maybe at some point there will be a way to mirror it to contributed servers so it doesn't get too slow due to the size and number of people using it :P --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: OT: Shitty Community

2008-05-08 Thread Sliv (Tim MacAleese)
I have to agree with Gwoo, I haven't seen any replies that weren't appropriate to the post being replied to. If you write a post that shows you haven't read the welcome blurb posted on the group front page that tells you to search first before asking, and links to the wiki pages with a ton of

Re: OT: Shitty Community

2008-05-08 Thread Sliv (Tim MacAleese)
kumbayah. How about we try to be polite even if the other person isn't? That goes for both sides. -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

OT: JQuery Group CakePHP Group

2008-05-08 Thread Sliv (Tim MacAleese)
... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options,

Re: What kind of authentication script?, tutorial? do you use?

2008-05-08 Thread Sliv (Tim MacAleese)
I started off a long time ago trying othAuth, obAuth, (can't remember all the different names, but I tried several). The problem I ran into is that you are then stuck if you upgrade your core and whatever script you chose happens to break because it used overrides or hacks or whatever. Or, the

Re: Getting Cake build version?

2008-05-08 Thread Sliv (Tim MacAleese)
My personal thought is you should keep your app and your cake core separate - then you can just delete the core and replace it with a fresh update without touching your app. The http://book.cakephp.org installation section explains how to keep them separate. I'm not aware of a simple way to

Re: Getting Cake build version?

2008-05-08 Thread Sliv (Tim MacAleese)
Neither of those methods tell you the exact revision, though, just the last release version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: OT: Shitty Community

2008-05-08 Thread Sliv (Tim MacAleese)
He got all the responses because he's trolling. I for one, have finished feeding it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: How to access Cake Session Variables from a Stand Alone PHP script

2008-05-07 Thread Sliv
What variables are you trying to access that are not available through $_SESSION? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: Something on the top of CakePHP

2008-05-07 Thread Sliv
Like I always say: You are always one of two people in this world: Someone who is part of the problem, or someone who is part of the solution. Decide who you are. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Something on the top of CakePHP

2008-05-07 Thread Sliv (Tim MacAleese)
What I still don't understand, is all the people that make these huge plans that involve massive amounts of work, yet I don't see these people doing arguably way less work to write test cases and patches for bugs/enhancements. Is it because these people only want to develop if they're in total

Re: RSS feeds : Something is wrong with Thunderbird

2008-05-07 Thread Sliv (Tim MacAleese)
I think your subject is the answer? :P --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Is the documentation at book.cakephp.org open source?

2008-05-07 Thread Sliv (Tim MacAleese)
I gather the overall feeling is just that feedback be provided on all submissions, whether negative or positive, so submitters know the deal. I myself have made some contributions, some reject, some approved, some into the void of no response. Personally, I don't care whether something is

Re: adv routing questions ....i think

2008-05-07 Thread Sliv (Tim MacAleese)
If you look here: https://trac.cakephp.org/ticket/3567 You'll see Gwoo stating that you can organize your code into folders, but the URL will not change. I gather this means you may want to try either unique controllers, or a combination of routes and method logic in your controllers to handle

Re: Warning message infecting thumbnail images occasionally

2008-05-07 Thread Sliv (Tim MacAleese)
post code here http://bin.cakephp.org and then post the URL to the group. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: RSS feeds : Something is wrong with Thunderbird

2008-05-07 Thread Sliv (Tim MacAleese)
Have you run this through a feed validator like http://validator.w3.org/feed/ It might flag something... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Is the documentation at book.cakephp.org open source?

2008-05-07 Thread Sliv (Tim MacAleese)
It's my understanding that part of the idea behind the cookbook submission process was to migrate the flood of documentation tickets away from trac. Unless you're talking about a separate trac repo/site. Would the trac model work? --~--~-~--~~~---~--~~ You

Re: AJAX updating a field.

2008-05-07 Thread Sliv (Tim MacAleese)
Well the first thing that seems wrong is your vote method is setting ajaxVote to 555 no matter what. Maybe you want to set that to the passed value instead... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: adv routing questions ....i think

2008-05-07 Thread Sliv (Tim MacAleese)
I guess I was thinking along the lines of pointing both routes to the same controller then using passed params in shared methods: Route::connect('/db1/users/*' = array('controller' = 'controllerForBoth')); function myControllerMethod() { if($this-params['url']['url'] == 2. some routes +

Re: adv routing questions ....i think

2008-05-07 Thread Sliv (Tim MacAleese)
3. wait for this to be fixed in cake core? I don't think that will happen unless: 1) It doesn't break something the Core Devs are concerned about (like backwards compatibility or something) 2) A ticket was opened with a test case, a patch and a good argument This is just my speculation, of

Re: One more 5875-6311 migration question

2008-05-07 Thread Sliv (Tim MacAleese)
At last, an opportunity to paste a link to Chris' new about page kitteh! http://www.littlehart.net/atthekeyboard/about/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
I think some people are anxious to see the enhancement tickets for the cookbook get some kind of response, particularly the ones that give feedback as to the status of contributed content, versioning, etc. These are wiki type enhancements that would help resolve the issue where people submit

Re: Validating related models

2008-05-06 Thread Sliv
I haven't looked at it recently, but my guess would be to check the latest revision of the saveAll method... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
On a side note, have you folks (those wanting to fork a doc wiki) already tried offering to Gwoo/John to help code/write the cookbook app and have since decided to venture out on your own, or are you just unsatisfied with the cookbook without offering to assist and wanting to spearhead your own

Re: Dynamic Report/Report Creator.

2008-05-06 Thread Sliv
Suggestion: I would probably have a look at the bake/console code and borrow some ideas... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: i want to make tow app file in the same cake installation ?? can i do that ??

2008-05-06 Thread Sliv
I think you want to read the advanced installation section at http://book.cakephp.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: Paginate custom SQL queries

2008-05-06 Thread Sliv
Filip: Others might be interested in your efforts as well, perhaps you would be interested in posting to http://bin.cakephp.org and posting the URL here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: error message appear on the top of html

2008-05-06 Thread Sliv
Have you tried $this-Session-setFlash(__($message, true)); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
I don't actually know, but contact [EMAIL PROTECTED], I am sure he (and everyone) would welcome offers to help. - Where is the SVN for cookbook code? Would like see if I can help out with some patches --~--~-~--~~~---~--~~ You received this message because you

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
Just a guess, but probably for forking wiki's. ...and I find it funny how similar saying forking wiki's sounds to something good ol' Chris would say :D What did you want to use it for? -- John --~--~-~--~~~---~--~~ You received this message because you are

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread Sliv
Well, I don't want to mislead you, but I would try doing the ol' comment everything and backstep... also try setting debug to 0 to see if there's any different result. My point was just that these kinds of things I think are like segmentation faults where you try to find a problem in the code

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
Oh, there's no fault here, this is all on a volunteer basis. I would simply hope that if people have the time/ability to fork wiki's, they would have the time/ability to join the cookbook development team in some way and that their would be a doorway/path open for them to do so. That's all my

Re: tempdocs.cakephp.org

2008-05-06 Thread Sliv
It is my understanding that tempdocs.cakephp.org will soon be a redirect to the cookbook, so that those who are unaware of the completed migration will not have a dead link. Stay tuned... --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread Sliv
Have you tried commenting out the $recursion var? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread Sliv
Well, requestAction can be costly, perhaps that is what you are running into. You may want to try creating a method in your model that binds the necessary associations and returns the data you want to the controller. --~--~-~--~~~---~--~~ You received this

I don't understand how internationalization works in CakePHP.

2008-05-05 Thread Sliv
Better. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 options,

Re: CakePlus - On the top of CakePHP

2008-05-05 Thread Sliv
Personally I'd prefer to see all of this energy go into helping to close tickets by writing tests, patches, documentation and offering time/resources to join initiatives that need the help (i.e. cookbook). I just find that helping is superior to forking for everyone in the community, unless

Re: error message appear on the top of html

2008-05-05 Thread Sliv
Are you sure you're talking about flash messages, or php/cake error messages (debug output)? I would recommend putting $session-flash in your LAYOUT file (views/ layouts/default.ctp or other), where you want flash messages to appear. --~--~-~--~~~---~--~~ You

Re: I don't understand how internationalization works in CakePHP.

2008-05-05 Thread Sliv
I changed the topic to more appropriately describe the OP and the subsequent answer. On May 5, 2:50 pm, b logica [EMAIL PROTECTED] wrote: Er, what? Were you just thinking out loud? I don't understand how i18n is supposed to work in Cake either, FWIW. On Mon, May 5, 2008 at 12:13 PM, Sliv

Re: Is Cake 1.2 ready to use in production?

2008-05-05 Thread Sliv
You're probably going to incite one of two things with this post: 1) silence, because the topic's been beaten to death (2) flames, because the topic's been beaten to death. In either case, please search the group and you will quickly find that 1.2 has been used heavily by many people in

Re: validation fails to validate

2008-05-05 Thread Sliv
Paste your controller, view and model here: http://bin.cakephp.org and post the resulting URL here. Also include your exact CakePHP revision. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: I don't understand how internationalization works in CakePHP.

2008-05-05 Thread Sliv
I could, but then again, so could you: http://manual.cakephp.org click on 'edit this section' ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: requestAction inside elements creates a Stack Overflow

2008-05-05 Thread Sliv
If you have access to a different test server environment, I would try that before proceeding further. These types of problems tend to be related to something in the environment. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Bakery is not updating?

2008-05-02 Thread Sliv
If it's a question of articles sitting in the pending queue for a long time, that's something I guess only gwoo could answer, as I don't know who all are involved in reviewing and approving articles. On a side note: IMHO, I don't think people should stop publishing to their blogs because

Re: coding standards saving serialized data to the db

2008-05-02 Thread Sliv
I had run across an article a while ago talking about gzipping large bodies of text before writing it to the database and wondered the same sorts of things... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: no scripts on home page?

2008-05-02 Thread Sliv
the pages controller uses the home view and by default has the HTML helper loaded. Make sure you are using echo $html... and not just $html also read this in it's entirety: http://book.cakephp.org On May 2, 8:46 am, alxlevin [EMAIL PROTECTED] wrote: Hi. This is my first project with

Re: Use model inside helper

2008-05-02 Thread Sliv
In a word, no. Controller sends the data prepared by your model to the view where your helper can access it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: no scripts on home page?

2008-05-02 Thread Sliv
which one of us is the evil twin... :P --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Routing doesn't work?

2008-05-02 Thread Sliv
Think about it: You're setting up a route for /tag but then sending /tag/php and wondering why it doesn't route. Try setting the route /tag/* --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To

Re: CakePHP css files

2008-05-01 Thread Sliv
which site are you talking about, and why can't you grab the links from the page source? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: Catch errors (urgent)

2008-04-30 Thread Sliv
Look at the validationErrors property Look at the beforeSave method http://api.cakephp.org/1.2/class_model.html Look at the validationErrors property http://api.cakephp.org/1.2/class_view.html Look at the validateErrors method http://api.cakephp.org/1.2/class_controller.html

Re: Behavoirs no load

2008-04-30 Thread Sliv
bindTranslate bindTranslation http://api.cakephp.org/1.2/class_translate_behavior.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: Editing session data, 2 page form with submit

2008-04-30 Thread Sliv
It looks to me like you're just reading the value from the session every time without checking the submitted data first Try something along the lines of: http://bin.cakephp.org/view/1454909160 --~--~-~--~~~---~--~~ You received this message because you are

Re: Behavoirs no load

2008-04-30 Thread Sliv
if you didn't type bindTranslate, you wouldn't get this error SQL Error: 1064: You have an error in your SQL syntax; bindTranslate --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this

Re: Behavoirs no load

2008-04-30 Thread Sliv
Please avoid posting code directly to the group, instead please post it here so it's readable: http://bin.cakephp.org and reference the resulting url here --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: Behavoirs no load

2008-04-30 Thread Sliv
oh, nevermind, hehe I didn't think the model would be that small --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

Re: The action none is not defined in controller UsersController

2008-04-30 Thread Sliv
A workaround that appears to resolve the issue: in Users controller beforeFilter: if ($this-action === 'none') { $this-redirect($this-Auth-redirect()); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: Editing session data, 2 page form with submit

2008-04-30 Thread Sliv
Have a look at this approach: http://bakery.cakephp.org/leafs/view/32 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: how to customize the debug output

2008-04-29 Thread Sliv
This is one not-so-elegant method (index.php hack) I've used to modify the output (note the str_replace on line 37) - A similar approach might be able to be used to do what you're looking for: http://bin.cakephp.org/saved/28154 That is clear to me but how do I make it so that the outputted

The action none is not defined in controller UsersController

2008-04-29 Thread Sliv
Let me start by saying I don't believe this is a problem with the framework, rather an issue with IE6. However, I'm posting here as it is a problem I've run into while using the framework and am looking for advice. I have to test under IE6 at work because where I work the generalized technical

Re: The action none is not defined in controller UsersController

2008-04-29 Thread Sliv
I should probably add that the Auth login processing appears to work, the successful login flash message gets set and displayed, but after this: $this-redirect($this-Auth-redirect(), null, true); the URL in the address bar is /users/none and the message is as I said, Missing Method In

Re: Bakery is not updating?

2008-04-29 Thread Sliv
No, not cakeforge, bakery tickets are submitted through trac. Check if your issue has already been reported here first before submitting a ticket: https://trac.cakephp.org/report/5 Also note that *some* issues are not due to the code, but due to the database connections maxing out and/or

Re: possible bug? validation successful even though required fields are not empty

2008-04-29 Thread Sliv
How does it not make sense to you? If you are not attempting to save the data, why do you care if it's valid? Quite the contrary; validating data I'm not trying to save wouldn't make much sense. --~--~-~--~~~---~--~~ You received this message because you are

Re: possible bug? validation successful even though required fields are not empty

2008-04-29 Thread Sliv
But it doesn't make much sense to me that cake will save records even though validation rules say that the field shouldn't be empty. Again, you're not saving the invalid data, you're only saving the valid data. Validation is about making sure data that's going to be saved is correct according

Re: Default (index) page

2008-04-29 Thread Sliv
look for a file called home.(ctp|thtml) and edit it. then read this: http://book.cakephp.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: setFlash problems in Firefox

2008-04-29 Thread Sliv
if(search_all_cake_resources === null) { echo 'exact version of the framework used'; echo 'php version'; $url = $this-pasteRelevantCode('http://bin.cakephp.org'); echo $url; } --~--~-~--~~~---~--~~ You received this message because you are

  1   2   3   >