Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rattus

    (@pasyuk)

    Create GRAND Page on “mother” site -> copy link to this page -> insert it with iframe on any other site:
    <iframe src="URL_TO_GRAND_PAGE" name="flagallery" frameborder="0" height="550" width="100%" style="margin:0; padding:0;overflow:hidden;">Loading...</iframe>
    Change URL_TO_GRAND_PAGE to your url of created GRAND Page.
    Change height and width of iframe to fit your site.

    Thread Starter signcarver

    (@signcarver)

    Thank you for the quick response Rattus.

    Your above solution doesn’t work because the real issue is one of nested shortcodes.

    The “main file” in the mother site uses the slice plugin to include “common code”:
    [slice src='http://www.ezdockdealer.com/ez-includes/ez-content/common-code.html']

    The “common code” is:

    some html code
       [flagallery...]
    more html code

    The mother and all slave sites call the “main file” the same way the mother site does:
    [slice src='http://www.ezdockdealer.com/ez-includes/ez-content/common-code.html']

    However the [flagallery…] shortcode never gets expanded when the “common code” is called by a slave site. It does get expanded when called the the mother site.

    So my thinking was if i could put the absolute path to the gallery pointing to the mother site gallery it might work, but it doesn’t.

    Obviously the nested shortcode issue is not a flagallery issue, however I think that allowing absolute path to the gallery in the slave sites might solve the problem???

    I installed the Outerbridge Nested Shortcodes plugin to no avail.

    If you have any other suggestions I would appreciate them.

    Thank you for your patience.

    Thread Starter signcarver

    (@signcarver)

    OK – now i am pretty sure it is NOT a nested shortcode problem.

    When WordPress processes and expands the file on the slave site it cannot find the [flagallery…] code because the gallery is on the mother server, not the slave server.

    I have 73 galleries in the mother site (http://www.ezdockdealer.com ) and if even i redefine all of the galleries on the slave sites the gallery ids won’t match. So my “common code” won’t work.

    Plus it defeats the purpose of reusing the galleries.

    Thanks for listening – any suggestions would be appreciated.

    Plugin Author Rattus

    (@pasyuk)

    Try to change “common code” to:

    some html code
       <iframe src="URL_TO_GRAND_PAGE" name="flagallery" frameborder="0" height="550" width="100%" style="margin:0; padding:0;overflow:hidden;">Loading...</iframe>
    more html code

    Change URL_TO_GRAND_PAGE to your url of created GRAND Page.
    Change height and width of iframe to fit your site.

    Thread Starter signcarver

    (@signcarver)

    Thank you Rattus – once i made a GRAND gallery and referred to the URL per your suggestion above, the gallery works perfectly in both the master and slave sites.

    Thank you!!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘FlAGallery > Options > Gallery path not honored’ is closed to new replies.