[Pro] ScriptyFader layers

Hi. Does anyone know why pages with ScriptyFader actions re-publish every time you change anything in the site, or even just upload right after publishing? Do I have something set wrong?

Thanks, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is it just that page, or more than one page within your site? Does this happen when you alter the page that contains the fader, or one of the other pages in your site? Are you using External Stylesheets?

There is nothing within the Action (that I’m aware of) which would cause the page to be “dirtied” on every publish. My questions above are trying to narrow down the case you’re seeing, as it’s nothing I have seen before.

Walter

On Sep 28, 2011, at 1:22 PM, David wrote:

Hi. Does anyone know why pages with ScriptyFader actions re-publish every time you change anything in the site, or even just upload right after publishing? Do I have something set wrong?

Thanks, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter,

Hi. I have six to eight pages that use that action, and all of them get published any time I make any change anywhere in the site, or even when uploading right after publishing. I’m not using external style sheets. You can see the way the action is employed here:

http://www.christiancaine.com/2011/shopping/frametrav.php?page=travel08

and here (alternate views, below):

http://www.christiancaine.com/2011/shopping/shoppingpage4.php?page=items/i7307

Thanks, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here’s one theory about what might be happening – I would have to ask someone from Softpress to weigh in to confirm my assumption. Joe, if you notice this one, could you please comment on the following?

When ScriptyFader runs, it extracts all of the designated option elements from your page, and saves them as external “partial” files that it can load through an Ajax call. In order to do that, it makes use of a temporary folder that Freeway makes next to (and named similarly to) your Freeway document. This folder gets updated (touched, in the Unix parlance) every time any of the pages containing the ScriptyFader Action are published with changes. Now what I am surmising here is that Freeway notices that the temp folder was updated, and that triggers each of the files inside that folder to be marked as updated, and by extension, their parent pages to be marked as dirty.

As I said, it’s just a theory. One which seems to make sense, and since my own testing has only consisted of a single SF element in any given site, and since I have not seen the effect you mention, is highly suggestive of being true.

Walter

On Sep 28, 2011, at 2:39 PM, David wrote:

Walter,

Hi. I have six to eight pages that use that action, and all of them get published any time I make any change anywhere in the site, or even when uploading right after publishing. I’m not using external style sheets. You can see the way the action is employed here:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter,
I don’t know if this fits with the theory or not. I’ve just been uploading the site with Freeway instead of Fetch, and since it keeps timing out, I have to keep restarting the upload process. Each time I hit command-U, it re-published the fader pages, and then re-uploads all those pages and their content. So this is without changing anything.
David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Has it made it all the way through yet? Freeway does this cleanup step at the end of any upload where it saves a digest of the current state of the server to the _siteinfo file in your Mac’s Site Folder. If that process finishes cleanly, then the next time there is an upload request, only the newer files are uploaded. If that process gets interrupted, then I am imagining that it errs on the side of caution, rather than letting you have out-of-date resources on your server.

Walter

On Sep 28, 2011, at 3:20 PM, David wrote:

Walter,
I don’t know if this fits with the theory or not. I’ve just been uploading the site with Freeway instead of Fetch, and since it keeps timing out, I have to keep restarting the upload process. Each time I hit command-U, it re-published the fader pages, and then re-uploads all those pages and their content. So this is without changing anything.
David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I’ve noticed this happening in other Actions, too. For some reason, creating a file (in this case the partial) causes Freeway to think that the page is dirty and needs republishing. To get round the problem you need to clear the parameter containing the file after you’ve got its path. So in your particular case, you need to place this line before the return in your makePartial function:

fwParameters[‘partial’].fwClear();

Joe

On 28 Sep 2011, at 21:33, Walter Lee Davis wrote:

Has it made it all the way through yet? Freeway does this cleanup step at the end of any upload where it saves a digest of the current state of the server to the _siteinfo file in your Mac’s Site Folder. If that process finishes cleanly, then the next time there is an upload request, only the newer files are uploaded. If that process gets interrupted, then I am imagining that it errs on the side of caution, rather than letting you have out-of-date resources on your server.

Walter

On Sep 28, 2011, at 3:20 PM, David wrote:

Walter,
I don’t know if this fits with the theory or not. I’ve just been uploading the site with Freeway instead of Fetch, and since it keeps timing out, I have to keep restarting the upload process. Each time I hit command-U, it re-published the fader pages, and then re-uploads all those pages and their content. So this is without changing anything.
David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Copy, Paste, Paste, Paste…

Thanks very much.

Walter

On Sep 29, 2011, at 6:49 AM, Joe Billings wrote:

fwParameters[‘partial’].fwClear();


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Okay, update time, everyone! Download 0.3.3 from the Forge, and see if that fixes the re-publish problem. Thanks again, Joe!

Walter

On Sep 29, 2011, at 9:45 AM, Walter Lee Davis wrote:

Copy, Paste, Paste, Paste…

Thanks very much.

Walter

On Sep 29, 2011, at 6:49 AM, Joe Billings wrote:

fwParameters[‘partial’].fwClear();


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

After about four hours I got the while thing to upload. It still re-publishes those pages each time, but at least with all the graphic files in place on the server, it doesn’t add a lot of extra time to put up those few extra HTML pages. I was mostly wondering if that is the way it works, or if I had set something up incorrectly or used the action wrong.

Thanks again, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Download the newest version of ScriptyFader from the Forge, and see if that fixes the problem for you. You may have to go through the little two-step to upgrade this document: remove all instances of the Action from all elements on your pages, then publish once, then add the Actions back to those elements. This is because Freeway tends to cache the Actions, and even if you install a newer version, it can cling desperately to the old version within a document.

Walter

On Sep 29, 2011, at 3:53 PM, David wrote:

After about four hours I got the while thing to upload. It still re-publishes those pages each time, but at least with all the graphic files in place on the server, it doesn’t add a lot of extra time to put up those few extra HTML pages. I was mostly wondering if that is the way it works, or if I had set something up incorrectly or used the action wrong.

Thanks again, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

If it still doesn’t work, I noticed you’re creating another file in the fwAfterEndBody (or similar) callback. You may need to clear the parameter containing that file after you access it.

Joe

On 29 Sep 2011, at 21:03, Walter Lee Davis wrote:

Download the newest version of ScriptyFader from the Forge, and see if that fixes the problem for you. You may have to go through the little two-step to upgrade this document: remove all instances of the Action from all elements on your pages, then publish once, then add the Actions back to those elements. This is because Freeway tends to cache the Actions, and even if you install a newer version, it can cling desperately to the old version within a document.

Walter

On Sep 29, 2011, at 3:53 PM, David wrote:

After about four hours I got the while thing to upload. It still re-publishes those pages each time, but at least with all the graphic files in place on the server, it doesn’t add a lot of extra time to put up those few extra HTML pages. I was mostly wondering if that is the way it works, or if I had set something up incorrectly or used the action wrong.

Thanks again, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I caught both places, and added it there when I changed it this morning.

Walter

On Sep 29, 2011, at 5:33 PM, Joe Billings wrote:

Hi Walter,

If it still doesn’t work, I noticed you’re creating another file in the fwAfterEndBody (or similar) callback. You may need to clear the parameter containing that file after you access it.

Joe

On 29 Sep 2011, at 21:03, Walter Lee Davis wrote:

Download the newest version of ScriptyFader from the Forge, and see if that fixes the problem for you. You may have to go through the little two-step to upgrade this document: remove all instances of the Action from all elements on your pages, then publish once, then add the Actions back to those elements. This is because Freeway tends to cache the Actions, and even if you install a newer version, it can cling desperately to the old version within a document.

Walter

On Sep 29, 2011, at 3:53 PM, David wrote:

After about four hours I got the while thing to upload. It still re-publishes those pages each time, but at least with all the graphic files in place on the server, it doesn’t add a lot of extra time to put up those few extra HTML pages. I was mostly wondering if that is the way it works, or if I had set something up incorrectly or used the action wrong.

Thanks again, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

may I double this upload-orgy for Scripty Lightbox (and Carousel probably) as well? I noticed that since decades but haven’t had any explanations for it.

I use this on several pages and it’s all the same - some slight changes somewhere, and always the lightbox containg page without any changes forced to upload for none reason.

Especially annoying on pages with more than 200 images on :slight_smile:

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I am also still seeing repeated uploads even with the latest version of SF

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Make sure that you are testing on a completely new document, and no other documents open. Or, go through this document, remove all instances of the Actions, publish once, and then add the Actions back into the page.

Walter

On Oct 6, 2011, at 2:26 PM, DeltaDave wrote:

I am also still seeing repeated uploads even with the latest version of SF

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

go through this document, remove all instances of the Actions, publish once, and then add the Actions back into the page.

Yes I did - but it is quite a large doc. Is it just SF I have to remove to ensure I am getting it fresh?

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

ScriptyFader and ScriptFader Option. Those are the two that create “partials” as Joe was explaining. If the new Action doesn’t fix it, then Joe’s suggestion is not the answer I was looking for. You might want to send a cut-down document to Softpress that displays the problem – they may be able to dissect it and see if there’s another reason why this is happening.

Walter

On Oct 6, 2011, at 2:31 PM, DeltaDave wrote:

go through this document, remove all instances of the Actions, publish once, and then add the Actions back into the page.

Yes I did - but it is quite a large doc. Is it just SF I have to remove to ensure I am getting it fresh?

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I will revisit and try again and if still no go then I will pass the page on to SP towers.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options