- eZ Publish 4.3+
- eZ JSCore
- eZ Find (used for tags suggestion, related tags feature and tag cloud over Solr)
If upgrading the extension, see upgrading instructions
IMPORTANT NOTE: There is a bug in eZ Image Editor 1.1 extension (ezie
, released with eZ Publish 4.4)
that prevents eZ Tags datatype from functioning if your site is using jQuery version 1.4.3 and above.
This bug is fixed in extension version 1.2 (released with eZ Publish 4.5). To fix this, upgrade the
extension to 1.2, or downgrade your jQuery to 1.4.2.
Bug fix commit is located here
Since eZ Publish 5.0 and merging and renaming of admin2
design into admin
, admin2
is no longer turned on in clean installs of
eZ Publish. For backwards compatibility with eZ Publish 4.x, admin2
design in eZ Tags cannot be renamed to admin
.
To use eZ Tags in eZ Publish 5.x, please make sure to set the admin2
design as the main design for your administration
siteaccess by setting the following configuration in site.ini.append.php
[DesignSettings]
SiteDesign=admin2
AdditionalSiteDesignList[]=admin
Unpack the downloaded package into the extension
directory of your eZ Publish installation.
Extension requires two additional tables to be added to your database. Use the following command from your eZ Publish
root folder, replacing user
, password
, host
and database
with correct values and removing double quotes
mysql -u "user" -p"password" -h"host" "database" < extension/eztags/sql/mysql/schema.sql
Activate the extension by using the admin interface ( Setup -> Extensions ) or by
prepending eztags
to ActiveExtensions[]
in settings/override/site.ini.append.php
:
[ExtensionSettings]
ActiveExtensions[]=eztags
Run the following from your eZ Publish root folder
php bin/php/ezpgenerateautoloads.php --extension
Or go to Setup -> Extensions and click the "Regenerate autoload arrays" button
Clear all caches (from admin 'Setup' tab or from command line).
-
Copy or symlink
index_treemenu_tags.php
from this extension to the root folder of eZ Publish (next toindex.php
) -
Add the following rewrite rule:
.htaccess
RewriteRule tags/treemenu/? index_treemenu_tags.php
RewriteRule ^index_treemenu_tags\.php - [L]
Virtual Host mode
RewriteRule tags/treemenu/ /index_treemenu_tags.php [L]
For anonymous users to be able to see tags on your site, grant access to view
function of tags
module to Anonymous role
eZ Find is used for tag suggestions, tags cloud over Solr and fetching of related tags. eZ Find is NOT REQUIRED to be enabled if you
will not use these features. However, if you wish to use them, you'll need to activate eZ Find and patch the schema.xml
file inside
eZ Find extension with lines below.
Edit the file extension/ezfind/java/solr/conf/schema.xml
, add the following inside <fields>
element and then restart Tomcat/Jetty:
<field name="ezf_df_tags" type="lckeyword" indexed="true" stored="true" multiValued="true" termVectors="true"/>
<field name="ezf_df_tag_ids" type="sint" indexed="true" stored="true" multiValued="true" termVectors="true"/>