GithubHelp home page GithubHelp logo

nitsan-technologies / ns_gallery Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 7.22 MB

All in One Gallery

Home Page: https://t3planet.com/typo3-gallery-extension

License: GNU General Public License v3.0

PHP 33.03% HTML 27.71% CSS 35.63% JavaScript 3.62%

ns_gallery's Introduction

ns_gallery's People

Contributors

nitsan-technologies avatar mauliknitsan avatar krupaharsora avatar rmilan-nitsan avatar viveknitsan avatar himanshuramavat07 avatar julianhofmann avatar maheshnitsan avatar nilesh-nitsan avatar

Stargazers

Parth Parmar avatar

Watchers

 avatar  avatar

ns_gallery's Issues

TCA `foreign_types` should not be used

Describe the bug
overrideChildTca should be used instead of foreign_types to define the image palettes. (Deprecation: #80000 - InlineOverrideChildTca)

To Reproduce
Steps to reproduce the behavior:

Create an album with an image property
For the property, `showitem`is falling back to default `basicoverlayPalette` instead of the defined `imageoverlayPalette`

Expected behavior
The image palette should be used

TYPO3 Version
v11.4

Use correct extensionName for translate-VH

In ns_gallery/Resources/Private/Templates/NsAlbum/List.html the translate-Viewhelper is called in that way:
<f:translate key="general.photos" extensionName="ns_gallery" />

The 'extensionName'-parameter is described as:

UpperCamelCased extension key (for example BlogExample)

So, the translation is a bit broken. It's working for the delivered language file, but breaks for overriding via TypoScript. In concrete: the following will not work:

plugin.tx_nsgallery_album {
  _LOCAL_LANG {
    de {
      general\.photos = Bild(er)
    }
  }
}

Solution

  1. Remove the (optional) attribute. TYPO3 will have a good fallback chain, so everything works as expected. Or...
  2. Set a correct extensionName instead of the extensionKey: <f:translate key="general.photos" extensionName="NsGallery" />

getContentId not set in Google.html template

Hey,

if I use the Google gallery, which uses the ns_gallery/Resources/Private/Templates/NsAlbum/Google.html template, the content id seems not to be set.

Line 8 reads: <div class="GITheWall ajax-{getContentId}" id="ajax-{getContentId}">,
but the HTML source code says: <div class="GITheWall ajax-" id="ajax-"> - the value of getContentId is missing.

In the googleAction of the NsAlbumController, the makeGalleryInitilization() function (which sets the getContentId in the view) is not called. Is that intentional?

Thanks in advance.

More than one Google Gallery on one page

Hey,

is it possible to use the Google Gallery more than once on one page?
It seems that there are errors if I click on one image to open the preview.

The preview window position does not match with the image I clicked on or the height of the preview window is not set correctly and the image is not shown.

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.