[Pro] Carousel 2 be used in an https site?

hello All

I asked a similar question before but no success so far, Can Carousel 2 be used in an https site? So far I can’t get this work when the site is secure. Any suggestions?


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Try adding the HTTPS CDN Helper - ActionsForge Action to the same page.

Walter

On Feb 27, 2018, at 4:23 PM, Tony email@hidden wrote:

hello All

I asked a similar question before but no success so far, Can Carousel 2 be used in an https site? So far I can’t get this work when the site is secure. Any suggestions?

BajanApple | B2B Same Day Colour Printing | Leeds City


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Hi Walter

I’ve downlaoed and added this to freeway by simply double clicking. Have I applied this too Freeway correctly?


freewaytalk mailing list
email@hidden
Update your subscriptions at:

It’s not enough to install it in Freeway, you also have to apply it to the same page as the carousel. Page / Actions HTTPS CDN Helper.

Walter

On Feb 27, 2018, at 4:57 PM, Tony email@hidden wrote:

Hi Walter

I’ve downlaoed and added this to freeway by simply double clicking. Have I applied this too Freeway correctly?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Hi Walter

I’ve double checked and this has been applied to every web page on the site.


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Hold down the Control key and choose Publish Everything in Freeway, then upload to your server. The Action is very rock-simple – all it does is rewrite the URLs to the CDN-hosted files. It runs in the “last” slot of Action interactions – fwAfterEndHTML, and Carousel2 runs in fwBeforeEndHTML. So even if the order of publishing means that one Action is called before the other, it won’t make any difference.

Also, you have two JavaScript errors unrelated to Carousel, on each page I have looked at. Take a look at how your Skype code is being added to the page, because the Skype property is missing when you try to call Skype.ui. That should not cause any issues for other code, but it’s worth fixing.

Walter

On Mar 1, 2018, at 4:15 AM, Tony email@hidden wrote:

Hi Walter

I’ve double checked and this has been applied to every web page on the site.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thank you for your advice Walter.

I’ll do a ‘Publish Everything command’ and take another look at the Skype code which is not displaying corectly at present.


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Done the above but with no result :frowning: Not sure whats casuing the problem here.


freewaytalk mailing list
email@hidden
Update your subscriptions at:

I’ve asked Jeremy for an explanation about the order of operations in Actions. It could be a timing thing, where the previous Action (Carousel2) has not completed its work when the Page Action comes along to rewrite its work. Another thing to try is to check with the Forge what version of Carousel2 you have – whether it’s the latest or not. You will see the version number in the Actions palette while you have one of the Carousel elements selected in your layout. I don’t think this part of the Action ever changed, but that might be an explanation (if both items are running in the fwAfterHTML slot).

Walter

On Mar 1, 2018, at 4:18 PM, Tony email@hidden wrote:

Done the above but with no result :frowning: Not sure whats casuing the problem here.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

HI Walter

Would this be th ecorrect and latest vetion of Carousel Protaculous_carousel_1.3.7_.zip (2013-01-30)

I’m currently using Carousel 2 v 0.1.11

The curent Carousel works fine on my iMac but ceases to function when uploaded to the srver.


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Carousel 2 is a different Action than the original Carousel, and I don’t recommend you try replacing Carousel2 with the original (your whole page would have to be re-built because they work differently).

You have the latest version of Carousel2, and if you use the latest version of the CDN Helper Action, then I can confirm these two work together. However, there is one thing I neglected to tell you the last time. It’s not enough to apply the CDN Helper to the page, you also have to look in the CDN Helper’s Action pane and check the box for “Use HTTPS”. Until you do that, the Action leaves the links alone. (This is so you can preview the page locally and still see things working.)

Walter

On Mar 2, 2018, at 2:49 AM, Tony email@hidden wrote:

HI Walter

Would this be th ecorrect and latest vetion of Carousel Protaculous_carousel_1.3.7_.zip (2013-01-30)

I’m currently using Carousel 2 v 0.1.11

The curent Carousel works fine on my iMac but ceases to function when uploaded to the srver.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Hi Walter

“CDN Helper’s Action pane and check the box for “Use HTTPS”

That’s all been done when I initially installed the action.

/Users/Padmore/Desktop/Page Actions.png Can you see this attached file?

Would any of thses actiosn also afffect this.


freewaytalk mailing list
email@hidden
Update your subscriptions at:

currently using 'HTTPS CDN hleper Vertion 0.3.1


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Yes, that’s the correct one. Are you applying these Actions at the master page or the individual page level?

I just made a test page here in Freeway 7: drew a quick carousel in Carousel2, then applied the CDN Helper to the page. Previewed into BBEdit, saw that the http:// URLs were still there, then checked the box in the CDN Helper interface, and previewed again. All URLs were properly rewritten. I did not do anything at the master page level.

Walter

On Mar 2, 2018, at 10:15 AM, Tony email@hidden wrote:

currently using 'HTTPS CDN hleper Vertion 0.3.1


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

I’ve removed the HTTPS CDN Helper action from the master pages. But made sure it’s on all other pages.
No change though.

I have an action called ‘Retitle Page’ would that have any adverse effect?

Are there any other Actions that may affect this?


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Try building up a new document. Just a single page, add the Carousel to the page (just make it out of colored HTML boxes, nothing fancy). Then apply the CDN Helper to the page. Preview, and read the source code. You should see something like this:

<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled</title>
<meta name="viewport" content="width = 780, minimum-scale = 0.25, maximum-scale = 1.60">
<meta name="generator" content="Freeway Pro 7.1.3">
<style type="text/css">
<!--
body { margin:0px; background-color:#fff; height:100% }
html { height:100% }
form { margin:0px }
body > form { height:100% }
img { margin:0px; border-style:none }
button { margin:0px; border-style:none; padding:0px; background-color:transparent; vertical-align:top }
table { empty-cells:hide }
td { padding:0px }
.f-sp { font-size:1px; visibility:hidden }
.f-lp { margin-bottom:0px }
.f-fp { margin-top:0px }
em { font-style:italic }
h1 { font-weight:bold; font-size:18px }
h1:first-child { margin-top:0px }
h2 { font-weight:bold; font-size:16px }
h2:first-child { margin-top:0px }
h3 { font-weight:bold; font-size:14px }
h3:first-child { margin-top:0px }
strong { font-weight:bold }
#PageDiv { position:relative; min-height:100%; max-width:780px }
#item1 { position:absolute; left:107px; top:98px; width:378px; min-height:203px; z-index:1; background-color:#0f0 }
#item2 { position:absolute; left:339px; top:257px; width:378px; min-height:203px; z-index:2; background-color:#f0f }
-->
</style>
<!--[if lt IE 9]>
<script src="Resources/html5shiv.js"></script>
<![endif]-->
<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7/prototype.js" type="text/javascript" charset="utf-8">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9/scriptaculous.js?load=effects" type="text/javascript" charset="utf-8">
</script>
<script src="https://dnk2vbhoq39rr.cloudfront.net/carousel2/0.1.11/carousel2.js" type="text/javascript" charset="utf-8">
</script>
</head>
<body>
<div id="PageDiv">
	<div id="item1" class="carousel_master" data-auto="2" data-duration="0.4"></div>
	<div id="item2" class="carousel_pane item1"></div>
</div>
</body>
</html>

See the three script tags? All https://, and the Freeway CDN is rewritten to its actual domain name on CloudFront (since you can’t serve https:// from a “faked” domain).

If that works for you, as it does for me, your next step will be to start adding the other Actions to the page to match your currently broken page, one at a time, previewing each time, and see where it breaks.

Actions can and do interact with one another. Action authors try to keep these to a minimum, but owing to the nondeterministic way that Freeway publishing works, this is not always possible. Any Action that turns the entire tag tree into HTML text will make it impossible for other Actions to locate tags in the tree and modify them. (after that step, the tag tree is gone, and all there is left is a stream of HTML text.) If any of the Actions in your page do that (and I can’t say one way or the other, as I don’t have or use Retitle Page), then yes, the CDN Helper will be completely powerless over the page if it runs after that other Action.

CDN Helper runs in the last slot, but it cannot control whether other Actions in that same slot are applied before or after itself. According to Jeremy, the order in which Actions are applied to the page or its items determines in what order they will run while the page is publishing. Actions applied at the Master Page level are run before Actions applied at the individual page level. Actions applied to items on the page run before Actions applied to the page. Two Actions applied to the same element will run in the order they were applied.

Walter

On Mar 2, 2018, at 10:52 AM, Tony email@hidden wrote:

I’ve removed the HTTPS CDN Helper action from the master pages. But made sure it’s on all other pages.
No change though.

I have an action called ‘Retitle Page’ would that have any adverse effect?

Are there any other Actions that may affect this?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

I have not yet resolved this issue. In the mean time I have have has to remove SSL from the site in order to get Carousel 2 working again this also may have contributed to getting the Google map working.


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Interesting. I thought the Google code was already sourced from https URLs, but that would be something else to check. If you post the HTML output from this page (with https back on) to Gist, I can hand-edit it so that it (should) work. If you upload that to your server, and find that both the Carousel and the Google map work, then we can try to back out from that finding how to make the changes permanently in Freeway.

Walter

On Mar 7, 2018, at 12:47 PM, Tony email@hidden wrote:

I have not yet resolved this issue. In the mean time I have have has to remove SSL from the site in order to get Carousel 2 working again this also may have contributed to getting the Google map working.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Sounds like a plan. I’ll have to get back to you on that later on this week. If this can be done that would be good.


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Hey Walter… I am having same issue with Carousel 2 not working on a site…
here is link to main site so if you look at PROJECTS or TV buttons you will see. I have added the CDN Helper on all pages thx for looking
C


freewaytalk mailing list
email@hidden
Update your subscriptions at: