Skip to main content
4 votes

Randomly render one of the modules in a given position

Have a look at the Module Helper documentation. getModules(): Get modules by position getModules(string $position) : array static since 1.5 Arguments $position string The position of the module ...
mickmackusa's user avatar
  • 4,791
4 votes

How can I insert js scripts before </body>

I think there are at least 4 options. In gantry5 templates go extension>templates, select your template, and on the page settings tab there is a textbox labeled "Before </body>". This will be ...
jamesgarrett's user avatar
  • 3,299
3 votes

Trying to update gantry package, get this error

It looks like the last version of Gantry 4 that is supported on Joomla 2.5 is v4.1.32. You can download Gantry v4.1.32 from: http://gantry4.s3.amazonaws.com/releases/gantry_joomla_framework-4.1.32....
Neil Robertson's user avatar
3 votes

Randomly render one of the modules in a given position

If you're after a less code heavy way of doing it, you could use a mix of Regular Labs Modules anywhere and Regular Labs Articles Anywhere. Create your modules, and assign them all to a new position ...
Patrick Jackson's user avatar
2 votes

How to add php & js code in the header of a Gantry Helium template?

Gantry5 makes it easy to add HTML/CSS/JS to the head within the Page Settings on the Base Outline (or a specific one). http://docs.gantry.org/gantry5/configure/page-settings#head-properties However, ...
YellowWebMonkey's user avatar
1 vote
Accepted

How do I modify the CSS class on a specific page in a Joomla 3 template?

The Rocket Theme Nebulae theme is based on the Gantry 4 framework. That means that you will be able to find the information you are looking for in the Gantry 4 documentation. I has been a while since ...
rhuijben's user avatar
1 vote

Upgrading an Old Joomla 2.5 Site to 3.x Version

Official support for Joomla 2.5 ended in 2014 and many extension developers have removed Joomla 2.5 versions of their extensions and templates from their websites so they can concentrate on supporting ...
Neil Robertson's user avatar
1 vote

Joomla 3.9 + Gantry 5.4.31 mismatch layout issue on localhost

In G5 template screen remove Joomla Articles Particle. The main content area is named 'Page Content' and it displays the current menu item dynamic content, so 'article' or 'list of articles' (so ...
Elboyler's user avatar
1 vote

How to enable AMP / accelerated mobile pages in joomla?

There are a few extensions that can help enable AMP for Joomla. Here are some: wbAMP Community Edition (Free) wbAMP (Paid) Accelerated Mobile Pages (Paid) JAmp (Paid) This is not an exhaustive list ...
Neil Robertson's user avatar
1 vote
Accepted

Gantry5 framework - Where are the core particles located?

Core Gantry5 particles that do not have an override on the template level can be found at: /media/gantry5/engines/nucleus/particles/ Gantry5 is a powerful framework and allows a high level of ...
FFrewin's user avatar
  • 19.7k
1 vote

Simplify menu item URLs

There are few ways to do it without any plugins: Create a detached menu (menu without any module) and add there the menu items you want to have a short URL. Use Redirects component to create a ...
Artur Stępień's user avatar
1 vote

Simplify menu item URLs

The simplest option may be to create a new menu which doesn't have an associated module (call it something like 'hidden'). This menu will not appear on the front of the site, but its items can still ...
RichardB's user avatar
  • 3,082
1 vote

Can I assign a Gantry 5 outline to a category

1. Advanced Template Manager My first suggestion here would be the Advanced Template Manager by Regular Labs. It gives full control on how you can assign templates. It covers Joomla content by ...
FFrewin's user avatar
  • 19.7k
1 vote

Can I assign a Gantry 5 outline to a category

You should be able to create a category blog menu item and assign the outline to that. I believe it should apply to the articles within that category.
YellowWebMonkey's user avatar
1 vote
Accepted

How can I fix a strange formatting problem on a particular page on my Gantry website?

This took quite a while to find but Bootstrap includes some default styling as follows: [class*="span"] { float: left; margin-left: 30px; min-height: 1px; } This unfortunately conflicts with ...
Neil Robertson's user avatar
1 vote

How to add a custom local font in gantry 5 Joomla theme

YAML files use 2 or 4 spaces for indentation but tab indentation is forbidden. Use search and replace in your editor to replace each tab with a double space and then check your indentation is correct....
Neil Robertson's user avatar
1 vote

Disable Gantry caching

Gantry 4 cache can't be disabled as it's used to store compiled LESS and CSS files. I suspect the Gantry 5 cache may be similar.
Neil Robertson's user avatar
1 vote

Disable Gantry caching

In order to increase the performance the Gantry stores Cache. It also stores modules and other joomla content. When you save template details it will automatically flush your template cache.
Lokendra Joshi's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible