Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 12:51

    mahagr on v5.5.0

    Fix github release workflow (compare)

  • 12:48

    mahagr on v5.5.0

    Ignore CI/release action if in … (compare)

  • 12:30

    mahagr on v5.5.0

    S3 again (compare)

  • 12:28

    mahagr on v5.5.0

    Try to make S3 action to work (compare)

  • 12:19

    mahagr on v5.5.0

    CI builds (compare)

  • 11:00

    mahagr on v5.5.0

    Improve github workflows (compare)

  • 10:59

    mahagr on v5.5.0

    Fixed some phpstan errors (compare)

  • 10:56
    stephanefullstack starred gantry/gantry5
  • 08:47
    mahagr commented #2877
  • 08:47
    mahagr labeled #2877
  • 08:47

    mahagr on v5.5.0

    Joomla 4: Fixed Joomla articles… (compare)

  • 07:13
    mahagr labeled #2878
  • 07:13
    mahagr commented #2878
  • 07:03
    mahagr labeled #2879
  • 07:03
    mahagr labeled #2879
  • 07:03
    mahagr commented #2879
  • Sep 22 17:31
    Omer-Khabeer opened #2879
  • Sep 21 10:46
    mahagr commented #2789
  • Sep 21 10:35
    pplopx opened #2878
  • Sep 21 10:19
    pplopx commented #2789
eaciudad
@eaciudad
Just upgraded to PHP 7.4
I got this error in Joomla with PHP 7.4 "Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/customer/www/__.com/public_html/plugins/system/gantry/functions.php on line 41" and here is the function: function gantry_parsePathComponents($path, $endSlash = true, $base = false)
{
for ($path = trim($path), $slash = strstr(PHP_OS, 'WIN') ? '\/' : '/', $retArray = array(), $str = $temp = "", $x = 0; $char = @$path{$x}; $x++) {
if (!strstr($slash, $char)) $temp .= $char; elseif ($temp) {
$str .= $temp;
$retArray[$temp] = $str . ($endSlash ? $slash{0} : '');
$str .= $slash{0};
$temp = "";
}
}
$base && $temp and $retArray[$temp] = $str . $temp;
return $retArray;
} --end of function
Matias Griese
@mahagr
@eaciudad not gantry 5
eaciudad
@eaciudad
yes, gantry 5 is installed but the message says gantry
Matias Griese
@mahagr
then uninstall gantry 4
:)
it's odd though as even gantry 4 should have a fix for that one
check that joomla hasn't disabled the updates
for gantry
reyesguadalupe
@reyesguadalupe
Como puedo poner una imagen de fondo a helium con joomla?
David Wickstead
@Wicko-Design
@reyesguadalupe where do you want to add a background image? Depending on the template you are using you might be able to add to certain sections using the template styling. Alternatively you can add background images to any section using your custom.scss.
eaciudad
@eaciudad
I do not gantry 4 installed. I have gantry and gantry 5. Will check Joomla to see if the update to gantry were disable.
eaciudad
@eaciudad
Joomla updates for gantry is not disable. Mysteriously, the error did not happen again on either website.
Matias Griese
@mahagr
gantry = gantry 4
it should have update for that, though
but if you can uninstall it (eg. you're not using gantry 4 template), please do so
eaciudad
@eaciudad
not using gantry 4 templates. Will backup and uninstall.
dmleeman
@dmleeman

TIP: I found out yesterday that html5 has a built in attribute for lazy loading images

adding the attribute loading="lazy" to img tags uses the browser facility to lazy load without scripts. The coverage is currently around 74% browsers but of course there is no error on unsupported and it is one less script to run.

I've tested it on an ecommerce site in Chrome and it works fine. So, you could add this attribute to an override in your CMS (I use Joomla)

source: https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading

can I use: https://caniuse.com/?search=lazy

David Wickstead
@Wicko-Design
@dmleeman Thats great. You learn something every day. Does it use the size first to allocate the space as that is where often Lazy Loading fails. Need to make sure images have sizes other that percentages or auto.
Have an issue and not sure if WordPress or Theme retlated. P class is being added to pages and elements withing the content area are automatically. This breaks some layout options. Used the script to remove all empty P classes but where it add the P class to DIVs it a problem.
dmleeman
@dmleeman
@Wicko-Design re: lazyloading: Good question! I've only tried it on one ecommerce site (in fact it is the HAC copy to which you have access!)
WP: I don't use it so cannot help with that issue. If it was Joomla I'd say it was in the component that populated the content area.
David Wickstead
@Wicko-Design
@dmleeman if it was Joomla I would be much more comfortable too. Definitely Lazy loading does help with page speed, specially on ecommerce sites with lots of images. I have used CloudFlare on getgofone.co.uk site.
dmleeman
@dmleeman
@Wicko-Design Agreed, I've just started using BunnyCDN but do use Cloudflare on non ecommerce. I find Cloudflare can cache 'too much' so you have to be extra vigilant with it's Page Rules.
David Wickstead
@Wicko-Design
@dmleeman yeah know what you mean. We are currently using the Pro version of Cloudflare. Bit sticky with some of the rules etc but managed to get it working ok after a time. Found their documentation pretty useless. The way it optimised the images is great but had to turn off all other optimisation plugins. Just make sure it doesn't cache admin, cart, checkout and account pages were the main rules.
dmleeman
@dmleeman
@Wicko-Design Exactly that! The Cloudflare service is great, but the docs require investigative work rather than flowing as a means of achieving what you need from the caching. The caching did cause me some real bother on a cart/checkout site that cost me hours/days of consternation!
Matt Fletcher
@mattfletcher
Hello, newbie question, I'm trying to remove the overlay gradient from the header carousel on the homepage (Helium theme). "Header Styles" has a "background overlay" setting, which I have changed to disabled, but it is still showing. Probably missing something obvious.
David Wickstead
@Wicko-Design
@mattfletcher open your home page template and select the styles tab. You will see a sction for the header styles. Here you will see the option to disable the overlay background.
beamaria
@beamaria

@mattfletcher: use this code in your custom.scss file

.g-owlcarousel.has-color-overlay .owl-stage > .owl-item:nth-child(2n+1) .g-owlcarousel-item-img::after { content: none; }
Remember to recompile CSS from base outline too.

To create a custom.scss file refer to Gantry documentation http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet/

Rise2Prosperity.com
@Rise2Prosper_twitter
Greetings, New to community. I downloaded Gantry 5 Helium and I don't have the sample content particle. Input please. Thanks
Joshua Clinard
@echopulse_twitter
can someone tell me how to insert a meta tag into the header?
natecovington
@natecovington
Screen Shot 2021-07-23 at 8.21.15 AM.png
Screen Shot 2021-07-23 at 7.58.48 AM.png
I'm having trouble with Hydrogen/Gantry5 to work with PHP 7.4, attached is a screenshot of the live site on PHP 7.3, no errors in the console. then i switch to PHP 7.4 and my layout goes haywire. i'm not seeing any errors in cPanel logs... and I turned on Display Errors = Maximum in Joomla Global Configuration, I'm not getting any hints. Where else should I check?
XaRz
@XaRz
Hello. I've just updated a site to 7.4 and it trhows a gantry 5 error. Can someone help me to investigate if there is a gantry 5 error? I'm using latest gantry 5.4.37 and the site is http://cangenis.cat
(7.4 means php 7.4, and it's a joomla gantry package)
XaRz
@XaRz
Setting display maximum errors, shows:
Captura de Pantalla 2021-07-23 a les 14.49.07.png
Matias Griese
@mahagr
@XaRz can you report this as a bug? use the screenshot from the error
XaRz
@XaRz
ok.
XaRz
@XaRz
أيمن رضوان
@aaaakel123_twitter
I want to ask about some important features if contained in Gantry or not: SEO-friendly, Translation Ready, multiple Plugins integration, Browser Compatibility, and Secure.
David Wickstead
@Wicko-Design
@aaaakel123_twitter Security can be improved by following protocol. WordPress or Joomla both have options to increase security. I alot also can be done on your server and using htaccess settings. I would say Joomla is probably more secure out of the box than WrodPress but don't let that put you off. On my latest project I have had vigeroius Penetration testing done on the site and with a few minor amendments passed with flying colours. But a lot is also down to the plugins and extensions you add. Make sure they are from well supported and reputable developers.
Joomla 4 to be released on August 17th.
praxis111
@praxis111
White screen of death on Gantry 5 wordpress installation. Everything updated. Tried turning off plugins. The only thing that stops the error is switching to another theme (besides the customized Helium theme). Tried reinstalling the theme and no help. Any ideas? https://staging.fgpre.com
dmleeman
@dmleeman
@N8Solutions sweet! J4 betas run like a dream with G5
dmleeman
@dmleeman
Do we have a G5.5 J4 RC yet? with Bootstrap->G5 Css
Joshua Clinard
@echopulse_twitter
Is there a good place or forum to get help with gantry templates? I looked on the rocket theme forums, but can't figure out how to post. Do you have to pay the subscription fee just to post?
dmleeman
@dmleeman

@echopulse_twitter Hi Joshua, if you mean prebuilt templates, then you should receive support from the developer that created the template. Rockettheme does require a subscription to receive support, but, if you paid for a template from RT then you most likely have a login.
Helium and Hydrogen support is provided here.

RocketTheme, InspireTheme and Joomlead all provide ready made templates and support.

Joshua Clinard
@echopulse_twitter
yeah, I have helium