-
-
- 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
Text
Write reusable notices, disclaimers and promos in the familiar Joomla editor, then show them anywhere on your site with no HTML required.
Text snippets are designed for administrators who want to add reusable, formatted content to their Joomla site without writing HTML. Use a Text snippet when you need to insert a paragraph, heading, formatted notice, or any block of copy that may appear in multiple places — such as a disclaimer, a promotional message, or a standard boilerplate. The content is written using Joomla's default WYSIWYG editor, so no coding knowledge is required.
How to Create a Text Snippet
To learn how to create a reusable text snippet in Joomla, follow the steps below:
- Log in to your Joomla administrator
- Go to Components → Tassos Code Snippets
- Click New
- Enter a descriptive Title (e.g. "Cookie Disclaimer")
- Select Text as the Code Type.
- Choose the Insertion Method
- To auto-insert the snippet to a predefined location, select Auto-Insert.
- To insert the snippet manually via a shortcode, select Shortcode.
- When using Auto-Insert, the following locations are available:
- Site Body
- Site Footer
- Admin Body
- Admin Footer
- After Article Title
- Before Article Content
- After Article Content
- When using the Shortcode insertion method, place
{tcs snippet.alias}anywhere Joomla processes content — in articles, modules, or component output. - Write your code in the WYSIWYG editor. You can format text, add links, insert images, and use any feature your site's configured editor provides (e.g. TinyMCE or JCE). The editor output is saved as HTML and injected verbatim at the chosen location.
- Open the Conditional Logic tab to restrict which pages or users the snippet runs on. Leave it empty to run it site-wide. Learn more in Using Snippet Logic.
- Set Status to Published and click Save & Close.
Difference Between Text and HTML Snippets
| Text | HTML | |
|---|---|---|
| Editor | Joomla's default WYSIWYG editor | CodeMirror (code editor) |
| Target user | Content editors with no HTML knowledge | Developers and technical users |
| Input | Formatted text via toolbar | Raw HTML markup |
| Output | Rendered verbatim as HTML | Rendered verbatim as HTML |
| Locations | Site Body, Site Footer, Admin Body, Admin Footer, Article locations | All locations |
| Insertion methods | Auto-Insert and Shortcode | Auto-Insert and Shortcode |
Both types produce identical output — the difference is entirely in the editing experience.
Troubleshooting
Content Not Appearing
- Check snippet status is Published
- Verify the location is appropriate for the page you're viewing
- Check conditional logic settings
- Clear Joomla and browser cache
Formatting Lost After Save
Some editors strip certain HTML tags depending on their configuration. If your formatting is being removed, check your editor's allowed tags / allowed content settings (in TinyMCE this is under Options → Valid Elements).
Content Appearing in Wrong Place
- For inline content alongside article text, use Before Article Content, After Article Content, or Shortcode
- Site Body and Site Footer inject into the raw page buffer and may not appear where expected depending on your template