Sunday, April 26, 2009

Re: 2 question about my site,Thanks.

hi,

my beforeFilter  have no write any thing is special

my link is like this:
<?php echo $html->link(__('TOP', true), array('controller'=> 'pages','action'=>'index',$username),null,false,false);?>

thanks  for your help.

rimoe


2009/4/27 NegoBlack® <paulomoacir.junior@gmail.com>

Strange...

1) Nothing in the beforeFilter or in the app_controller?
2) What are you putting in the first parameter of your
HtmlHelper::link? (some example of code?)

On Apr 26, 10:59 pm, Rimoe <meiyo...@gmail.com> wrote:
> hi
> every one.
>
> 1. I only use the refresh key(F5) one time, but I saw the controller has
> execute 2 times.
>      but  when I use the link to the action, It only has been execute one
> time.
>
> 2.  my link,  sometimes it can be show very good, sometimes it will be  show
> bad, like the code has been show directly
>
> Thanks
>
> if you know the answer,please tell me. thank you.
>
> rimoe



--~--~---------~--~----~------------~-------~--~----~
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 group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: