• Resolved BingoBingo

    (@bingobingo)


    I want to change the template image viewer in my own theme.

    The documentation includes this message:
    “You can also build in support for FooGallery directly into your theme. Our smart templating engine looks for template files (.php, .js & .css) within your theme first, and then within FooGallery extensions.
    This means you can bundle gallery templates into your theme code and have full control.”

    I copied the template in my theme. It doesn’t works.

    Can anyone help me?

    https://wordpress.org/plugins/foogallery/

Viewing 7 replies - 1 through 7 (of 7 total)
  • designerwood

    (@designerwood)

    You don’t do it the typical way as you’d expect. They made it ‘easy’ once you figure it out, but documentation is fairly hidden on their website. You goto the “Build Your Own” tab on the Extensions page of the FooGallery admin in WordPress. Then it generates a plugin/zip file for you that you then copy to your plugins folder.

    The info is here, which is linked on their site, but hard to find: http://docs.fooplugins.com/foogallery/foogallery-developers-101/

    Thread Starter BingoBingo

    (@bingobingo)

    Many thanks for the answer!

    I know the plugin generator. But it creates a new template. I want to customize an existing template. Is that possible?

    Thread Starter BingoBingo

    (@bingobingo)

    Anyone?

    Plugin Author bradvin

    (@bradvin)

    This is possible.

    If you are using the default gallery template and want to override that, then copy the file “gallery-default.php” from the plugin location : foogallery\extensions\default-templates\default

    create a “foogallery” folder in your active theme folder.
    and copy gallery-default.php into this new foogallery folder.

    Edit this template to your liking.

    FooGallery will then use that template file over the built in plugin template file

    Thread Starter BingoBingo

    (@bingobingo)

    Hello bradvin

    It works!

    Thank you very much

    davidandreaswatkins

    (@davidandreaswatkins)

    I’ve been using the “Single Thumbnail Gallery” as a template for all my galleries for months now. This has been working fine, but recently if the user wants to see the thumbnail in full size the image opens up on another tab instead of in browser, I’m creating exactly the same gallery with all the same settings. Can someone tell me whats going on?

    davidandreaswatkins

    (@davidandreaswatkins)

    Don’t worry about it i’m going to use a different plugin nothing works properly in Foogallery anymore

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘edit template’ is closed to new replies.