[Pro] Pic to Lightbox Image action no longer works in FreewayPro5.5

Hi there

I had a couple of updates to make to a site and decided to make the change to FreewayPro 5.5 at the same time.

Unfortunately it appears that the Pic to Lightbox Image action v0.96 no longer works. See AudioSpace | 404 Not Found

I have used this action in many of my sites and in one of them there’s literally thousands of images that use this and so replacing it would be a nightmare.

Hopefully someone will be able to help me out with a way of getting this action to work again.

Thanks

Gordon

http://www.gordonlow.net/


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

The error I am getting is

ReferenceError: Can’t find variable: Builder
Error: Result of expression ‘$(‘overlay’)’ [null] is not an object.

Not sure exactly what that means…

David


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

You are requesting part of the Builder module from Scriptaculous, but
you’re not including it in your page. You have only included the
Effects module. Try changing this line of your page using a text
editor (I realize you have lots of pages to change, this is only a test)

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

Make it read like this:

<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js?load=builder,effects 
" type="text/javascript">

What version of Freeway did you use to create this page?

Walter

On Aug 27, 2010, at 9:21 AM, DeltaDave wrote:

The error I am getting is

ReferenceError: Can’t find variable: Builder
Error: Result of expression ‘$(‘overlay’)’ [null] is not an object.

Not sure exactly what that means…

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

Just to clarify - I am seeing this error using developer tools when looking at Gordon’s page at AudioSpace | 404 Not Found

Gordon is the one with the problem with the Pic to Lightbox Image action v0.96

David


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

Hi Walter

Thanks, that seems to have sorted it on the page I mentioned at AudioSpace | 404 Not Found

This also brought to mind something that was mentioned with regard to FreewayPro5.5 - that it now only loads the modules it thinks it needs rather than all of them. Could this be the problem?

The Pic to Lightbox Image action doesn’t load any libraries itself and so to get it to work I needed to add a 1px x 1px graphic and apply a transition effect to it so the libraries would load for lightbox. If I didn’t do this I’d get a message from the action “Prototype and/or Scriptaculous libraries NOT found. These libraries are required to make the Lightbox Actions perform properly. These libraries may be added via any of the Scriptaculous Actions (ie Transition FX) applied to any item or via some third-party Actions. I leave this responsibility to the FW user so as to not interfere by adding yet another JS framework to the page.”

I’m guessing I now need to identify a combination of actions that will make sure I have the correct libraries loaded to make sure Lightbox keeps working.

This site was rebuilt in Freeway 5 Pro at the start of 2010.

All the best

Gordon
http://www.gordonlow.net/

On 27 Aug 2010, at 4:36pm, Walter Lee Davis wrote:

You are requesting part of the Builder module from Scriptaculous, but you’re not including it in your page. You have only included the Effects module. Try changing this line of your page using a text editor (I realize you have lots of pages to change, this is only a test)

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

Make it read like this:

<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js?load=builder,effects" type="text/javascript">

What version of Freeway did you use to create this page?

Walter


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

Try using the Protaculous Action to add these libraries. Just apply it
to the page, then choose scriptaculous-packed from the Library picker.
That will sort your pages, because it loads all of the libraries en
masse. But it loads them from the Google Content Delivery Network, so
they are globally cached, and there’s very little drag for your
visitors. Remove the other element (your tiny pixel) from all of your
pages if you do this.

Walter

On Aug 27, 2010, at 12:07 PM, Gordon Low wrote:

The Pic to Lightbox Image action doesn’t load any libraries itself
and so to get it to work I needed to add a 1px x 1px graphic and
apply a transition effect to it so the libraries would load for
lightbox.


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

Hi Walter

Fantastic, that seems to have solved the problem and, as I use master pages where possible, it shouldn’t be too hard to fix the other sites when I update them.

Where I have used the SuiteFX Accordion action Lightbox seems to work okay because I guess it must load all of the libraries for Lightbox in this case.

Thanks again

Gordon


On 27 Aug 2010, at 5:25pm, Walter Lee Davis wrote:

Try using the Protaculous Action to add these libraries. Just apply it to the page, then choose scriptaculous-packed from the Library picker. That will sort your pages, because it loads all of the libraries en masse. But it loads them from the Google Content Delivery Network, so they are globally cached, and there’s very little drag for your visitors. Remove the other element (your tiny pixel) from all of your pages if you do this.

Walter


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