Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 03 16:28
    wetken opened #3115
  • Feb 02 22:14
    jaceksu starred gantry/gantry5
  • Feb 01 22:41
    mblithium starred gantry/gantry5
  • Jan 31 10:26
    marktaylor46 commented #212
  • Jan 31 10:17
    N8Solutions commented #212
  • Jan 30 23:08
    csbalazs commented #3088
  • Jan 30 23:07
    csbalazs commented #3088
  • Jan 30 23:07
    csbalazs commented #3088
  • Jan 30 22:42
    csbalazs edited #3088
  • Jan 30 22:42
    csbalazs edited #3088
  • Jan 30 22:41
    csbalazs edited #3088
  • Jan 30 22:41
    csbalazs edited #3088
  • Jan 30 22:33
    MuscleheadDeveloper starred gantry/gantry5
  • Jan 27 20:21
    alaahariri commented #3100
  • Jan 25 14:17
    lipatovroman commented #3113
  • Jan 25 14:17
    lipatovroman closed #3113
  • Jan 25 13:31
    lipatovroman commented #3113
  • Jan 22 22:43
    lipatovroman opened #3114
  • Jan 21 22:17
    lipatovroman opened #3113
  • Jan 21 22:12
    lipatovroman commented #3112
dmleeman
@dmleeman
@rpronk69_twitter Odd, because the error you mention seems directly linked to that module. Do you use any extensions from ARI-soft?
Richard Pronk
@rpronk69_twitter
@dmleeman I don't use any ARI soft extensions. I have deleted all the old extensions.
Richard Pronk
@rpronk69_twitter
I found one ARI Soft so a deleted that. Now waiting if it works
dmleeman
@dmleeman
@rpronk69_twitter Morning...any luck?
impressionestudio
@impressionestudio
I just noticed that Gantry 5 doesn't appear in the available extension updates in Joomla administration and this happens not only with version 5.5.15 (that I had initially reported) but for other versions too, like 5.5.13. So I now realize that I haven't seen an update of Gantry for months. Does anybody else has the same problem?
David Wickstead
@Wicko-Design
Looking to update a few Joomla websites that will require a lot of changes to existing extensions to be compatible with Joomla 4. Want to switch to Gantry Particles instead. Which is the best range of Gantry particles to use that are also supported?
I have updated a few other Joomla sites already but had to remove all plugins and extensions that were not compatible first then replace with new. Had to replace all Rockettheme extensions such as roksprocket etc
dmleeman
@dmleeman

@Wicko-Design I completely agree and that's how I build all my sites. Only use one or two frontend extensions.

I would highly recommend Joomlead, they have a full range of over 100 Particles and they all use UIKIT3 but sites still reach 100% performance.

joomlead: https://joomlead.com/gantry-5-particles/

here is a demo store site I made with JL Particles on Joomla 4 on PHP 8.1.13: https://storedemo.whodesigns.co.uk/

David Wickstead
@Wicko-Design
Thanks for that @dmleeman I do find their own website a bit confusing. Looking for something to replace Roksprocket masiac layout. been looking at https://www.inspiretheme.com/gantry5-particles but only ever used their Headroom. Really best options with membership and support
I think Joomlead filter gallery might do the job
kvenekamp
@kvenekamp
Hi, I am migrating to Joomla 4 and do a little redesign of my site. Now I wonder if it possible to keep the first sections in Hydrogen template visible while rest of the page scrolls down. And also if it is possible to keep the background image static while scrolling the content. Tips are welcom.
David Wickstead
@Wicko-Design
From what I have experienced upgrading to Joomla 4 all Gantry settings and particles work fine and don't need changing and only old plugins and extensions.
Paweł
@pablop76
Hello. How to add thumbnails in particle backend filter gallery? Any ideas?
Paweł
@pablop76
filter gallery joomlead particles.I would like to have visible thumbnails of photos in the backend. I am trying to add javascript and it works but not always. How can I do it differently?
(function () {
  const createImage = (url) => {
    const div = document.createElement("div");
    div.classList = "img-thumbnail";
    div.style.width = "250px";
    const image = document.createElement("img");
    image.src = url;
    div.appendChild(image);
    return div;
  };

  const serchInput = () => {
    const inputs = document.querySelectorAll("input");
    inputs.forEach((el) => {
      if (
        (el.getAttribute("name") &&
          el.getAttribute("name").indexOf("glrimg") != -1) ||
        (el.getAttribute("name") &&
          el.getAttribute("name").indexOf("hover_image") != -1)
      ) {
        if (el.value != "") {
          el.parentNode.appendChild(
            createImage("/images/" + el.value.substring(15))
          );
        } else {
          el.parentNode.appendChild(
            createImage("https://via.placeholder.com/250x250?text=hover image")
          );
        }
      }
    });
  };

  document.addEventListener("click", (event) => {
    if (
      event.target.classList == "config-cog" ||
      event.target.parentNode.classList.value ==
        "collection-editall button button-simple"
    ) {
      //waiting to be displayed modal
      setTimeout(() => {
        serchInput();
      }, 3000);
    }
  });
})();
Mike Economou
@mixahlos
Hi everyone.
Is there a way to show/hide particle's fields based on value of another field ?
Is like the "showon" in joomla form fields (https://docs.joomla.org/Form_field#Showon)
CoastalBird
@CoastalBird
@impressionestudio Same here on our server. All sites failed to notify about 5.5.15.
Fatih YILDIZ
@fyildiz1974
Using Joomla v4.2.5 + Gantry v5.5.15 on PHP Version 8.0.20
When if i enable SSL then it shows red colored notifications on joomla admin panel.
But actualy there ise not any issue that i need to solve. Everything seems fine.
Any idea?
image.png
impressionestudio
@impressionestudio
@fyildiz1974 I never had this problem using Joomla 4.2.5 and Gantry 5.5.15 using PHP 7.x, 8.0 and 8.1. I don't believe that Gantry can affect the notifications. Most possibly is the SSL and maybe some redirection??? All these are just an opinion.
1 reply
@CoastalBird The chat admin said that he is going to look at it but it seems that he hasn't done it so far.
Paweł
@pablop76
how to add js particle backend?
administrator\components\com_gantry5\templates\partials\base.html.twig
I added it here, but I'll probably overwrite it when I update
1 reply
David Wickstead
@Wicko-Design
@CoastalBird create a new folder in your template area administrator\components\com_gantry5\custom\particles\ Add your new particles here so they are not overwritten by updates. You can copy existing particles from the template\particles folder to your new custom location to create overrides. Please note that is you do create overrides and they are updates your overridge will not include the updates and may need to be edited.
Paweł
@pablop76
But I need to add a backend script for particles, I don't want to overwrite anything.
debbiedoesgithub
@debbiedoesgithub
I have created a new particle. I'm trying to get the label to display on the front end. For instance, I want Primary Breed to appear followed by the input text

name: Available Dogs
description: Displays a Title, Image, and Text on the front end.
type: particle

form:
fields:
enabled:
type: input.checkbox
label: Enable
description: Globally enable to the particles.
default: true

title:
  type: input.text
  label: Name
  description: Customize the section title text.

image:
  type: input.imagepicker
  label: Image
  description: Select the main image.

breed:
  type: input.text
  label: Primary Breed
  description: Customize the section title text.
  placeholder: Primary Breed

css.class:
  type: input.text
  label: Class
  description: CSS class name for the particle.
Peter Ludikar
@pludikar

Hi, is anyone having issues using Community Builder menu items in Gantry?

I'm getting a Whoops\Exception:

Error: During inheritance of Countable: Uncaught Whoops\Exception\ErrorException: Return type of Twig\Node\Node::count() should either be compatible with Counta ▶
Stack trace:
#0 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError()
#1 /home/**/tst.****.org/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError()
#2 /home/**/tst.****.org/libraries/vendor/composer/ClassLoader.php(571): include('/home/**/...')
#3 /home/**/tst.****.org/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#4 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#5 /home/**/tst.****.org/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists()
#6 /home/**/tst.****.org/libraries/vendor/composer/ClassLoader.php(571): include('/home/**/...')
#7 /home/**/tst.****.org/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#8 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass() ▶
#9 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig()
#10 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig()
#11 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->ren ▶
#12 /home/**/tst.****.org/templates/g5_hydrogen/index.php(35): Gantry\Component\Theme\AbstractTheme->render()
#13 /home/**/tst.****.org/libraries/src/Document/HtmlDocument.php(736): require('/home/**/...')
#14 /home/**/tst.****.org/libraries/src/Document/HtmlDocument.php(791): Joomla\CMS\Document\HtmlDocument->_loadTemplate()
#15 /home/**/tst.****.org/libraries/src/Document/HtmlDocument.php(608): Joomla\CMS\Document\HtmlDocument->_fetchTemplate()
#16 /home/**/tst.****.org/libraries/src/Application/CMSApplication.php(1004): Joomla\CMS\Document\HtmlDocument->parse()
#17 /home/**/tst.****.org/libraries/src/Application/SiteApplication.php(714): Joomla\CMS\Application\CMSApplication->render()
#18 /home/**/tst.****.org/libraries/src/Application/CMSApplication.php(299): Joomla\CMS\Application\SiteApplication->render()
#19 /home/**/tst.****.org/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#20 /home/**/tst.****.org/index.php(32): require_once('/home/**/...')
#21 {main}
Peter Ludikar
@pludikar

If anyone can help resolve my CB menus issue, it would be much appreciated.

Just to add some more detail:

  • I’m using most upto date Joomla 4 and Gantry 5/Hydrogen
  • this worked in earlier manifestations of Joolma 4 and Gantry, but I can’t say which, because I was focussing on other issues
  • this is not a live site, but will be, once I get things working
  • if I switch templates to Casseopia, CB menu items work as expected.
  • I have kunena forum menus and other menus and sub menus installed, which work without issue - this appears to be related the Community Builder only.
CoastalBird
@CoastalBird
Community Builder works fine with Gantry in all instances for me. Check that you might be using PHP 8.1, which many users have reported problems with, and have solved by downgrading back to PHP 8.0. That's helped me in those whoops/exception situations.
dmleeman
@dmleeman
@fyildiz1974 Hi, I wonder if this may be related to mod_security? Have you brought this up with your host?
Peter Ludikar
@pludikar

@CoastalBird thanks for responding. Downgrading to 8.0 is significantly worse, so maybe I’ve got something going on with my design. When I asked CB forum about this it was suggest that I might have a stale version of twig.

The exception with 8.0 appears to be from twigextension.php - can’t find DOMdocument.

The exception from 8.1 appears to be from node.php

Not sure if that provides any clues

Peter

Liz
@EJBJane
😔 I am really stuck on how to get a search icon next to my logo in the header of Gantry Hydrogen in the mobile view. Does anyone have time to take a wee look at this css? I would be so grateful!! https://www.dolcevia.com/nl/italie-reizen
At the moment it constantly falls under it no matter what I do
dmleeman
@dmleeman
@EJBJane A quick solution
.g-block.size-5.hidden-desktop.searchicont.hidden-tablet {
    position: absolute;
    top: 3rem;
}
place this in your mobile view css
or even in your main css as you have dealt with tablet and desktop view
dmleeman
@dmleeman
@pludikar When you say it is not a live site, are you running it on dev hosting or something like XAMPP?
dmleeman
@dmleeman
Open Question, when dropping Module Position Particles into place is there any benefit to styling by using the gantry Chrome? This is for Joomla 4
dmleeman
@dmleeman
@fyildiz1974 I found this post on the Joomla forum: https://forum.joomla.org/viewtopic.php?f=811&t=993998
Peter Ludikar
@pludikar
@dmleeman I'm running both. I use XAMPP to develop my site and then transfer it to a publicly unpublished test sub domain on my web host server, using Akeeba backup. Both the server and my local XAMPP show the same problems with 8.1. Downgrading to 8.0 in XAMPP - it works without issue, but 8.0 on the host server, it just throws an exception. My problem is that I can only realistically debug on my local XAMPP, but it's hard to debug something that doesn't exhibit any of the problems :-(.
dmleeman
@dmleeman

@pludikar That suggest to me that there may be a PHP extension running in your web hosting cPanel that could be causing a problem. I know that to run my Joomla4 Gantry 5.5.15 PHP8.1.12 based sites that the hosting needs to have the following disabled:
escapeshellcmd
escapeshellarg
but the mention of Systemfaceade and node.php suggest something else, more like a WP or Grav issue (systemfacade.php) and node.php as far as I can find is related to node.js scripts for WP

Is it a clean J4 install or a an update from J3?

I think you need someone more advanced in Gantry5 than I! Maybe this is a ticket issue
Peter Ludikar
@pludikar

@dmleeman Many thanks for your insight. It's been a while since I started working on my site with Joomla 4, and as far as I remember, I had issues trying to migrate from J3 so I ended up starting fresh with J4, but it was a beta version of J4 and I've migrated since then. As there wasn't anything suitable around for the zero budget I had, I ended up developing many features on my own. It's possible that something in the original beta version could have had latent problems, which only appeared in the released version.

I'm going to try to start with a fresh install of the latest J4.2, and slowly import the bits and pieces I need. I was hoping to avoid a lot of work, but it seems like there's a fundamental issue with my installation particularly as you've told me that you have J4 with Gantry and PHP 8.1 working (albeit with your host disabling escapeshellcmd/arg). That gives me a bit of hope. What a pain.

dmleeman
@dmleeman
@pludikar Yes, I'd probably have to agree and would do the same...:(
But, I hope it helps to verify that I have around 15 sites running on J4.2, Gantry 5.5.15 and PHP 8.1.2 all problem free. In fact the performance is fantastic!
Peter Ludikar
@pludikar
@dmleeman Having the knowledge that 15 sites are working on 8.1 is a great boon. Do you happen to have Community Builder on any of them?
dmleeman
@dmleeman
@pludikar That is one extension I'm not running sadly
Peter Ludikar
@pludikar
@dmleeman That would have made me more confident, as that is the extension that raised the issue in the first place. Unfortunately CB dismissed the issue as "not their problem". I'll dive into starting from fresh, and just hope that I get a different result. This forum will hear back from me in a week or so to let you know if I succeeded or not.
David Wickstead
@Wicko-Design
Got an issue on mobile. Owl carousel is not displaying on mobile but is visible using inspector when viewing mobile. Wonder also it it might be worth adding an option to this to allow a different image for mobile so not to be too large and perhaps change proportions.
David Wickstead
@Wicko-Design
This is the url I have issues with on mobile https://myrarefilms.co.uk/
dmleeman
@dmleeman
@pludikar :thumbsup: