Reusable Text/HTML Fragments Anywhere is a powerfull extension that helps you include text fragments in your website content. You can make reusable fragments (pieces of text/content) and include them into your content via a tag, like {fragment my-first-fragment}.
If you edit an information page (or category, product or wherever you put the tag), you will still see the tag. But on frontend view of you website all fragment tags will be replaced with the fragment content.
You can use this to insert much used content for instance. Then, if you change the content of the fragment, it changes everywhere you have used the tag.
Dynamic Fragments
You can also use dynamic fragments from OpenCart settings or products, like product price or images, store settings name, address, telephone.
- Fragment {fragment config_name} or {fragment config_logo|format} will display the name (Open Web Creations) and logo of your store.
- Fragment {fragment product|price} within a product description will display the product price (49.99€). If you want to display this product price outside the product page itself, you can use {fragment product|ID|price}, wher ID is the unique product ID.
- With the addon extension Reusable PHP Fragments Anywhere you can program you own custom dynamic fragments.
Reusable Text/HTML Fragments Anywhere provides a very powerful fragments management at OpenCart admin and give you more control over fragments in your website’s content. Plus, using categories also makes fragments easy to manage. Global fragment settings can be set, fragment tag name and the places where to parse. For each new fragment you create it is possible to override the global settings for that particular fragment.
Reusable Text/HTML Fragments Anywhere works on all content (including third party extensions) on you website, like information, category, product and brand pages, forinstance in the description or title elements. Which elements Text/HTML Fragments is working on can be changed, and new elements can be added. Reusable Text/HTML Fragments Anywhere is not altering the content itself, it includes the fragments just before the content is displayed.Supported extensions
- Compatibility: Reusable Text/HTML Fragments Anywhere works well in OpenCart version 2.0.0.0 and above.
- Fragment Management: Reusable Text/HTML Fragments Anywhere allows you to create unlimited fragments as well as categories.
- Debug with logging: The extension can generate html comments in the website content around the fragments. These comments can help you troubleshooting when you don't get the output you expect. The extension can also generate debug logfiles.
- Update Notification: When a new update of the extension is available, a notification will be displayed with changelog.
- Easy and friendly administration.
- Multi-Store support.
- Multi-Language support.
- The extension doesn't overwrite any system files.
- vQmod and Ocmod version available.
- Help text available within the extension.
Compatibility | |
Compatible with | OpenCart 2.x.x and 3.x.x |
Modifies core files | No |
Extension version | v2.4.6 |
Well documented | Yes |
Multi-Language | Yes |
Multi-Store | Yes |
Extension last updated | 07-10-2024 |
vQmod and Ocmod version available | Yes |
License details | |
License Type | Single domain |
Support Type | Premium Support for 1 Year |
* -> Security Fix
# -> Bug Fix
+ -> Addition
^ -> Change
- -> Removed
! -> Note
(Latest version can be downloaded at shop.openwebcreations.eu)
2.4.6 - 07-10-2024
# Bug Fix: License check validation, less checkes for better performance.
2.4.5 - 10-03-2023
+ Add Support for fragments in product attributes.
2.4.4 - 14-10-2022
+ Added admin extension tab for displaying extension (debug)logging.
2.4.3 - 21-07-2022
+ PHP 8.1 support added.
2.4.2 - 11-01-2022
# Bug Fix: Default templates for modules with wrong path in OpenCart 2.3 and above.
2.4.1 - 21-12-2021
# Bug Fix: Admin fragment form validation fixed.
2.4 - 04-12-2021
^ Faster search replace implementation including caching for better performance.
2.3.1 - 11-11-2021
# Bug Fix: Performance issue solved.
2.3 - 09-11-2021
+ Add OCMOD cupport.
2.2.4 - 29-10-2021
# Bug Fix: OC3 Product search autocomplete not working.
2.2.3 - 21-06-2021
# Bug Fix: Solved issue that sometimes the website licence check failed.
2.2.2 - 09-05-2021
# Bug Fix: Conflict solve with adding Language Override Replace Anywhere extension.
2.2.1 - 27-03-2021
# Bug Fix: License check issue!!!
^ Setting for disable/hide demo tabs.
2.2 - 22-03-2021
# Bug Fix: Opencart 3 support
2.1 - 05-04-2020
+ Add Opencart 3 support
2.0 - 27-12-2019
# Bug Fix: Include template now also working in OpenCart 2.2.0.0
+ Add Better CKeditor support
# Bug Fix: Fix for displaying large fragments in the fragment list.
# Bug Fix: Duplicated fragment also copy selected store setting.
1.9 - 03-07-2017
+ Add CKEditor support
+ Add Journal Theme support
# Bugfix, setting 'Parse elements' length can be max 65535 characters.
# Bugfix, include templates where missing after installation
1.8 - 12-02-2017
# Missing summernote script in OpenCart 2.3.x.x
+ Database init script also with parsing elements for product attributes and options.
1.7 - 12-01-2017
# Bugfix: Small bugs resolved.
1.6 - 28-12-2016
^ Removed mb_ functions Added support for ajax requests.
^ Fragments with the same fragment ID is possible to support MultiStore.
+ Extra element parsing in arrays.
# Bugfix, parsing fragments in information pages separately
# Bugfix: Missing language entries.
# Bugfix: Missing template file.
1.5 - 05-09-2016
# Changed: Improved performance
1.4 - 28-08-2016
# Changed: Small bugs resolved.
1.3 - 21-07-2016
# Changed: Small bugs resolved.
+ Add support for OpenCart 2.2.0.0
1.2 - 04-06-2016
# Changed: Small bugs resolved.
1.1 - 22-12-2015:
# Changed: Small bugs resolved.
+ Categories
1.0 - 02-12-2015:
+ Initial version
Support Policy Summary
- We provide support only for valid Open Web Creations product purchases.
- Our reply time is up to 48 hours within business days.
- We reply all support requests in our Support Forum from oldest to newest. Please do not repost if you are not adding essential information to the opened support requests.
- We do not provide support on weekends and national holidays.
- Our support team working hours are from 9 AM - 5 PM (Monday-Friday) at (GMT/UTC +1:00).
- Sometimes we may need access to your FTP and web store admin.
- We cannot guarantee that all of our modules will be out-of-the-box compatible with any other extension, theme or a customized OpenCart.
Introduction
Text/HTML Fragments Replace Anywhere is a powerfull extension that helps you include text fragments in your website content. You can make reusable fragments (pieces of text/content) and include them into your content via a tag, like {fragment my-first-fragment}. You can also use dynamic fragments from OpenCart settings or products, like product price or images, store settings name, address, telephone.
If you edit an information page (or category, product or wherever you put the tag), you will still see the tag. But on frontend view of you website all fragment tags will be replaced with the fragment content. You can use this to insert much used content for instance. Then, if you change the content of the fragment, it changes everywhere you have used the tag.
The Fragment Tag
You can use fragments on all content (including third party extensions) on you website, like information, category, product and brand pages.
Using fragments with params
You are able to pass 'params' with each fragment which can be placed insiede the fragment. This way you can use one snippet and it will generate different output, depending on what you pass along in the tag.
Example:
The fragment
©\2 - \1 - All rights reserved
when used like:
{fragment copyright|Open Web Creations|2015}
would output
©2015 - Open Web Creations - All rights reserved
Using dynamic fragments
You can also use dynamic fragments from OpenCart settings or products, like product price or images, store settings name, address, telephone.
This fragment will display the store name.
{fragment config_name}
This fragment will display the store logo as an image.
{fragment config_logo|format}
Check Dynamic Fragments and examples to see all dynamic fragments.