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:
https://freewaytalk.softpress.com/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options