Re: secure link using hmtl->link helper..
that is the only solution i found so far: http://bakery.cakephp.org/articles/view/component-for-forcing-a-secure-connection --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: secure link using hmtl->link helper..
I have also same issue. I tried "base" 'base'=>'https', 'base'=>'https:' and 'base'=>'https://' and echo $html->link('billing', array('base'=>'https:','controller'=>'/customers/billing_and_shipping')); then link is looks like this billing I also tried "bare" but I didn't see any different wiht/without it. Also I tried "full_base" and not working. How can I have link to https url?? Is there other way not using $html->link helper ? On Fri, Sep 25, 2009 at 10:15 AM, iFeghali wrote: > > Anyone found the solution ? I am on the same boat. > > Best, > ~IF. > > > --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: secure link using hmtl->link helper..
Anyone found the solution ? I am on the same boat. Best, ~IF. --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: secure link using hmtl->link helper..
I looked at the core Cake files and saw the "base" and "full_base" options. Im not sure how they are written though or if its possible to pass the protocal. Try different combinations likes "https" or "https:". If those dont work, try it on "full_base". If nothing, I guess well have to wait for a CakePHP dev to answer us or just keep your current method. --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: secure link using hmtl->link helper..
Ahh, I figured it out from reading the code. The variable that I need is 'bare', not 'base'. So this works. $html->link('my account', array('bare' => 'https://', 'controller' => 'users')); On Sep 15, 5:40 pm, Aaron wrote: > That doesn't seem to be working. > What am I doing wrong here? > This is what I have in the code. > > $html->link('my account', array('base' => 'https://', 'controller' => > 'users')); > > And this is what is showing up. > > my account > > Seems like I'm missing something basic here, just can't figure out > what. > > On Sep 15, 4:49 pm, Miles J wrote: > > > Try adding 'base' => 'https://' to your URL array. > > --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: secure link using hmtl->link helper..
That doesn't seem to be working. What am I doing wrong here? This is what I have in the code. $html->link('my account', array('base' => 'https://', 'controller' => 'users')); And this is what is showing up. my account Seems like I'm missing something basic here, just can't figure out what. On Sep 15, 4:49 pm, Miles J wrote: > Try adding 'base' => 'https://' to your URL array. --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: secure link using hmtl->link helper..
Try adding 'base' => 'https://' to your URL array. --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
secure link using hmtl->link helper..
What's the best way to extend the html->link function so that I can tell it to output a secure(https) link? Right now, I've added my own secure_link function that's basically a copy of the link function but adding a https to the beginning. But it seems like there should be a better way of overriding the html- >link method. --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---