Repository navigation
Releases
v1.1.4: official status Supported
v1.1.3 — Composer type exponential-extension
The Composer type exponential-extension
The package type is now exponential-extension, and the package requires
se7enxweb/exponential-legacy-installer: ^2.2.6, the installer that places both exponential-extension and the
original ezpublish-legacy-extension in extension/. A project with an older installer gets 2.2.6 with this
release, in the same composer require or composer update. The extension folder name is unchanged.
ezinfo.php and extension.xml carry the version 1.1.3.
Commits
ef6a69aAdded: CI through the shared extension workflow927e834Updated: The copyright notice reads "Exponential Foundation and 7x; All rights reserved." with a semicolonecff67cUpdated: Version 1.1.3, with the Composer type exponential-extension
v1.1.2
eZ Url MultiSite 1.1.1
Links to content of another site of a multisite installation now point to the siteaccess that serves that content.
- Updated:
ezurlfinds the siteaccess a link belongs to (by root node for nodes, by the longest PathPrefix for URL alias strings, without a database query) and builds the address there, e.g./video/...instead of/bold/fit-healthy/video/...(404). Links within the current site, module links and every link on a siteaccess that does not take part (the administration) are unchanged. - Added:
[MultisiteSettings]SiteAccessList[],RootNodeList[],ResolveUnprefixedPaths. - Added:
eZURLMultisiteURLOperator(extends the kernel'seZURLOperator), registered for all its operator names; no kernel override and noEZP_AUTOLOAD_ALLOW_KERNEL_OVERRIDEneeded. - Added:
settings/site.ini.append.php(ExtensionAutoloadPath) andextension.xml. - Added:
eZURLMultisite::isActive()/crossSiteURL()for extensions that build content links themselves. - Updated: host-relative links on the current host (scheme and port kept), per-request state reset for persistent workers, PHP 8 fixes.
- Removed: the stale kernel override copy of
kernel/common/ezurloperator.php.
eZ Url MultiSite 1.1.0
Adds a [PathMap] INI setting for convention-based siteaccess override, allowing specific content tree paths to be forced to a target siteaccess before PathPrefix detection.
eZ Url MultiSite 1.0.1
What's new in 1.0.1
This release turns the built-in ezurl template operator into a multi-siteaccess-aware URL generator while keeping the original |ezurl API unchanged.
Features
- Cross-siteaccess absolute URLs:
|ezurlnow detects the correct target siteaccess fromPathPrefixor by resolving the content node from the URL alias, and emitshttp(s)://<host>/<path>when linking across siteaccesses. - Backward-compatible API: existing
{$node.url_alias|ezurl}calls continue to work unchanged. - Optional advanced parameters: a third
parametershash addsabsolute,siteaccess,protocol,hash,query,user_parameters,no_self_link,node_id, andlink_type. - Protocol / HTTPS: absolute URLs default to the current request scheme (HTTPS on an HTTPS page);
protocolcan override tohttp,https, or//(protocol-relative). - New operators:
ezurl_path,ezurl_siteaccess, andezurl_rootsfor advanced multi-site lookups. - Configuration:
ezurlmultisite.inisupports host overrides, role-based siteaccess selection, class-based link type mapping, disable lists, and a pluggable datatype handler interface. - Built-in datatype handlers:
ezurl/ezstring,ezbinaryfile(download links), andezobjectrelation.
Files added
classes/ezurlmultisite.phpclasses/ezurlmultisiteoperator.phpclasses/ezurlmultisitedatatypehandler.phpclasses/ezurlmultisiteurlhandler.phpclasses/ezurlmultisitebinaryfilehandler.phpclasses/ezurlmultisiteobjectrelationhandler.phpautoloads/eztemplateautoload.phpsettings/ezurlmultisite.ini- Updated
classes/kerneloverride/v2025.01.15/kernel/common/ezurloperator.php - Updated
README.md - Updated
ezinfo.phpto version 1.0.1
1.0.0.0
Full Changelog: https://github.com/se7enxweb/ezurlmultisite/commits/1.0.0.0