What is Tassos Code Snippets
Tassos Code Snippets is a Joomla component that gives you one central place to write, organise, and run custom JavaScript, CSS, HTML, and PHP on your Joomla site, without touching a single template file or installing yet another single-purpose plugin.
With it, you can auto-insert code into key locations like the page header and footer, manage all your customisations from a single snippet manager, and build reusable content templates that you can drop anywhere on your site via a simple shortcode.
It's built for site administrators, developers, and agencies who are tired of scattering small customisations across template files, system plugins, and notes apps, and losing track of them every time a template gets updated or a new developer joins the project.
But before we get into what the extension does, let's look at the problems it was built to solve.
The Problems Every Site Administrator Knows Well
If you've been running Joomla sites for any length of time, you've almost certainly hit at least one of these walls.
Custom Code Piles Up With No Way to Track
Every site accumulates custom code over time, a CSS fix here, a tracking script there, a PHP tweak that solves a recurring problem. The trouble is that these snippets end up scattered everywhere: buried inside template files, copy-pasted into system plugins, or sitting in a notes app waiting to be found again.
There's no central place to see everything that's running on your site, no way to search for a snippet you wrote six months ago, and no way to enable or disable something without digging back into the file it lives in. Want to temporarily pause a CSS tweak while troubleshooting a layout issue? Or disable a tracking script during a campaign? If that code is hard-coded inside a stylesheet or a plugin, you're back to editing files, commenting things out, and hoping you remember to re-enable them later.
When a developer joins the project, they have no idea what customisations exist, where to find them, or which ones are even active. There's no way to group related snippets together, no tags to filter by, and no audit trail to understand what each piece of code was ever meant to do.
Simple CSS and JS Tweaks Require Editing Template Files
Need to add a single CSS rule to fix a layout issue? Change a font size on mobile? Inject a small JavaScript snippet to power a widget? The standard Joomla answer is to open your template custom.css or edit a template file directly. That works until the template is updated and overwrites your change, or a new developer on the project has no idea those edits were ever made.
Child templates and component overrides help, but they introduce overhead that's disproportionate to the change. Maintaining a child template just to keep a five-line CSS tweak alive is not a sustainable workflow.
And if you're working on a client site where access to template files is restricted, or you're in a managed hosting environment that locks down the file system, you have no clean option at all.
Small Tweaks Require Installing Yet Another Plugin
Joomla has thousands of extensions for every problem imaginable. But do you really need a whole plugin just to do a simple search and replace on two or three pages? Do you really need yet another extension installed just to add three lines of custom meta tags or remove unsued JavaScript files from your site?
Over time this leads to a growing list of single-purpose system plugins, each solving one tiny problem. Your plugin manager fills with extensions you barely remember installing, each solving a single tiny problem. Disabling or changing one means hunting it down, opening its settings, and hoping you remember what it was even supposed to do.
The usual counter-argument is: "I'd need to write code for that, and I'm not a developer." That used to be a fair point. It isn't anymore. With tools like ChatGPT, anyone can describe a problem in plain English and get working code in seconds. The barrier to writing a snippet has effectively disappeared — the only thing missing was a proper place to put it and run it safely. That's exactly what we built.
You Can't Reuse the Same Content Across Multiple Pages
Most sites have content that appears in more than one place, a phone number, a disclaimer, a promotional message, and a block of contact details. The typical approach is to copy and paste that content wherever it's needed and hope you remember every place it appears when something changes.
When it does change, and it always does, you're left manually hunting through pages one by one to update each instance. Miss one, and your site is showing outdated or contradictory information. There's no single source of truth, no central place to make the change once and have it reflected everywhere automatically.
The Solution: Tassos Code Snippets
Tassos Code Snippets solves all of these problems in one place. Here's what you can do with it:
- Insert custom HTML, JavaScript and CSS: Write your code once, store it safely in the database, and never lose it to a template update again
- Execute PHP code: Hook into Joomla events, modify site behaviour, and run server-side logic without writing a dedicated plugin
- Load JavaScript and CSS files: Enqueue remote or local asset files site-wide or on specific pages
- Header, Body and Footer Positions: Add scripts, meta tags, and conversion pixels exactly where they need to go
- Article Auto-Insert Positions: Push custom HTML and widgets into all Joomla articles without editing any template override
- Administrator Positions: Inject code into backend pages without touching a single admin template file
- Load Snippets via Shortcode: Create reusable content snippets that load via a shortcode wherever text is accepted and pass custom parameters for dynamic output
- Conditional logic: Restrict when a snippet loads at all (by URL, page, device, user group, or any combination), and use inline
{if}shortcode tags inside HTML snippets to conditionally show or hide parts of the output - Enable or disable any snippet in one click: No code changes, no file editing, no risk
- Error handling: If a snippet throws an error, the component catches it and prevents it from breaking your site
- AI-powered assistance: Create, review, and improve snippets with the help of AI directly inside the editor, without leaving the component
- Import and export: Move snippets between staging and production in seconds
Instead of scattering code across template files or accumulating single-purpose plugins, you get one organised place for every customisation on every site. And with AI doing the heavy lifting on the code itself, you don't need to be a developer to use any of it, just describe what you need, paste the result, and you're done.
Who Is It For?
Website Developers
- Add tracking codes without template modifications
- Implement custom functionality via PHP event hooks
- Test and debug code safely with enable/disable toggle
- Maintain multiple sites efficiently
Site Owners
- Make simple styling changes without hiring a developer — ask ChatGPT for a snippet, copy and paste it, and you're done
- Add marketing pixels and analytics scripts
- Insert custom HTML widgets and CTAs
- Keep customizations safe from updates
Agencies
- Deliver client customizations that survive updates
- Reduce support burden from lost customizations
- Document changes clearly with snippet names and notes
- Scale solutions across multiple client sites
Getting Started
Ready to start using Tassos Code Snippets?
- Install the extension
- Create your first snippet
- Explore the documentation to discover all capabilities
Start using Tassos Code Snippets today and take control of your site customizations!