Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:38
    mahagr labeled #3079
  • 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
mediaDESIGN SK
@mediaDESIGN-SK
When I call the template parameters for my target template, I already see the correct ID. But how does that continue? This code dont work with Gantry-Templates: $this->app->setTemplate($fallback_template_name, $fallback_template_params);
Fatih YILDIZ
@fyildiz1974
Gantry Framework is almost flawless. I congratulate and express my gratitude to each and every person who contributed to this project. I'm looking for a way to use Gantry Framework in an html5 page for page styling . Not for Wordpress or Joomla. I welcome your comments and suggestions about this idea.
mediaDESIGN SK
@mediaDESIGN-SK
My plugin help request is done. The plugin is ready.
Zafi
@Zaffar
HI, I just update WP to WP 6 and then updated Gantry plugin as well, and now site has gone blank
anyone else had this experience
Zafi
@Zaffar
?
Ricky Green
@rgcouk
Hello, anyone around?
Believe1989
@Believe1989
Hi, Where to fix the header with futuristic. on your own?
oxido21
@oxido21
Hi,
I have a non gantry question :D
Does any of you know an extension to help me to achieve this
https://esdservice.ro/preturi/index.php
After you select 2 or more filters to show some information, the filters are conditioned one by other.
If you select Samsung in the first one, you will see only samsung models in the second one.
Thank you :D
1 reply
worech
@worech
@oxido21 BaForms. Perfect instruments, easy to set up the conditions.
@mediaDESIGN-SK Possible to get a copy? Sounds interesting! Thank you.
Nicu B
@nicutor
Hi there. Is there any way to inject a particle content to a grav page content?
Something similar to {loadmoduleid moduleId} from joomla. Thank you.
Matias Griese
@mahagr
@nicutor you can make it a module
1 reply
mediaDESIGN SK
@mediaDESIGN-SK
@oxido21 yes, you can, send email joomla@media-web.de
PERBET Nils
@PerbetNils_twitter
Hello,
I would like to create a new presets (style)
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 :-(