---
title: "Admin Locations - Tassos Code Snippets"
description: "Admin locations inject code into Joomla's backend (/administrator) pages. They follow the same Header, Body, Footer structure as Site Locations, but t"
url: "https://www.tassos.gr/docs/tassos-code-snippets/locations/admin"
date: "2026-04-05T04:07:58+00:00"
language: "en-GB"
---

[ Home ](https://www.tassos.gr/index.php?option=com_content&view=category&layout=blog&id=24&Itemid=1088) / [ Tassos Code Snippets ](https://www.tassos.gr/index.php?option=com_content&view=category&id=120) / [ Snippet Locations ](https://www.tassos.gr/index.php?option=com_content&view=category&id=123)

#  Admin Locations

Admin locations inject code into Joomla's backend (`/administrator`) pages. They follow the same Header, Body, Footer structure as [Site Locations,](https://www.tassos.gr/docs/tassos-code-snippets/locations/site) but target the administrator area exclusively and have no effect on the frontend. They are useful for customising the Joomla back-end appearance, adding internal tooling scripts, or injecting tracking code for backend analytics without touching the site's frontend output.

## [Available Locations](#available-locations)

### [Admin Header](#admin-header)

The Admin Header location inserts code inside the `<head>` section of every backend page. It is the right place for custom CSS that restyles or hides administrator UI elements, and for any external stylesheets or resource hints that need to be available before the backend interface renders.

Because it mirrors the Site Header in behaviour, the same rule applies: keep it to styles and resources that are genuinely needed before the page paints, as heavier content here delays the backend's time to first render.

### [Admin Footer](#admin-footer)

The Admin Footer location inserts code just before the closing `</body>` tag on every backend page. It is the right place for non-critical backend JavaScript, custom UI helpers, DOM manipulation scripts that adjust the admin interface, or lightweight widgets that should not block the backend from rendering.

Scripts placed here can safely assume the backend DOM is fully available, making this the safest location for any JavaScript that reads or modifies the administrator UI.

## [Supported Snippet Types](#supported-snippet-types)

Not all snippet types are available at every admin location. Use this matrix to confirm your chosen type supports your target location.

 | Snippet Type | Admin Header | Admin Footer |
|---|---|---|
| **HTML** | ✓ | ✓ |
| **CSS** | ✓ | — |
| **CSS External Files** | ✓ | — |
| **JavaScript** | ✓ | ✓ |
| **JS External Files** | ✓ | ✓ |
| **PHP** | — | — |

## [Troubleshooting](#troubleshooting)

### [My snippet does not appear in the backend](#my-snippet-does-not-appear-in-the-backend)

Verify the snippet is published and that its location is set to one of the Admin locations rather than a Site location. Admin and Site locations are separate; a snippet assigned to Site Header will not appear in the backend. Clear the Joomla cache and reload the backend page, then inspect the page source to confirm whether the code was injected.

### [CSS changes are not visible in the administrator](#css-changes-are-not-visible-in-the-administrator)

CSS snippets targeting the backend must use Admin Header. If the snippet is correctly placed there but the styles are not applying, open the browser's DevTools on the backend page and check whether the rule is present in the stylesheet. If it is present but not taking effect, the issue is likely a specificity conflict with the active administrator template's own styles; adjust your selectors accordingly.

 Last updated on Mar 16th 2026 15:03

## Schema

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://www.tassos.gr"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Home",
            "item": "https://www.tassos.gr/docs"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Tassos Code Snippets",
            "item": "https://www.tassos.gr/docs/tassos-code-snippets"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Snippet Locations",
            "item": "https://www.tassos.gr/docs/tassos-code-snippets/locations"
        },
        {
            "@type": "ListItem",
            "position": 5,
            "name": "Admin Locations",
            "item": "https://www.tassos.gr/docs/tassos-code-snippets/locations/admin"
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@type": "Article",
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://www.tassos.gr/docs/tassos-code-snippets/locations/admin"
    },
    "headline": "Admin Locations",
    "image": {
        "@type": "ImageObject",
        "url": "https://www.tassos.gr/"
    },
    "publisher": {
        "@type": "Organization",
        "name": "Tassos",
        "logo": {
            "@type": "ImageObject",
            "url": "https://www.tassos.gr/https://www.tassos.gr/media/brand/logo-text.png"
        }
    },
    "author": {
        "@type": "Person",
        "name": "Tassos Marinos",
        "url": "https://www.tassos.gr/docs/tassos-code-snippets/locations/admin"
    },
    "datePublished": "2026-03-16T14:46:01+02:00",
    "dateCreated": "2026-03-16T14:46:01+02:00",
    "dateModified": "2026-03-16T15:07:08+02:00"
}
```
