-
-
- Submit Updated Articles to Bing and Yandex with IndexNow in Joomla
- Add Published and Modified Date Meta Tags to Joomla
- Add Open Graph and Twitter Card Tags to Joomla
- Auto-Generate Meta Descriptions from Article Text in Joomla
- Add Noindex to Specific Pages in Joomla
- Verify Your Joomla Site with Google Search Console
-
- Add a View as Markdown Link to Joomla Articles
- Display the Last Modified Date in Joomla Articles
- Embed Iframes in Joomla
- Automatically Link Twitter (X) @mentions in Joomla Articles
- Open External Links in a New Tab in Joomla
- Display Estimated Reading Time in Joomla Articles
- Replace Old URLs in Joomla
- Search and Replace in Joomla
-
- Add a Footer Line to the Joomla Administrator
- Show a Staging Banner in the Joomla Administrator
- Remove the "All" Option from Admin List Limits in Joomla
- Add a Cookie Consent Banner to Joomla
- Make the Administrator Navigation Sticky in Joomla
- Add Google Fonts to Joomla
- Add a Facebook Messenger Chat Button to Joomla
- Add a Reading Progress Bar to Joomla
- Add a Custom Scrollbar to Joomla
- Show Confetti on a Thank You Page in Joomla
- Add Smooth Scrolling to Joomla
- Add a Back to Top Button in Joomla
- Add a WhatsApp Chat Button in Joomla
-
- Protect the Administrator with a Secret URL Key in Joomla
- Show a Welcome Message on First Login in Joomla
- Log Out Idle Administrators in Joomla
- Assign New Users to a Different User Group Automatically in Joomla
- Redirect Visitors by Country in Joomla
- Redirect Users After Login by User Group in Joomla
- Block User Registration with Certain Usernames in Joomla
- Block User Registration by Country in Joomla
- Block User Registration by Email Address in Joomla
- Block User Registration by IP Address in Joomla
- Remove the Forgot Password and Username Links in Joomla
- Remove the Generator Meta Tag in Joomla
- Let Users Log In with Their Email Address in Joomla
- Block Traffic by Country in Joomla
- Block Bot Traffic in Joomla
- Block Traffic by IP Address in Joomla
What is Tassos Code Snippets
One place to write, organize and run custom CSS, JavaScript, HTML and PHP on your Joomla site, with no template edits and no single-purpose plugins.
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: 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 Locations: Add scripts, meta tags, and conversion pixels exactly where they need to go
- Article Auto-Insert Locations: Push custom HTML and widgets into all Joomla articles without editing any template override
- Admin Locations: Inject code into backend pages without touching a single admin template file, and run PHP in the administrator with the Admin Page Load location
- 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 or causes a fatal error, the component disables it before it can break your site, and a safe mode switch pauses every snippet when you need to recover
- AI-powered assistance: Create, review, and improve snippets with the help of AI directly inside the editor, without leaving the component
- Import and Export Snippets: 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!