On Sunday, 13 January 2013 02:42:53 UTC+1, Stefano Campanella wrote:
I'm using the datasources plugin, but it is not used in this particular
controller nor in any class that is loaded there.
I was referring to the location of your User model.
I tried to load the class using loadModel()
On Saturday, 12 January 2013 02:11:26 UTC+1, cricket wrote:
You'll need to create your own validation method.
http://book.cakephp.org/2.0/en/models/data-validation.html#custom-validation-rules
Personally, I'd create columns for both url and email in the table,
then set up a custom
Okei. here goes.
I have an element (test_element.ctp), that perform an API call.
I use a regular: echo $this-element('test_element', array(limit = 2));
to load it:
div id=TheElement
?php echo $this-element('test_element', array(limit = 2)); ?
/div
So far so good. The element load API call
I'm using the datasources plugin, but it is not used in this
particular controller nor in any class that is loaded there.
I was referring to the location of your User model
I'm using no plug-in then
You're describing another authorization handler
CakePHP (all versions that I've seen) check against $_SERVER['HTTPS'] to
see whether a request has been made over HTTPS instead of plain HTTP.
I'm using nginx as a load balancer, behind which are the Apache application
servers. Since the SSL connection terminates at the load balancer,
Hello, i am trying to validate an uploaded image:
'foto' = array(
'rule'= array('isUploadedFile'),
'message' = 'Errore nel caricamento file.'
),
'foto' = array(
'rule'= array('mimeType', array('image/jpeg')),
'message' = 'Invalid mime type.'
),
hi, i trying rewrite the code to obtain threaded results of Image model in
the first request. How can I do?
$this-paginate = array(
'conditions' = array('Product.company_id' =
$user_logged['User']['company_id'],'Product.deleted'=0,'Product.status'=1),
'limit' = 4,
'order' =
Thanks cricket AD7six.
I have used the following code to validate variable if it url or email.
public $validate = array(
'variable' = array(
'url' = array(
'rule' = array('urlOrEmail'),
'message' = 'Please supply a valid URL/email
Nevermind, there was a mistake in a part of the Group class I'd have never
thought of XD
On Sunday, January 13, 2013 12:15:56 PM UTC+1, Stefano Campanella wrote:
I'm using the datasources plugin, but it is not used in this
particular controller nor in any class that is loaded there.
On Sat, Jan 12, 2013 at 11:40 PM, Jamie jamie@gmail.com wrote:
How does that help? Well, you asked how to access ACL information inside
your plugin.
I think what Jeremy was getting at was that you suggested creating
another helper, which doesn't make sense.
I agree that the permissions
On Sun, Jan 13, 2013 at 5:04 AM, AD7six andydawso...@gmail.com wrote:
Youre better off not merging validation rules together like that rather:
public $validate = array(
'email' = array(
'emailOrUrl' = array(
'rule' = 'validateEmailOrUrl',
On Sun, Jan 13, 2013 at 3:05 PM, Stefano Campanella
leona...@guildofmessengers.com wrote:
Nevermind, there was a mistake in a part of the Group class I'd have never
thought of XD
I'm having some trouble trying to follow what it is you're trying to
do, but it appears that the crux of it is that
Instead of having your element output the HTML (or whatever the result
is you want), have it instead create the JS code that makes an AJAX
query.
On Sun, Jan 13, 2013 at 5:26 AM, MetZ met...@gmail.com wrote:
Okei. here goes.
I have an element (test_element.ctp), that perform an API call.
I
echo $this-Form-input('start', array(
'dateFormat' = 'DMY',
'minYear' = date('Y'),
'maxYear' = date('Y') + 1,
'timeFormat' = 24,
'interval' = 10
));
How can one adds 08 - 18 interval to hours?
Thanks
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
Thanks for helping solved issue. I was made silly mistake.
Spelling mistake, dependant instead dependent.
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Delete-related-data-tp1318091p5713212.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on
Hi
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this
16 matches
Mail list logo