Okay
  Public Ticket #1082985
Grid and Nested gallery on same page
Closed

Comments

  •  2
    Prashant started the conversation

    Hi there,

    I am using Unite gallery in my project.
    URL: http://projects.olive.co.in/unitegallery-master/package/tilesgrid.html

    On this page, i want to display the Tiles Grid and Tiles Nested gallery both. 

    But after implement the code, the both gallery are being displayed in same manner/style. In actual both should be displayed in different manner.

    You can check the source code in the browser.

    I am not getting properly that how can i fix this issue. Please suggest me ASAP.

  •  82
    Max replied

    Hi, where you tell the gallery that the theme should be "nested" ? 

    you should use: 

    jQuery("gallery").unitegallery({

    gallery_theme:"nested"

    });


  •  2
    Prashant replied

    Hi,

    When you view source (in the browser) then you can see that on the bottom of the page (just above the </body> tag OR near by line 108), i have already mentioned the code for nested gallery. Also i have included the related JS library "themes/tiles/ug-theme-tiles.js"


    Thanks
    Prashant Kumar.

  •   Max replied privately
  •  2
    Prashant replied

    Thanks Max,

    Your suggestion is good and work for me. Thanks a lot.

    Thanks
    Prashant Kumar.

  •   Max replied privately
  •  2
    Prashant replied

    Hi Max,

    I am facing another issue regarding the nested gallery. I have prepared a code for displaying the nested gallery on a page. When i run this in browser then it works fine.

    But in my project, i have a situation that, i need to display the nested gallery, when user clicks on a  "Show Gallery" button instead of the page load.

    Also when user clicks on the "Show Gallery" button, then a JavaScript code is executed and this code generate the nested gallery code as a string.
    Means all the required  javascript libraries, css, HTML is generated as a javascript string. Now this javascript string is pasted/rendered into a <DIV> container.

    But the nested gallery is not displayed and Mozilla firebug displays me an error.
    Error is:
    Problematic gallery item found:
    Please look for some third party js script that could add this item to the gallery
    Error: The item should not be image type
    TypeError: article.keepAlive is not a function

    I am not getting that what should be the solution.

    NOTE: But if i display the Tiled gallery with same approach then it works.

    Please suggest me for the same ASAP.

    Thanks in advance.
    Prashant Kumar.

  •  2
    Prashant replied

    Hi Max,

    Please suggest me about my query ASAP.

    Thanks
    Prashant Kumar.

  •   Max replied privately