0
Welcome Guest! Login
0 items Join Now

SOLVED Bug in the image grid particle with the joomla cache

    • Riccardo's Avatar
    • Riccardo
    • Elite Rocketeer
    • Posts: 1082
    • Thanks: 29

    SOLVED Bug in the image grid particle with the joomla cache

    Posted 6 years 8 months ago
    • I've been checking for a few days a bug between the image grid particle (in a Citadel template) and the use of the joomla cache (conservative caching). When the page is created the first time (without a exists cache), the particle works correctly. Instead, when the cache has been created, in subsequent accesses (with a new browser access), the layout in this particle, after the selection of a thumb image, views the full-page enlarged image without commands!
    • Last Edit: 6 years 8 months ago by Riccardo.
    • Riccardo Rausch
      www.rausch.it
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Bug in the image grid particle with the joomla cache

    Posted 6 years 8 months ago
    • As that imagegrid particle is in a module wrapper - did you try turning off caching in the module itself on the "Advanced" tab?

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Riccardo's Avatar
    • Riccardo
    • Elite Rocketeer
    • Posts: 1082
    • Thanks: 29

    Re: SOLVED Bug in the image grid particle with the joomla cache

    Posted 6 years 8 months ago
    • The module cache setting is already OFF.
    • Riccardo Rausch
      www.rausch.it
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Bug in the image grid particle with the joomla cache

    Posted 6 years 8 months ago
    • It's because of the highly inefficient way that you are loading that content.

      You're using a Gantry 5 imagegrid particle - but you've embedded that into a Gantry 5 particle module. Then, you've embedded that module in an article (via "{loadmodule xxx}"), which is in turn rendered in a Gantry 5 "page content" particle.

      The problem with this is that the particle is incapable of loading the required JS when cache is enabled.

      This is really not the way that you should be doing this. That module should be assigned to a module position on the layout of your outline (not embedded in an article).

      Nevertheless, I could see that it was lightcase that was not being loaded so for now I just loaded lightcase by adding the "lightcase" atom to the "page settings" of the layout of the outline that you were using "inhalte toskana" and now it works.

      Regards, Mark.
    • The following users have thanked you: Riccardo

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Riccardo's Avatar
    • Riccardo
    • Elite Rocketeer
    • Posts: 1082
    • Thanks: 29

    Re: SOLVED Bug in the image grid particle with the joomla cache

    Posted 6 years 8 months ago
    • It's because of the highly inefficient way that you are loading that content.
      Yes, it's true; it's an immediate and simple solution. Because I didn't think it could generate such a problem.
      This is really not the way that you should be doing this. That module should be assigned to a module position on the layout of your outline (not embedded in an article).
      It was a choice of fast insertion (from this image grid) and for graphics reasons; to allow the gallery to always be in any resolution immediately below the article. Otherwise, as I have done in other parts in this same wesite, insertion is more laborious. Furthermore, subdividing the modules into different positions often creates white spaces in the different resolutions.

      Following the more correct approach as you indicated, I created a new special menu (advertisers), in order to create the association with the image grid module. The position (in the layout) below the main content is already provided (Main-bottom) where I have now placed this form.

      As always, you're right. Now, even without the atom, the gallery does not lose the settings and the lightcase is also executed with the joomla cache.
    • Riccardo Rausch
      www.rausch.it

Time to create page: 0.059 seconds