SSL on all pages

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
3/13/2012 1:22:17 PM
Len
Gravatar
Total Posts 36
"It isn’t enough to think outside the box.Thinking is passive. Get used to acting outside the box."

Re: SSL on all pages

Thanks Joe

3/13/2012 1:53:44 PM
Len
Gravatar
Total Posts 36
"It isn’t enough to think outside the box.Thinking is passive. Get used to acting outside the box."

Re: SSL on all pages

Hi Joe,

src="//" not working for facebook or twitter so have to remove all from the pages

Thanks

 

Len

3/13/2012 1:59:24 PM
Gravatar
Total Posts 18439

Re: SSL on all pages

If // doesn't work just make them https:// I just tested both your twitter badge and facebook image with https and it worked.

Its ok to have src="https on any page even unsecured pages so I would do that.

Hope that helps,

Joe

3/13/2012 2:44:33 PM
Len
Gravatar
Total Posts 36
"It isn’t enough to think outside the box.Thinking is passive. Get used to acting outside the box."

Re: SSL on all pages

Thanks Joe getting there slowly. A few beer will be come your way soon.

For Google plus were do I place the code that needs to go into in head of the document tried doing it into the master config but it just does not like it

<!-- Place this tag in the <head> of your document -->
<link href="https://plus.google.com/****************" rel="publisher" /><script type="text/javascript">
window.___gcfg = {lang: 'en'};
(function()
{var po = document.createElement("script");
po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(po, s);
})();</script>

<!-- Place this tag where you want the badge to render -->
<div class="g-plus" data-href="https://plus.google.com/*******************" data-width="200" data-height="131" data-theme="light"></div>

3/13/2012 2:49:49 PM
Gravatar
Total Posts 18439

Re: SSL on all pages

You don't need to do all that, we have a very simple built in control that you can out in layout.master wherever you want the plus button:

<portal:PlusOneButton id="plusone1" runat="server" showCount="false"/>

it will setup the script for you and it properly handles ssl

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.