Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 29 10:38
    mahagr labeled #3079
  • Sep 29 10:38
    mahagr assigned #3079
  • Sep 27 22:54
    vijinho starred gantry/gantry5
  • Sep 27 17:29
    szerner starred gantry/gantry5
  • Sep 24 12:19
    morphinestyle commented #3079
  • Sep 24 09:57
    gik000 edited #3083
  • Sep 24 09:20
    gik000 opened #3083
  • Sep 23 07:27
    N8Solutions opened #3082
  • Sep 22 23:07
    J-Wick4 commented #3078
  • Sep 22 21:12
    N8Solutions commented #3078
  • Sep 22 21:11
    N8Solutions commented #3078
  • Sep 22 19:07
    J-Wick4 commented #3078
  • Sep 22 16:31
    mahagr commented #3078
  • Sep 22 15:13
    mahagr commented #3078
  • Sep 22 12:57
    N8Solutions commented #3078
  • Sep 21 20:50
    trlbldr1 commented #3078
  • Sep 21 20:31
    SpyderZ commented #3078
  • Sep 21 12:23
    kosh2323 commented #3081
  • Sep 21 08:13
    mahagr commented #3078
  • Sep 21 07:14
    SpyderZ commented #3081
PERBET Nils
@PerbetNils_twitter
On the documentation (https://docs.gantry.org/gantry5/advanced/creating-style-presets) it's writen that I must create a new presets.yaml
but I didn't find the place were this file is (Joolma! style)
May you help me ?
Fatih YILDIZ
@fyildiz1974
@PerbetNils_twitter
image.png
3 replies
NeilGlenelg
@NeilGlenelg
Hello Gantry team, as I found no contact mail address on your webpage, so I will ask you on this way. We are using Gantry 5 Hydrogen on our new Joomla4 webseite. Everything is working fine, except a site with a table. The table has no width restrictions. You can find the problem here: http://j4.skiclub-hoechstadt.de/skiclub-wohnung/belegungsplan . We worked with Gantry4 on J3 and there it works fine. With the new template we found no possibility to force the table to stay within the main content area, which is defined with a width of 80% in the template configuration. What do we do wrong? Is there a change to fix this?
Mark Taylor
@marktaylor46
Use this CSS in your custom.scss file...
table {
display: block;
overflow: scroll;
}
NeilGlenelg
@NeilGlenelg
Hi Mark, thank you very much.
Omer-Khabeer
@Omer-Khabeer
Hello, I am trying to update to Joomla 4 right now, everything went clean and I have a functioning Backend but the problem is with the Frontend, I get an error -> 0 an Exception has been thrown during the rendering of a template https://360-consulting-test2.6639517045770.hostingkunde.de/. Best regards
Kamalesh Dubey
@kamaleshdubey
Hello All, I am using Gantry 5 with Grav. I have changed the logo for the Home page. But it is still rendering the default theme logo. I have checked the Assignments section to ensure that this Outline is assigned to the Home page. I have also cleared the cache. Does anyone know how this can be resolved?
3 replies
kitsec
@kitsec
I have Just installed Gantry5 and Helium. I want to change the background image for one of my own. I copied the presets file to custom/Gantry/presets.yaml. Then created my own preset, which shows up. I then tried to change the background image in the header section using the interface in Joomla. In selects my image which I uploaded. But on the fron end nothing changes. I flush the cache, but still nothing. Did I miss something?
kitsec
@kitsec
Apologies, I did miss something. The background was defined in the owl carousel. The same image is used as a fallback in the section. Bu it is not visible as long as the owl carousel is active. So changing the section background was not needed. Just change the owl carousel.
Fatih YILDIZ
@fyildiz1974
@kitsec can i see live site what you are asking?
1 reply
Dolcevia.com
@Dolcevia_twitter
Joomla 4 has an issue which they say maybe template related i.e. Gantry 5 hydrogen because that the tempalte I am using. I need meta keywords in the header of articles because the 'related articles' module and the 'show banner by keyword' do not work if the tempalte doesnt show meta keywords. Is there any way I could add these to the header? Anyone know how? Example page: https://www.dolcevia.com/nl/italie-reizen/reistips/181-watertekort-drukt-noord-italie-tot-snel-herstel-waterwegen
Christophe Lance
@uGE70
@Dolcevia_twitter Hello, I am using Hydrogen with mod_related_items module without any issues. Joomla 4 is not displaying meta keywords tag anymore, it's normal. The module is only looking for matching meta keywords in the database.
2 replies
Nicu B
@nicutor

Hi there! I've created a custom child theme for grav (gantry5 theme) and I am looking for a way to auto-update it from an URL. How can I do this?

I can see this on theme/gantry/theme.yaml:

details:
  updates:
    link: 'https://domain.com/themes/theme.yaml'

But what should that file contain?
Thank you!

Nicu B
@nicutor
Anyone? :)
Matias Griese
@mahagr
in grav you just point to the theme itself -- the parent theme will have its own update
but in grav, you basically do the normal update procedure (same as with plugins)
so you need to add the theme to gpm, do not forget to add gantry as dependency
those are defined in the main blueprint file
see helium
Nicu B
@nicutor
Thank you @mahagr I will take a look into this.
Jan
@PhocaCz
Hi, is there any info when Gantry will be PHP 8.1 ready? Testing now Gantry on 8.1.6 getting fatal errors from Twig. Thank you.
dmleeman
@dmleeman

@PhocaCz Hi Jan, some users are encountering fatal errors with PHP 8.1.x (Search in left column for PHP8.1)

I wonder if it is the server implementation (extensions and options)

My host upgraded to 8.1.8 today and I am fortunate to encounter no problems with Gantry 5 and Joomla 4.1.5

Jan
@PhocaCz
@dmleeman I am running 8.1.6 on localhost (installed by Xampp, Linux) and get fatal errors like this:
image.png
image.png
When searching the web, found the same or similar problem here: https://issuehint.com/issue/gantry/gantry5/3052
Jan
@PhocaCz

I solved the fatal error with downloading latest Twig, customizing some code, e.g.
FROM:
public function getGlobals()
TO:
public function getGlobals() : array

to avoid fatal errors like this: "Compile Error: Declaration of Gantry\Component\Twig\TwigExtension::getGlobals() must be compatible with Twig\Extension\GlobalsInterface::getGlobals(): array". I can work in administration but then I get fatal errors on frontend like this: "Unexpected token "name" of value "if" ("end of statement block" expected).", etc.

Jan
@PhocaCz

Even this can be relatively simple solved:
FROM:

{%- set offcanvas = null -%}
{%- for segment in segments if segment.type == 'offcanvas' %}
{%- set offcanvas = segment -%}
{% endfor -%}

TO:
{%- set offcanvas = null -%}
{%- for segment in segments %}
{% if segment.type == 'offcanvas' %}
{%- set offcanvas = segment -%}
{% endif %}
{% endfor -%}

So, with some simple changes, it works for me. Then unimportant warnings can be changed too:

Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 133

Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 98

Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 79

Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 143

Of course, the not working twig blocks need to be replaced on different places too.
Jan
@PhocaCz
Hmmm, but it seems like there will be some more problems like overwriting the code for new Twig (e.g. missing tag spaceless, etc.) ... yes, maintaining non-essential layer (twig) over functional layer (php) seems to be not so easy :-(
nate covington
@nate:covingtoncreations.com
[m]

hi everyone, i'm having issues where my gantry5 cache gets corrupted, and the home page turns into a white screen, e.g:

Error: Creating directory failed for /home/user/public_html/cache/gantry5/g5_hydrogen/compiled/config/27db06d628b0cec24a0622f7d2df9676.php:

Creating directory failed for /home/user/public_html/cache/gantry5/g5_hydrogen/compiled/config/5fae0ac87da073a419170e2d76896fc0.php

I log in and clear the cache and it fixes it right away...

then, when I log in via FTP, it looks like that /config/ folder is corrupted, like it turned into a file?
dmleeman
@dmleeman
@PhocaCz Hi Jan, I think that @mahagr has viewed your posts, so, given the detail that you have posted here it may get some attention.
yehudac
@yehudac:matrix.org
[m]
hi im using gantry5 with grav
how do i add padding to the menu items? (they are all crushed together)
yehudac
@yehudac:matrix.org
[m]
i tried lots of things i have no idea where to place css (classes inline-block, padding)
sry matrix not letting add a picture
yehudac
@yehudac:matrix.org
[m]
where do i add css classes (inline, padding)
yehudac
@yehudac:matrix.org
[m]
i tried putting it into particle defaults and nothing changes either
nate covington
@nate:covingtoncreations.com
[m]
/public_html/templates/g5_hydrogen/custom/scss/custom.scss
1 reply
yehudac
@yehudac:matrix.org
[m]
i thought the the idea of gantry was low code
2 replies
i guess once you create a class you could use the dashboard in theory
yehudac
@yehudac:matrix.org
[m]
1 reply
how do i add space here without going into backend code