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
Just to add, I did place the files into the template custom particle folder too
dmleeman
@dmleeman
BTW, the aim is to add loading="lazy" to the article images brought in from 'Intro' or 'Full' by default, ticking the box in the Particle forces the loading="eager" attribute, in case the image is above the fold.
2 replies
indieben
@greenlanegreb
Hi, how do I get rid of archives and categories in Hydrogen for Wordpress please - I've gone into the outline's content settings and disabled anything to do with them, cleared caches etc but no joy.
Fabrice Silva
@FabricioS
Hi, I am trying to debug a website built on joomla/gantry where I suppose gantry is building malformed tags with missing spacing: ```
<section id="g-navigation"> <div class="g-container"> <divclass="g-grid"> <divid="header-a"class="g-block size-50="" header-a"=""> <div class="g-content">
<div class="g-grid"> became <divclass="g-grid">
Any idea what causes this error?
Fabrice Silva
@FabricioS
Note that the <div id="header-a" class="..."> also got puzzled
pmoreno.rodriguez
@pmoreno-rodriguez
@dmleeman , I think you should use 1 or 0 instead true or false. The checkbox blueprint saves this value in this way.
Dolcevia.com
@Dolcevia_twitter
Hi there, I have an SEO realted question about off-canvas position. When I crawl the page with a Google Search simulator the content in the off-canvas position (a global menu) always comes before the actual text on the page with basically the meat of the content. It would be better if that meat came up first and would be trailed by the off-canvas content. Is this possible to achieve? i.e. easily?
dmleeman
@dmleeman
@Dolcevia_twitter Hi, Yes, this could be down to the order of the html in most gantry5 sites. If you view the source code then the off-canvas id appears right under the opening body tag so I guess there is no easy way around it.
5 replies
@pmoreno-rodriguez Hi, I think that the syntax is ok for the checkbox as I am copying some code from a similar example in a working Particle.
@FabricioS Hi, just a guess but are you running another page builder as well as using Gantry?
dmleeman
@dmleeman

With regards to my attempt at adding the loading="lazy" attribute to the Joomla Article Particle (contentarray.twig.html and contentarray.yaml) I got as far as this:

{% if display.image.enabled and article.images.image_intro or article.images.image_fulltext %}
                                    {% if article.images.image_intro and display.image.enabled == 'intro' or display.image.enabled == 'show' %}
                                        <div class="g-array-item-image">
                                            <a href="{{ article.route }}">
                                                <img src="{{ url(article.images.image_intro) }}" {{ article.images.image_intro|imagesize|raw }} {% if particle.image_loading !== false %} loading="lazy" {% endif %} alt="{{ article.images.image_intro_alt }}" />
                                            </a>
                                        </div>
                                    {% elseif article.images.image_fulltext and display.image.enabled == 'full' %}
                                        <div class="g-array-item-image">
                                            <a href="{{ article.route }}
                                                <img src="{{ url(article.images.image_fulltext) }}"  {{ article.images.image_fulltext|imagesize|raw }} {% if particle.image_loading !== false %} loading="lazy" {% endif %} alt="{{ article.images.image_fulltext_alt }}" />
                                            </a>
                                        </div>
                                    {% endif %}
                                {% endif %}

And, in fact, the previous attempt did whitescreen (PHP error) the site, as does this attempt...I feel this attempt is closer though.
Can anyone help?

Fabrice Silva
@FabricioS
@dmleeman : correct guess. There is fact Gantry and SP Page Builder extensions installed on this joomla instance. I was however told that the update of the gantry extension solved the problem. But I can't tell you by now which are the Gantry versions involved in this discussion (I lose the access to the back-office during this update).
dmleeman
@dmleeman
@FabricioS ok, that may complicate matters, I don't use SP Page Builder and would recommend overrides in its place. From memory I imagine it uses some complex layers of javascript for it's drag and drop functions. Or, I should say, logical in principle but perhaps more complex through iteration.
So, it is my instinct that SP Page Builder may impact on the structure of Gantry layouts through writing to DOM in frontend perhaps.
Impression eStudio
@Impression_eS_twitter
I am using PHP 8.1 and Gantry 5.5.15 and when I click save in the Layout tab I get the following error:
preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated.
The save is not completed.
This is not happening in PHP 8.0.
dmleeman
@dmleeman
@Impression_eS_twitter Depending on a few factors, PHP8.1.x and Gantry do still have some issues...I think they are related to the TWIG version...I do run Joomla 4.2.3 with PHP 8.1.11 without any issues on several sites so I know it can work but in some cases it may be necessary to drop back to PHP8.0.x
Lemmy
@artheadsgames
Hi fellows, does anyone knows how to rewrite the entire template of Navigation section in Helium + G5? Just can't find anything related in theme files except css... (I'm on WordPress)
Davide M.
@Alf_Malph_twitter
Hi, one question. In joomla using gantry I would like to see my articles not in homepage but in a custom page i created with a layout called blog. How can i do it? The articles are always opened in homepage
Frank Seesink
@fseesink:matrix.org
[m]
WFH
Impression eStudio
@Impression_eS_twitter
@dmleeman I usually do the same. Thanks for the answer.
全国
@lgxn34LOuv83Wdz_twitter
hello my gantry does not work with modern event calender and ivory search since php updated to 8.1
so i donwgraded my php file to 8.0 still not woking
even before it did work with php file 8.0
does anyone noe the reasons?
Michael Koontz
@N8Solutions
@lgxn34LOuv83Wdz_twitter Please open a ticket and report your issue otherwise it will be lost in the chat.
https://github.com/gantry/gantry5/issues/new/choose
全国
@lgxn34LOuv83Wdz_twitter
okey thank you very much
Michael Koontz
@N8Solutions
@lgxn34LOuv83Wdz_twitter :thumbsup:
dmleeman
@dmleeman
@Alf_Malph_twitter Hi Davide
This youtube video Understanding Basic Article Setup With Gantry 5 and Joomla may help explain the relationship between Gantry and Joomla Articles. It is a few years old and shows the process in Joomla 3.7 but the process is the same for J4
impressionestudio
@impressionestudio
Hi. Why the version 5.5.15 does not appear in the available extension updates in Joomla administration? I have to manually check and update. Thank you for your effort!
Matias Griese
@mahagr
oh, i need to check it out
thanks
for reporting
astrosurfer
@astrosurfer:matrix.org
[m]
Is there plans to update the documentation to show implementation in Joomla 4? Joomla 3 is on it's way out the door.
Dennis Stephens
@dennis1125stephens_gitlab

Hello @everyone!
As a web developer with 6 years of full stack experience, I would like to set up a new job opportunity for myself, who has led several projects to success and received good reviews from many clients.

This is my website: https://dennis-stephens.vercel.app
You can check my experiences, projects with my name in team section, several certifications and Linkedin recommendations here.

It can be said that the strengths that I can see are the simultaneous guarantee of project speed and quality, accurate time management, and sincerity.

If you are currently in need of a new developer for your team, want to bring up a new startup, or need a freelancer, please check my website and feel free to send me a message.

Richard Pronk
@rpronk69_twitter
I updated mine website with gantry to php 8 but now the site isn't reachable. I got the error Non-static method AriKernel::init() cannot be called statically . How can i solve this http://www.immerwiedervolksmusik.nl
dmleeman
@dmleeman
@rpronk69_twitter Hi, are you using Joomla, WP or Grav and are you using the Gantry 5.5.15 release? Also, are you using Hydrogen/Helium 5.5.15 or some other theme?
Richard Pronk
@rpronk69_twitter
@dmleeman I use the fluent theme. I updated it before php 8
dmleeman
@dmleeman
Ah yes I see it now. That theme appears to have last been updated in November 2021. is it compatible with PHP8 do you think?
Richard Pronk
@rpronk69_twitter
I don't know
dmleeman
@dmleeman
So, it may be worth contacting Rockettheme to check for PHP 8 compatibility and also be certain that you have installed Gantry 5.5.15
Richard Pronk
@rpronk69_twitter
I have installed Gantry 5.5.15
dmleeman
@dmleeman
@rpronk69_twitter Ok, so that is good as 5.5.15 is ready for PHP8 and PHP8.1
So, it is possible that the theme itself may not be fully compatible, or some other component or plugin within the site.
Perhaps this one: mod_ariimageslider
Richard Pronk
@rpronk69_twitter
I don't use that
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