Important Updates to Prototype/Scriptaculous Actions

I just pushed a set of updates to my Prototype/Scriptaculous Actions.
If you use any of these, and you want to upgrade, it’s important that
you upgrade all of them, because otherwise you may end up with one
Action being incompatible with another in the same family.

The most important change is internal, with a change in the location
of support files within the Action itself, and this makes it possible
for you to mix and match these Actions with the various Softpress FX
Actions that depend on the same set of libraries. Previously, my
Actions would only have worked if they were the last Action to run on
the page, which is not guaranteed by the Action system, and could lead
to very difficult-to-diagnose conflicts with other Actions.

One other change is that these Actions will try to use the Google
Content Delivery Network (CDN) whenever possible, giving your visitors
dramatically faster load times for these common JavaScript libraries.
Since your site will be using the same load path as countless other
sites on the net, the chances that your visitors will already have
these libraries cached locally is quite good, and will save them a
download.

What this means to you is that if you are currently using one of these
Actions on one of your sites, you will need to close all sites, locate
your Actions folder (which will either be in your User folder: /Users/
yourname/Library/Application Support/Freeway 5/Actions/General or in
the master Library folder: /Library/Application Support/Freeway 5/
Actions/General if you chose to install the Action for all users of
your computer), remove the previous versions, and install the new
versions.

Here are links to all of the updated Actions:

Enjoy!

Walter


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

Thank you Walter,

One quick question - close all the sites?? I am confused - do you mean just close the files?

thank you

Julie
On Apr 18, 2010, at 2:19 PM, Walter Lee Davis wrote:

I just pushed a set of updates to my Prototype/Scriptaculous Actions. If you use any of these, and you want to upgrade, it’s important that you upgrade all of them, because otherwise you may end up with one Action being incompatible with another in the same family.

The most important change is internal, with a change in the location of support files within the Action itself, and this makes it possible for you to mix and match these Actions with the various Softpress FX Actions that depend on the same set of libraries. Previously, my Actions would only have worked if they were the last Action to run on the page, which is not guaranteed by the Action system, and could lead to very difficult-to-diagnose conflicts with other Actions.

One other change is that these Actions will try to use the Google Content Delivery Network (CDN) whenever possible, giving your visitors dramatically faster load times for these common JavaScript libraries. Since your site will be using the same load path as countless other sites on the net, the chances that your visitors will already have these libraries cached locally is quite good, and will save them a download.

What this means to you is that if you are currently using one of these Actions on one of your sites, you will need to close all sites, locate your Actions folder (which will either be in your User folder: /Users/yourname/Library/Application Support/Freeway 5/Actions/General or in the master Library folder: /Library/Application Support/Freeway 5/Actions/General if you chose to install the Action for all users of your computer), remove the previous versions, and install the new versions.

Here are links to all of the updated Actions:

Enjoy!

Walter


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

Yes, sorry I wasn’t clear.

Walter

On Apr 18, 2010, at 9:15 PM, Julie Maxwell Allen wrote:

Thank you Walter,

One quick question - close all the sites?? I am confused - do you
mean just close the files?


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

Walter - is there any information about how to get other Actions to fit in with your Scripty regime? It makes sense for any other Actions that use the libraries to plug into it.


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

Sure. I will post a Wiki page later today.

Walter

On Apr 19, 2010, at 4:27 AM, Paul wrote:

Walter - is there any information about how to get other Actions to
fit in with your Scripty regime? It makes sense for any other
Actions that use the libraries to plug into it.


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

Here you go: http://www.actionsforge.com/wikis/view/190-prototype-scriptaculous-in-actions

Walter

On Apr 19, 2010, at 7:57 AM, Walter Lee Davis wrote:

Sure. I will post a Wiki page later today.

Walter

On Apr 19, 2010, at 4:27 AM, Paul wrote:

Walter - is there any information about how to get other Actions to
fit in with your Scripty regime? It makes sense for any other
Actions that use the libraries to plug into it.


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

Can these be updated on active sites without causing any problems? Is there anything we need to do or just simply update the Actions?

Thanks.

Bob


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

I’ve had some reports of difficulty updating working sites. Best to
try it out on a stunt double first.

The issue internally is that some paths have changed. Previously, I
stored the library files on the same folder level as the Action
itself. So previous versions would try to build a path to the fwaction
file itself, then work from there to look for the support files. This
was causing a problem with the various Softpress FX Actions, which
store their files in a folder called Support FIles~ in the same
directory as the fwaction file. I’ve updated to match their method.

If you have trouble, then things to try (in escalating order of
difficulty versus actually helping):

  1. Nudge the main element of each Carousel one pixel in some
    direction, then back. This “dirties” them, in the Freeway parlance,
    and guarantees that they will be entirely re-published. Then publish
    again and see if the problem continues.
  2. Hold down the Control key and choose Publish everything… from the
    File menu (hidden method there).
  3. Locate your local site folder (the directory where Freeway puts
    your site on your Mac when you publish). Open it in Finder and delete
    all contents. Also locate any folders that are named in the form:
    yourSiteFileName.freeway_ and delete those. These folders, if they
    exist, will be round right next to your Freeway document in the
    Finder. (Not likely, but you never know.) Publish again and see if the
    problem continues.
  4. Worst-case, go through the page or document. Locate each element
    you have applied one of the Actions to, select it, and remove the
    Action from it using the Actions palette (hit the ( x ) in the
    Action’s tab). When you have removed all instances, Publish the site,
    save, and then re-apply the Actions to the elements to re-build the
    effect.

Walter

On Apr 19, 2010, at 10:55 AM, Robert B wrote:

Can these be updated on active sites without causing any problems?
Is there anything we need to do or just simply update the Actions?

Thanks.

Bob


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

Thanks - very helpful.

On 19 Apr 2010, 12:39 pm, waltd wrote:

Here you go: http://www.actionsforge.com/wikis/view/190-prototype-scriptaculous-in-actions

Walter

On Apr 19, 2010, at 7:57 AM, Walter Lee Davis wrote:

Sure. I will post a Wiki page later today.

Walter

On Apr 19, 2010, at 4:27 AM, Paul wrote:

Walter - is there any information about how to get other Actions to
fit in with your Scripty regime? It makes sense for any other
Actions that use the libraries to plug into it.


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