*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
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.
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
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
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
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
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:
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
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
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)
{
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)
{
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
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:
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
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
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
/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
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
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,
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
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
'); ?/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
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,
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
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
25 matches
Mail list logo