[Pro] Carousel action and Google API calls

@waltd: I have a question regarding your Carousel action set (latest version installed)…

I’m currently about to write a tutorial website that will get used later on a training CD. So the computers this CD is working on may or may not have Internet access.

However I noticed that the Carousel action is always calling a Google server to get the JavaScript frameworks it bases on:

<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" type="text/javascript">
</script>
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?load=effects" type="text/javascript">

In previous releases of Carousel, when turning off Internet access and let Freeway generate the website, the frameworks got implemented locally. But this seems no longer work (I deactivated AirPort but still get the above external calls).

Is there a workaround for this ? Do you have any tips for me solving this issue ?

Thanks for your help :slight_smile:
Tobias.


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

Huh. That sounds like a bug. I haven’t tested that angle myself at all since Joe Billings rewrote the code to test the network for me. I know that the files for the two libraries do get uploaded to the server, if you look in the Resources folder you will find them there. But as to the links not being made properly, I’m not sure what that could mean.

Walter

On May 5, 2012, at 3:44 PM, tobiaseichner wrote:

@waltd: I have a question regarding your Carousel action set (latest version installed)…

I’m currently about to write a tutorial website that will get used later on a training CD. So the computers this CD is working on may or may not have Internet access.

However I noticed that the Carousel action is always calling a Google server to get the JavaScript frameworks it bases on:

<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" type="text/javascript">
> </script>
> <script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?load=effects" type="text/javascript">

In previous releases of Carousel, when turning off Internet access and let Freeway generate the website, the frameworks got implemented locally. But this seems no longer work (I deactivated AirPort but still get the above external calls).

Is there a workaround for this ? Do you have any tips for me solving this issue ?

Thanks for your help :slight_smile:
Tobias.


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


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

Yes, the JavaScript files are in the resource folder.

Would it work to manually add another two tags to the source where the frameworks are called locally ?

However I’m not sure what happens if the frameworks are loaded twice (from Google and locally). My understanding says that the second one replaces the first without causing trouble, but I haven’t tried that and don’t know how different browser engines will handle this.

Or have you scheduled it for getting fixed in the near future ? Then I would save myself from this workaround.

Tobias.


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

Download the latest version of Protaculous, which includes the fix. You may still see the problem depending on the order of and list of Actions added to your page, as I’m pretty sure the bug is also in the Softpress Actions, I’ve alerted the authorities. Whichever Action runs last in the publish cycle is responsible for writing these script tags.

Walter

On May 6, 2012, at 5:58 AM, tobiaseichner wrote:

Yes, the JavaScript files are in the resource folder.

Would it work to manually add another two tags to the source where the frameworks are called locally ?

However I’m not sure what happens if the frameworks are loaded twice (from Google and locally). My understanding says that the second one replaces the first without causing trouble, but I haven’t tried that and don’t know how different browser engines will handle this.

Or have you scheduled it for getting fixed in the near future ? Then I would save myself from this workaround.

Tobias.


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


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

Thank you, Walter. I give it a try :slight_smile:

Tobias.


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