its a balance; the code you posted is readable and concise
making links elements generally will add complexity to the simple and common
(and varied task) of adding links
when your link element has the ability to handle the various options it will
be quite complex and the code will be less
readabl
During this time I researched and analyzed the codes of the tutorials to
fully understand the use of ACL + Auth with different permissions to groups,
a topic with some complexity to my liking yet. I decided to put a couple of
tips for those starting like me and have also some doubts, I hope they se
Hi Milos,
SSL is a must... take care of what happen recently to me:
http://cakephp.19694.n2.nabble.com/Auth-ACL-proxy-server-mixed-up-sessions-td6535034.html
Regards,
Olaf.
On 09/10/2011 02:36 PM, Miloš Vučinić wrote:
Thank you very much, you are most kind !
All the best,
Milos
On Sep 9,
Hello,
in my application there is a part of a code responsible of sending an
emails to my users. It is a loop cycling through the whole database of
users and just sending the email. Also when any email is sent, there
is a copy sent to another email addres. The problem is that some of
the users rec
I'm going through the blog tutorial and have found myself wondering
why
Html->link($post['Post']['title'],
array('controller' => 'posts', 'action' => 'view', $post['Post']
['id'])); ?>
is better than writing an a element?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.
there are some defaultness just in place of var we can use varchar
On Fri, Sep 9, 2011 at 9:09 PM, Sam Sherlock wrote:
> I added the code from prev post to your code below.
>
> as you add more controllers you'd be better off adding general comps &
> helpers to the app_controller
>
> - S
>
>
>
>
can u explain me that what is B plan
On Sat, Sep 10, 2011 at 1:51 AM, Xoubaman wrote:
> Ip ranges is my B plan, but could be a problem with non-tech skilled admin
> users login from dinamic ips.
>
> I will come to this point later, so thanks for the answers, hope I can find
> a good solution.
>
this all are a problem of mac os this is already running in the win7
and all old os
On Sat, Sep 10, 2011 at 2:01 AM, Yves S. Garret
wrote:
> Ok, now it works. XAMPP did it.
>
> On Fri, Sep 9, 2011 at 1:52 PM, Chris wrote:
>
>> Why don't you just uninstall those things and run something like WAM
Hello,
I have a function sending email to all the users, and every email sent
is copied to another email address too:
[CODE HERE]
$this->Email->to = $User['User']['username'];
$this->Email->bcc = array('b...@hotmail.co.uk');
[CODE HERE]
The thing is the email sent to the user is different than t
Just use the Helper Html in your Controller.
public $helpers = array('Html','Javascript');
On Sep 9, 9:17 am, Jeremy Williams wrote:
> I did the blog tut on: "http://book.cakephp.org/view/1528/Blog"; and i
> have an error: "Notice (8): Undefined property: View::$Html [APP\views
> \posts\
Galera, sei que o espaço aqui é em inglês, mas sei que tem uma galera
brasileira, que posta aqui. Alguém aqui trabalha com ACL? Estou seguindo o
exemplo abaixo:
http://book.cakephp.org/pt/view/1543/Sistema-Simples-com-controle-ACL-Lista-de-controle
Gostaria de implementar maior restrição à ediçã
I was installing the Comments Component from CakeDC (
https://github.com/CakeDC/comments
)
But I have a strange error with Cakephp 1.3, my Controller refuses to
import my Model Behavior, i dont know if its an error of Inflector
Name to access the correct Behavior Class name but look at this =
in
Thank you very much, you are most kind !
All the best,
Milos
On Sep 9, 4:54 pm, Thomas Ploch wrote:
> 1.) The Auth component is safe. It uses a salted SHA1 encrypted pw by
> default. It auto-escapes the fields already, so you don't have to bother
> with it. Just use SSL to encrypt the connection
You can use beforeFind Model's callback otherwise Model constructor. I
prefer beforeFind method.
class AppModel extends Model {
[...]
public function __construct($id = false, $table = null, $ds =
null) {
// Set here virtualFields ($this->virtualFields = X)
$this->virtualField
Ok, I have two separate Cake applications, both experiencing this error. And
in the one case, its a brand-new installation. I quite literally just
uploaded the files and setup permissions on the tmp directory.
I'm running an Ubuntu Linux server. The other installation has been running
without i
Bumps. Can anybody help me out with this?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
ca
Thanks for you help but I am not sure that that is correct.
Whilst I by no means pretend to be an expert at the inner workings of
cakephp, the construct function in UserModel is called as the user model is
first constructed,
The parent::__construct() function in Model actually initializes the
Apologies in advance if this sounds stupid, but have you tried setting
this property in the "constructor" or it's cake equivalent?
On Sep 9, 4:28 pm, lyba wrote:
> Any suggestions why it is not possible to join strings in a model
> file:
>
> $foo = 'A'.'B';
>
> this produces error:
> Pars
Hi all,
I'm facing a strangeness in cake 2.0
Using a filter form, which work well on "normal" post, if (with jquery)
I bind the form.submit() with something like
/$.post( form.attr('action'), form.serialize(), function(data){
$("#restable").html( $("#restable", data).html() ) } );/
which should
Yip, the api does state "Allows a template or element to set a
variable that will be available in a layout or other element", but
maybe this is when the element is being called from the view not the
layout?
People are not really supposed to read your layout though, that is set
and should rarely be
20 matches
Mail list logo