Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp_enhanced_link: the enhanced link datatype

This page is for site builders who install Netgen based content classes or demo data. exp_enhanced_link ("Exponential Enhanced Link") provides the ngenhancedlink field type of the Netgen packages for Exponential 6, so…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/6.0/extensions/exp_enhanced_link.md

On this page

exp_enhanced_link: the enhanced link datatype

This page is for site builders who install Netgen based content classes or demo data. exp_enhanced_link ("Exponential Enhanced Link") provides the ngenhancedlink field type of the Netgen packages for Exponential 6, so that content classes and demo data that use it can be installed and rendered.

What one attribute holds

  • an internal target (a content or location id) or an external URL;
  • a target mode: link, link_new_tab, embed or modal;
  • an optional label and an optional URL suffix.

The value is stored as JSON in data_text with a sort_key_string reference, which matches the Netgen persistence format. The datatype implements fromString() and toString() for package import and export, supports search indexing (metaData(), sortKey(), title()), and ships basic admin edit and view templates.

Set it up

It needs the PHP json extension. After activating the extension, run:

php bin/php/ezpgenerateautoloads.php -e
php bin/php/ezcache.php --clear-all --allow-root-user

Then add an attribute of the enhanced link type to a class in Setup > Classes.

What changed

VersionDateChange
1.0.07 August 2026First import.
1.0.1An object_serialize_map declares data_text as text, so link values are kept when content is exported, duplicated or copied (before, they were lost during serialization).
1.0.2serializeContentClassAttribute() and unserializeContentClassAttribute() keep the class setting data_text5 when classes are exported and imported with the package system.
1.0.3, 1.0.4Translations with German; the about page names the extension "Exponential Enhanced Link" (it used the directory name).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x