Re: Regarding http://cakephp.org page layout

2007-02-10 Thread Christopher E. Franklin, Sr.
DOH! Strike my last post now, I see what's wrong now that I look at it more closely =) I usually just hop over to the manual or api pages. One corner is round on the top right while the rest are squared off and on the home page, Learn It title is cut off. Speaking as a person who is using Cake

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread Christopher E. Franklin, Sr.
I don't see what the problem is... at work I look at CakePHP website in IE7 all the time and firefox at home... I have never had any problems. Am I missing something? On Feb 10, 7:22 am, "akinwale" <[EMAIL PROTECTED]> wrote: > Wow. Interesting. I just realised that I've never viewed the CakePH

Re: Translating categories

2007-02-10 Thread Christopher E. Franklin, Sr.
What about a second DB for the different languages? Have it check what language the site is using and use the correct db connection? Just a suggestion. On Feb 10, 2:12 am, Ámon Tamás <[EMAIL PROTECTED]> wrote: > Hello, > > The translated site working really perfect, but I have a problem. I can >

Re: Associations trouble

2007-02-10 Thread Christopher E. Franklin, Sr.
Post your model code with the names of the files and where they are located. On Feb 10, 6:12 pm, "Erich C. Beyrent" <[EMAIL PROTECTED]> wrote: > That did not work - now I get: > > Array > ( > [0] => Array > ( > [RegisteredState] => Array > ( >

Re: Component can't create a model

2007-02-10 Thread [EMAIL PROTECTED]
Brilliant, thank you both so much! --~--~-~--~~~---~--~~ 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 [EMAI

Bake fatal error

2007-02-10 Thread Jeffrey
What would cause this error when trying to use bake to create a new model? Fatal error: Class 'Model' not found in /Users/jeffreystevison/Sites/ cake/cake/scripts/bake.php on line 435 --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Trouble with the blog tutorial and newest version of Cake

2007-02-10 Thread [EMAIL PROTECTED]
Thanks so much! On Feb 10, 5:44 pm, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > See the fix on this bug, it has been solved already: > > https://trac.cakephp.org/ticket/2085 > > -MI > > --- > > Remember, smart coders answ

tags.ini.php

2007-02-10 Thread NeilKelty
I cannot find this file in the builds/nor my current installation - I've plowed through the documentations looking for any mentions. Has this file been eliminated or consolidated? Thanks in advance, --~--~-~--~~~---~--~~ You received this message because you are

Re: Associations trouble

2007-02-10 Thread Erich C. Beyrent
That did not work - now I get: Array ( [0] => Array ( [RegisteredState] => Array ( [state_id] => 10 ) [State] => Array ( ) ) ) I know I can write my own cus

RE: Trouble with the blog tutorial and newest version of Cake

2007-02-10 Thread Mariano Iglesias
See the fix on this bug, it has been solved already: https://trac.cakephp.org/ticket/2085 -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge.

Trouble with the blog tutorial and newest version of Cake

2007-02-10 Thread [EMAIL PROTECTED]
Just wondering what might be going on here... I have the latest drop of Cake1.2 and its setup on a LAMP environment. The index page seems to think that I have access to the DB. I went through the blog tutorial (http://manual.cakephp.org/ appendix/blog_tutorial) and am getting hung up on the por

Odd Query contruction in the tutorial, with latest version of Cake

2007-02-10 Thread [EMAIL PROTECTED]
I went through the tutorial in the manual (http://manual.cakephp.org/ appendix/blog_tutorial) and am having issues with getting my view to render correctly. I can access my DB fine, or at least the index page seems ot think so and I have access to my temp dirs. However when I throw it into debug

mod_rewrite is SLOW!

2007-02-10 Thread Summy
Hi all, my cakephp install is running very slow at the moment, at most i'm getting about 1.5req/sec (reported by ab)... Anyway i'm doing a bit of testing as to why this may be, it seems that even just a plain and simple php file with hello world is only giving me about 7req/sec. Trying a few thi

RE: How to use i18n with database in CakePHP 1.2

2007-02-10 Thread Mariano Iglesias
You sent me a private email but I'll respond on this thread so other people may find answers useful: I'm using PEAR Translation2 package, installed on my vendors dir as a PEAR package. I have a component that lets me forget about Translation2 internals when fetching language terms from within the

RE: Component can't create a model

2007-02-10 Thread Mariano Iglesias
That's needed for both CakePHP 1.2 and 1.1. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.

Re: route problem again (pls help! sos)

2007-02-10 Thread Julius Vekony
Hi Tamás FYI adding this line to route.php $Route->connect('/content/:lang/:controller/:action/*'); then in controller in $this->params['lang'] is value for :lang for example: http://www.mysite.com/content/sk/categories/view/3 in controller Categories in $this->params['lang'] is value 's

Re: why use jQuery instead of Prototype

2007-02-10 Thread Chris Hartjes
On 2/10/07, the_woodsman <[EMAIL PROTECTED]> wrote: > > Sorry to politicize/evangelize, but I noticed no-one's mentioning the > Yahoo UI. > I've used YUI for my stats project...and recently converted it over to using jQuery just to see what the difference was. ;) jQuery uses less memory than YUI

Re: why use jQuery instead of Prototype

2007-02-10 Thread Felix Geisendörfer
> > Jack Slocum's extensions are incredible, including most of the > functionality of jQuery, and much more efficient (even the JQuery devs > agree on this). > I agree that is extensions are pretty awesome and I do like YUI to some degree. However, I highly doubt that YUI is more efficient at s

Re: why use jQuery instead of Prototype

2007-02-10 Thread the_woodsman
Sorry to politicize/evangelize, but I noticed no-one's mentioning the Yahoo UI. I'm not an expert in al the Javascript libs, so this is all IMHO, but let me make a few points in favour of YUI: * more modular than the alternatives * very well documented, obviously highly tested * easier to implem

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread akinwale
Wow. Interesting. I just realised that I've never viewed the CakePHP site in IE until just now, after I read this thread. Cross-browser development will always be a pain. :/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread Larry E. Masters aka PhpNut
Anggie, If you have an IRC client stop by #cakephp on freenode and look for me in the channel, it is my second home. I will discuss this with you there. If you do not have access to IRC send me a private email. We would appreciate this help, since our main focus is the code and not how some brows

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread mutabor
Thank guys for your thoughts. Fortunately I made my client confident in Cake's reliability. Of course for me and for you it does not matter how framework's site looks if this framework really good. I still think that my client's way of thoughts was right for non-IT person : If I do not know anythi

Re: How to use i18n with database in CakePHP 1.2

2007-02-10 Thread palPalani
Hi Kathrin, Thanks for you reply. Now i can able to translate static text using your answer. Can you provide database based i18n support in CakePHP. Once again thanks for your reply. thanks, palPalani. On 4 Feb, 15:58, "Kathrin" <[EMAIL PROTECTED]> wrote: > In CakePHP 1.2 the function gettex

Re: multilingual

2007-02-10 Thread palPalani
Hi D.Pape, How to populate the available languages in select box using CakePHP 1.2 Dev. thanks, palPalani On 31 Jan, 15:29, "D.Pape" <[EMAIL PROTECTED]> wrote: > Hi kathrin. > > there is a topic about l18n: > > http://groups.google.com/group/cake-php/browse_thread/thread/63e58993... > > i think

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread Cheeze
Maybe the client shouldn't need to know this in the first place. He/ She probably doesn't have enough knowledge about PHP or frameworks to be in a position to know about this. >From my experience, most clients just want things to get done - they don't want to (or don't need to) know how those thi

Re: How to use smarty cache in cakephp?

2007-02-10 Thread lloydhome
Quote from previous: If you use it should work as long as the tag is in the layout file. That means it is not working in the included views - like yours. It would not work anyway with your case as no controller would run to set $time. The dynamic part must come from session or other outsid

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread NOSLOW
Ask your client this: "Do you replace your keyboard every time you misspell a word?" When he answers "of course not", reply back with: "well I don't replace my framework every time a page doesn't display correctly in a particular browser!" :P NOSLOW --~--~-~--~~-

Re: Associations stored in a table?!

2007-02-10 Thread mindcharger
Hello, This system is a mobile network monitoring tool. The system receives data from the different network nodes, processes that data (calculates a value using a user-defined formula) and stores the data back on a DB. Then you have a web-based user interface where you can pick which mesaures you

Re: Component can't create a model

2007-02-10 Thread lloydhome
Assuming you are running on v1.2, you now have to specify loadModel('Session'); before allocating a model not specified in the uses array. Models are no longer automatically loaded but are loaded only as needed to improve performance. HTH, David Lloyd -- lloydhome consulting http://lloydhome.

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread Anggie Bratadinata
Just a short intro, I'm not a Cake user yet (well, I can't even call myself a PHP developer because I mostly work on CSS and ActionScript stuff) but I'm doing my best to learn it although in my current project I'm using CodeIgniter. Anyways, I'm wondering if I could give the team a hand in this

Component can't create a model

2007-02-10 Thread [EMAIL PROTECTED]
I'm playing around with usermgmt from the cakeforge The component auth.php is having problems with this... $session = &new Session; I have session.php in my models directory and it all looks good. From my research I can see that this should be valid. However the error I get is Cannot instantia

Re: .ctp vs .thtml

2007-02-10 Thread Felix Geisendörfer
> > Is it mean everything working same, only the extension changed? > Yes. But since the API for the HtmlHelper / FormHelper / etc. has been changed (and still is changing), you might need to plan in a little more work then simply running a batch for renaming the files. -- Felix Geisendörfer

Re: .ctp vs .thtml

2007-02-10 Thread Ámon Tamás
djiize wrote: > .ctp was chosen because views are not always HTML (can be PDF, XML, > CSV, ...) > ctp stands for Cake template > .thtml still work with 1.2, but I don't know how long... > Is it mean everything working same, only the extension changed? -- Ámon Tamás http://linkfelho.amon.hu -

Re: .ctp vs .thtml

2007-02-10 Thread djiize
.ctp was chosen because views are not always HTML (can be PDF, XML, CSV, ...) ctp stands for Cake template .thtml still work with 1.2, but I don't know how long... On 10 fév, 11:20, Ámon Tamás <[EMAIL PROTECTED]> wrote: > Hello, > > What is the difference .ctp and .thtml? Is it needed to change e

.ctp vs .thtml

2007-02-10 Thread Ámon Tamás
Hello, What is the difference .ctp and .thtml? Is it needed to change every file extension in my project if I upgrading to 1.2? -- Ámon Tamás http://linkfelho.amon.hu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Translating categories

2007-02-10 Thread Ámon Tamás
Hello, The translated site working really perfect, but I have a problem. I can translate any static content in the .thtml files, but I have a categories table what I like to translate too. What is the baker way for it? (I use cake 1.2) The site is http://mediabazar.amon.hu -- Ámon Tamás htt

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread [EMAIL PROTECTED]
Oh yeah, ticket number 2102: https://trac.cakephp.org/ticket/2102 --~--~-~--~~~---~--~~ 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

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread [EMAIL PROTECTED]
If I may, the quicker solution is just to fix the problem... I've opened a ticket, with a fix, in diff format. Basically, (if sosa reads this first) move lines 27-34 outside of the content div, before it starts. Or, as the diff says, move the line from line 26 to line 34. I realize it's the way