Re: Problem with Ajax.autocomplete and Internet Explorer

2009-09-29 Thread Bs
*bump* On 22 Sep., 14:28, Bs sommerf...@hs-heilbronn.de wrote: Hi, I'm using the Ajax Helper for some fields in my app and it works flawlessly from the backend side. The only problem is Internet Explorer where the popup DIV is displayed totally dispositioned, several pixels to the right

Problem with Ajax.autocomplete and Internet Explorer

2009-09-22 Thread Bs
Hi, I'm using the Ajax Helper for some fields in my app and it works flawlessly from the backend side. The only problem is Internet Explorer where the popup DIV is displayed totally dispositioned, several pixels to the right and lower than it's displayed in Firefox, Opera and any other browser.

Re: Upgrade to new Cake PHP version

2009-09-02 Thread Bs
the combination of settings required to show that particular bug and they neither noticed the bug nor the patch. On Aug 31, 3:01 pm, Bs sommerf...@hs-heilbronn.de wrote: I'm talking about theupgradefrom the 2nd latest stable release (1.2.3) to the latest stable (1.2.4). There seem to be a lot

Upgrade to new Cake PHP version

2009-08-31 Thread Bs
Hi, is there any tutorial available how to upgrade to the latest Cake PHP build? Or is this a task everybody has to do by hand by checking every file manually what has changed? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Upgrade to new Cake PHP version

2009-08-31 Thread Bs
article I wrote in the bakery. I just logged everything I did when migrating a real application. /Martin On Aug 31, 10:31 am, Bs sommerf...@hs-heilbronn.de wrote: Hi, is there any tutorial available how to upgrade to the latest Cake PHP build? Or is this a task everybody has to do by hand

Re: Display months in datetime fields in german

2009-07-28 Thread Bs
Hi Piotr, unfortunately that won't work, yet. What I did: - add Configure::write('Config.language', 'ger'); to bootstrap.php - add folder(s) app/locale/ger/LC_MESSAGES - create default.po in that folder with the following content msgid January msgstr Januar msgid February msgstr Februar

Re: Display months in datetime fields in german

2009-07-28 Thread Bs
Hi Piotr, with ger it didn't work but when I changed the folder name to deu (and also the value in Config.language of course) it worked like a charme. For some reason it seems that it has(!) to be named deu anyway, thanks a lot! On 27 Jul., 23:54, Piotr Kilczuk kilc...@gmail.com wrote:

Display months in datetime fields in german

2009-07-27 Thread Bs
Hi, is it somehow possible to display the months of a datetime field in a view in german? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Define several paginators for one model

2009-07-24 Thread Bs
Hi, I would like to define several paginators for one model. For example users_controller.php: var $paginate = array (.); var $paginate2 = array (.); var $paginate3 = array (); so that I can use those in my views like this $php echo $paginator-sort($paginate, Country'); ? $php

Re: Define several paginators for one model

2009-07-24 Thread Bs
Right now I do the following to paginate my model after several orders in one view: - I created a function sort() in my controller which does the following: function sort() { $order = array(); if (($this-data['sort']['column1']) == 1) {

Re: Define several paginators for one model

2009-07-24 Thread Bs
Right now I do the following to paginate my model after several orders in one view: - I created a function sort() in my controller which does the following: function sort() { $order = array(); if (($this-data['sort']['column1']) == 1) {

Re: Sanitize:clean replacing hyphens in email addresses

2009-07-20 Thread Bs
forSanitize::clean() at all. On Jul 17, 6:34 pm, Bs sommerf...@hs-heilbronn.de wrote: Hi, I'm usingSanitize::clean tosanitizemy user data on a registration page after this tutorial: http://www.jonnyreeves.co.uk/2008/06/cakephp-activating-user-account-... Like mentioned in an much older thread

Sanitize:clean replacing hyphens in email addresses

2009-07-17 Thread Bs
Hi, I'm using Sanitize::clean to sanitize my user data on a registration page after this tutorial: http://www.jonnyreeves.co.uk/2008/06/cakephp-activating-user-account-via-email/ Like mentioned in an much older thread, the sanitizer replaces the hyphens in email addresses for some reason:

Re: Handling minute and hour elements in forms

2009-05-29 Thread Bs
Thanks, the input fields work but cake still saves NULL values in the database in this case. The problem seems to be that only hour and minute get set but cake doesn't set any year, month or day informations in the datetime field. The result is a null value in my datetime column in mysql. My

Re: Handling minute and hour elements in forms

2009-05-29 Thread Bs
P.S.: Now i've tested it with a time column type and it worked!!! Thanks!!! On 27 Mai, 17:02, Stu greenmushroo...@gmail.com wrote: ps: The view code should look something like this: echo $form-dateTime('column_name', 'NONE', '12'); The '12' just represents the format, you can either choose

Re: Handling minute and hour elements in forms

2009-05-29 Thread Bs
Now there's still one problem...sorry:) Saving to a mysql time field works. But in my edit view the time is not read from the mysql time field. -- probably because it's a datetime field in cake and cake wants a year, month, day? --~--~-~--~~~---~--~~ You received

Re: Handling minute and hour elements in forms

2009-05-27 Thread Bs
/189/Automagic-Form-Elements-- see all the $options['..'] descriptions. As for alternative sources, there's also the API and you can search through the code to find the answers you need.  (api.cakephp.org) On May 26, 4:58 pm, Bs sommerf...@hs-heilbronn.de wrote: Hi Brendon

Handling minute and hour elements in forms

2009-05-26 Thread Bs
Hi, I'm new here and just wanna say first that I'm absolutely in love with CakePHP and will definitely donate for this project. This framework saves me work each day. I have a question about handling minute and hour elements in forms. I'm using those for setting a start and end time in my

Good way to paginate my index view by several keys / and-conditions

2009-05-26 Thread Bs
Hi, I'm trying to order my index view by several conditions. As far as I can see from the documentation, the $paginator only accepts one key for sorting the model. http://book.cakephp.org/view/166/Pagination-in-Views What is the best practice to order my model by several keys? (For example,

Re: Handling minute and hour elements in forms

2009-05-26 Thread Bs
Hi Stu, thanks for your answer. I used time as column type, cause the start and end time in my model has nothing to do with any date, but only with the time of day (general opening times for a store, for example). So I'll have to use datetime as column and then simply ignore the date part (with

Re: Handling minute and hour elements in forms

2009-05-26 Thread Bs
Hi Stu, I tried it out with datetime column but that doesn't work, either. Result is null in the column. Here's part of my code: add.cpt: ... tr td style=text-align:right;Opening time/td td style=text-align:left;from ?php echo $form-hour ('OpeningStartHours',1,6);? : ?php echo

Re: Good way to paginate my index view by several keys / and-conditions

2009-05-26 Thread Bs
'); ?/th So that the view is sorted by several keys when the user clicks. On 26 Mai, 18:37, brian bally.z...@gmail.com wrote: On Tue, May 26, 2009 at 11:56 AM, Bs sommerf...@hs-heilbronn.de wrote: Hi, I'm trying to order my index view by several conditions. As far as I can see from

Re: Handling minute and hour elements in forms

2009-05-26 Thread Bs
Thanks christo, I'll look into the stuff you wrote. I didn't understand it fully, but I'll look into it more closely tomorrow. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group,

Re: Good way to paginate my index view by several keys / and-conditions

2009-05-26 Thread Bs
like you're going to make the interface overly complicated, though. But, without seeing your app, I can't really judge. Just an observation. On Tue, May 26, 2009 at 12:56 PM, Bs sommerf...@hs-heilbronn.de wrote: Hi, thanks for the hint but I want to provide the users with buttons

Re: Handling minute and hour elements in forms

2009-05-26 Thread Bs
 pm, Bs sommerf...@hs-heilbronn.de wrote: Hi Stu, I tried it out with datetime column but that doesn't work, either. Result is null in the column. Here's part of my code: add.cpt: ... tr         td style=text-align:right;Opening time/td         td style=text-align:left;from ?php