Hi All,
As we know in some languages (Chinese) the order of a persons name is
family name, first name.
How do we handle this for translation of strings. I need to be able to
allow translators to switch the order depending on language.
Here is a way I have found to do it but I don't really
:
http://stackoverflow.com/questions/3964972/validate-this-format-hhmm and
modify to your needs
AD
On Tuesday, 11 March 2014 05:03:28 UTC+1, Justin Atack wrote:
Anybody?
On Friday, 7 March 2014 22:14:03 UTC+11, Justin Atack wrote:
Hi All,
I need to validate a field that will store
Hi All,
I think I have found a bug in CakePHP... but I could be wrong as I'm a
CakePHP newbie... The code can be seen here if you prefer it colour
coded: http://pastebin.com/eXSpbAmw
Heres some code from my AssignmentsStudentSController.php. It should pull a
list of names from the students DB
Anybody?
On Friday, 7 March 2014 22:14:03 UTC+11, Justin Atack wrote:
Hi All,
I need to validate a field that will store a time instance MM:SS e.g.
04:32 would represent 4 minutes and 32 seconds.
I have created the code in my model to validate the time field but I
really don't know much
Hi All,
I need to validate a field that will store a time instance MM:SS e.g. 04:32
would represent 4 minutes and 32 seconds.
I have created the code in my model to validate the time field but I really
don't know much about regex. Here are a few that work ok...
/([0-9]\d|60):([0-9]\d|60)/
= $this-paginate('Schedule');
$this-set('schedules', $this-Paginator-paginate());
On Friday, 21 February 2014 10:49:00 UTC+11, Justin Atack wrote:
Hi All,
I'm having a problem getting Containable behaviour working with the
Pagination component. I'm following the suggested code in the manual Using
Gives me the same error: Notice (8): Indirect modification of overloaded
property SchedulesController::$paginate has no effect
[APP/Controller/SchedulesController.php, line 35]
On Friday, 21 February 2014 10:49:00 UTC+11, Justin Atack wrote:
Hi All,
I'm having a problem getting Containable
Hi All,
I'm having a problem getting Containable behaviour working with the
Pagination component. I'm following the suggested code in the manual Using
Containable with Pagination
-
http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html#using-containable-with-pagination
My
Haha that works! You're a genius!
Thank you so much.
So is the CakePHP manual incorrect?
On Friday, 21 February 2014 10:49:00 UTC+11, Justin Atack wrote:
Hi All,
I'm having a problem getting Containable behaviour working with the
Pagination component. I'm following the suggested code
Make sure your loading the Auth component in the AppController.php
public $components = array(
'Session',
'Auth' = array(
'loginRedirect' = array(
'controller' = 'posts',
'action' = 'index'
),
'logoutRedirect' =
this repo to keep their CakePHP app
up to date with a simple GitHub deploy that can be done in the PagodaBox
admin panel.
On Wednesday, 15 January 2014 13:59:38 UTC+11, Justin Atack wrote:
Hi All,
If your a user of Pagoda Box this might save you a little bit of time if
you want a quick
Hi All,
If your a user of Pagoda Box this might save you a little bit of time if
you want a quick development platform to work with. I have created a free
Pagoda Box Quickstart (launcher) for CakePHP 2.4.4. Up until now there has
only been an older version (v2.1.3) available.
It's now
',
'Controller/Component/Auth');' and it works just fine.
Op vrijdag 3 januari 2014 06:49:28 UTC+1 schreef Justin Atack:
Hi All,
I hope you can point me in the right direction.
I'm following the guide at:
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html
I'm using
Hi All,
I hope you can point me in the right direction.
I'm following the guide at:
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html
I'm using CakePHP 2.4.3 and have followed the guide to the letter of the
law. It mostly works correctly. If I try to access a
14 matches
Mail list logo