How about you just extend the html helper and add your own link function-
something like:
function sslLink($title, $url = null, $options = array(),
$confirmMessage = false){
if(!$url){
$url = $title;
}
//manually set ssl domain, in case it's
Nice!
Thanks. Will give that a shot.
K
--
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
Have you tried the Security component's requireSecure()? It will let
you determine that based on actions. May eliminate the need to extend
or customize the HTML helper.
On Mar 11, 10:26 am, Krissy Masters naked.cake.ba...@gmail.com
wrote:
Nice!
Thanks. Will give that a shot.
K
--
Our
-php@googlegroups.com] On Behalf
Of rgreenphotodesign
Sent: Friday, March 11, 2011 7:04 PM
To: CakePHP
Subject: Re: SSL questions
Have you tried the Security component's requireSecure()? It will let
you determine that based on actions. May eliminate the need to extend
or customize the HTML helper
You will want to use the security component to make sure that pages are only
accessed via ssl... The sslLink function will generate https links but it
won't prevent people from going to the non secure version of the page.
Additionally, if it is only a few actions that you require to be secure,