Download the PHP package se7enxweb/expfckeditorhtmlblock without Composer
On this page you can find all versions of the php package se7enxweb/expfckeditorhtmlblock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download se7enxweb/expfckeditorhtmlblock
More information about se7enxweb/expfckeditorhtmlblock
Files in se7enxweb/expfckeditorhtmlblock
Package expfckeditorhtmlblock
Short Description Add Simple To Use HTML Block With HTML Editor Toolbar capabilities to Exponential
License GPL-2.0-or-later
Informations about the package expfckeditorhtmlblock
expfckeditorhtmlblock — FCKeditor HTML Block Datatype
An eZ Publish extension that replaces the standard HTML text area with a full
FCKeditor 2.x WYSIWYG rich-text editor for the ezhtml datatype.
Originally based on SmileFCKeditor by Smile (2006). Maintained and updated for PHP 8 compatibility and modern browser support.
Features
- Replaces plain
<textarea>inputs with an embedded FCKeditor 2 instance - Configurable toolbar sets via
fckeditor/fckconfig.js - Two optional eZ Publish content-browser plugins:
- expeZlink — browse and insert links to eZ Publish content objects
- expeZimage — browse and insert images from the eZ Publish media library
- Template operator
explinktomediaconvertsexpobject://<node_id>URIs into resolved links at render time - Media browser with list, detailed, and thumbnail views
- Full WYSIWYG editing including tables, lists, colours, special characters, page breaks, and smileys
- Source view toggle for direct HTML editing
Requirements
- eZ Publish 4.x / Exponential CMS
- PHP 7.4 or 8.x
- JavaScript enabled in the browser
- Apache
mod_rewriteor nginx equivalent
Installation
1. Place the extension
Copy or symlink the expfckeditorhtmlblock directory into your eZ Publish
extension/ folder.
2. Add rewrite rules
Add the following lines to your .htaccess (or nginx equivalent) before
the catch-all RewriteRule .* index.php line:
3. Enable the extension
Either via the back-office (Setup → Extensions) or by adding to your
settings/override/site.ini.append.php:
4. Clear caches
Clear both eZ Publish caches and your browser cache after installation:
Configuration
Toolbar
Edit fckeditor/fckconfig.js and modify the FCKConfig.ToolbarSets["Default"]
array to enable or reorder toolbar buttons.
Optional content-browser plugins
Uncomment the relevant lines in fckeditor/fckconfig.js:
Custom configuration file per template
In design/standard/templates/content/datatype/edit/ezhtml.tpl, the config
path can be made conditional:
Internal URL scheme
The explinktomedia template operator resolves internal object references of
the form expobject://<node_id> into full URLs at render time. These are
generated by the content browser and stored in the HTML content.
File structure
Upgrading from smilefckeditor
If upgrading from the original smilefckeditor extension:
- The extension directory must be renamed from
smilefckeditortoexpfckeditorhtmlblock(or symlinked). - All stored content using
smileobject://URIs must be migrated toexpobject://— a database search-and-replace on theezcontentobject_attributedata_textcolumn is required. - Update
.htaccessrewrite rules (see Installation § 2). - Update
ActiveExtensionsin your site INI settings. - Clear all caches.
License
GNU Lesser General Public License v2 — see fckeditor/license.txt.