Localization - values in translated strings - my solution

2009-06-24 Thread イタリア
I thought that this could interest someone else. If you want to be able to translate strings which contains dynamic data such: "Hello, my name is Julien" where "Julien" is a name, you could do this: sprintf(__("Hello, my name is %s",true),"Julien"); and your translation string would be "Hello,

Importing data into application

2009-04-19 Thread イタリア
Hi Group, I've created a cake application and now I want to populate the databases with external data sources. My first approach would have been to write a script to INSERT queries directed to MySQL, but I feel this to be very little "caki" approach. My second approach would be to write a contro

Accessibility and forms

2008-11-09 Thread イタリア
Hello all, although putting tags in the right order does not make an accessible website, I was wondering if anyone is really looking at priority AAA for accessible websites and updated the form helper... Anyone ? Julien --~--~-~--~~~---~--~~ You received this mes

Re: HABTM - SQL Error 1062 w/ 1.2 RC3

2008-10-05 Thread イタリア
_id as a united primary index I think that this is due to the fact that cakephp in using a ordered sintax in specifing values in INSERT queries. Cheers Julien On 5 Ott, 01:22, イタリア人 <[EMAIL PROTECTED]> wrote: > Hi, > > the issue does not get solved with removing indexes... it si

Re: HABTM - SQL Error 1062 w/ 1.2 RC3

2008-10-04 Thread イタリア
Hi, the issue does not get solved with removing indexes... it simply double (and invent) some associations which are not clear on RC3 On 4 Ott, 16:19, nachopitt <[EMAIL PROTECTED]> wrote: > Glad to hear that, I was about to ask information for primary keys or > maybe a unique index including bot

Cakephp, European privacy laws, key hased models

2008-10-04 Thread イタリア
"persons" and the table "addresses" should be linked together with an hashed key: SELECT * FROM persons,addressesWHERE crypt(persons.id,'hereyoursalt')=addresses.id Do you know how can I set this up in models in a way that I have not to re

Find: "LIKE" before or after

2008-09-22 Thread イタリア
Hello, I've seen that for security reasons the word LIKE in sql queries for the method "find" has been moved from the right site (value) to the left side (variable) on latest cake. The strange fact is that I'm using SVN to update my dev-environment and the production-environment but on the dev-e

[1.2.x.x] Is there a complete ACL/Auth howto ?

2007-09-10 Thread イタリア
;no, there isn't", who want to help me in putting down some notes somewhere and start building a little howto ? Cheers イタリア人 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post