Skip to content

Commit

Permalink
Fix for Joomla 5.x debug css (#3190)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexplor committed Oct 20, 2023
1 parent 2a29a1a commit 2102f90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Update target platforms to match Joomla 4.3 and up (#3170)
- Login forms css styling bugfixes (#3185)
- Register forms css styling bugfixes (#3185)
- Fix for Joomla 5.x debug css (#3190)

# 5.5.16
## 03/31/2023
Expand Down
5 changes: 4 additions & 1 deletion engines/joomla/nucleus/twig/partials/page_head.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
{% endif %}

{% if gantry.theme.joomla %}
{% if gantry.platform.checkVersion(4) %}
{% if gantry.platform.checkVersion(5) %}
{# Joomla 5.x #}
<link rel="stylesheet" href="{{ url('media/plg_system_debug/css/debug.css') }}" type="text/css"/>
{% elseif gantry.platform.checkVersion(4) %}
{# Joomla 4.x #}
<link rel="stylesheet" href="{{ url('media/system/css/debug.css') }}" type="text/css"/>
{% elseif gantry.platform.checkVersion(3) %}
Expand Down

0 comments on commit 2102f90

Please sign in to comment.