-
-
- 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
Import and Export Snippets
Back up your snippets, share them with your team, or move them from staging to production in a few clicks.
Tassos Code Snippets lets you export snippets to a file and import them back on the same or a different Joomla installation. This is useful for backing up your snippets, sharing them with other developers, or moving them between staging and production environments.
Exporting Snippets
Follow these steps to export one or more snippets from your site to a .tcs file.
- Log in to your Joomla backend
- Go to Components → Tassos Code Snippets
- In the snippets list, tick the checkbox next to each snippet you want to export, you can select as many as you need in a single export
- Click the Actions dropdown in the toolbar (the button with the ellipsis icon)
- Click Export
- The file downloads automatically to your browser's default download folder
About the Export File
The export file uses the .tcs extension (Tassos Code Snippets). When exporting a single snippet, the file is named after the snippet's title (e.g. My Analytics Script.tcs). When exporting multiple snippets, the file is named with the current date (e.g. snippets-2026-02-20.tcs).
It is a structured JSON file that contains all snippet data, including:
- Title and alias
- Code and code type (HTML, JS, CSS, PHP)
- Insertion method and location
- Publishing rules and parameters
- Category, access level, language, and note
The following fields are intentionally excluded from the export as they are site-specific and would not be meaningful on another installation:
- Internal ID
- Author information (created by, modified by)
- Timestamps (created, modified)
- Ordering
- Checked-out state
Importing Snippets
Follow these steps to import snippets from a .tcs file into your site.
- Log in to your Joomla backend
- Go to Components → Tassos Code Snippets
- Click the Import button in the toolbar of the snippets list
- Click Choose File and select a
.tcsexport file from your computer - Click Upload & Import
What Happens During Import
- Each snippet in the file is created as a new record, regardless of whether a matching snippet already exists — existing snippets are never overwritten
- All imported snippets are set to Unpublished so you can review them before making them live
- If an alias from the import file already exists, a numeric suffix is appended automatically (e.g.
my-snippetbecomesmy-snippet-2). If the snippet uses the shortcode insertion method, the shortcode will reflect the new alias — for example{tcs snippet.my-snippet-2}— So any places in your content where you call the original shortcode will need to be updated accordingly - All other fields — title, code, code type, insertion method, location, publishing rules, parameters, category, access level, language, and note — are restored exactly as they were at the time of export
Troubleshooting
The Export button does nothing
You must select at least one snippet before clicking Export. The button requires a row selection to be active.
Import fails with "Invalid file" error
- Make sure the file has a
.tcsextension - The file must be a valid export produced by Tassos Code Snippets — do not modify the file manually
- The file must not be empty or corrupted
Category is missing after import
Categories are referenced by ID. If the category ID from the source site does not exist on the destination site, the snippet will be placed in the default (uncategorised) category. Assign the correct category manually after import.