se7enxweb / owmultisite
eZ Publish extension which provides template operators to use to build flexible multi website content handling. Time Tested. Great for all ecommerce websites. Great for smart developers!
Fund package maintenance!
se7enxweb
Patreon
www.paypal.me/7xweb
account.venmo.com/u/se7enxweb
cash.app/$7xweb
se7enx.com
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 4
Open Issues: 0
Type:ezpublish-legacy-extension
Requires
- php: >=5.0.0
- se7enxweb/ezpublish-legacy-installer: *
This package is auto-updated.
Last update: 2024-12-06 01:59:44 UTC
README
owmultisite provides multisite features for eZPublish >= 4.4
#Features
- owurl : Multisite ezurl operator :
{$node_id|owurl()}
,{$node|owurl()}
,{$node|owurl( 'my_siteaccess' )}
,{$node|owurl( 'my_siteaccess', 'full|relative' )}
- owini : Multisite ezini operator :
{owini( 'SiteSettings', 'SiteURL', 'site.ini', 'my_siteaccess' )}
- owini_hasvariable : Multisite ezini_hasvariable operator :
{owini_hasvariable( 'SiteSettings', 'SiteURL', 'site.ini', 'my_siteaccess' )}
#Usage
owurl
operator will automatically find which siteaccess contains your node, and will generate an url according to this siteaccess.
You also can specify a siteaccess if you want to force this.
This operator supports host, PathPrefix and SiteURI settings.
owini
allows you to read settings for a specific siteaccess, even if it is not current siteaccess.
#Installation
##Extension activation
-
Put content on extension in "extension/owmultisite" folder
-
Activate extension : Add the following to your
settings/override/site.ini.append.php
file:
[ExtensionSettings]
ActiveExtensions[]=owmultisite
-
Regenerate autoloads
-
Clear cache
###Settings for owurl To use owurl operator, please check following settings :
- in
site.ini
:
[SiteSettings]
SiteURL
[SiteAccessSettings]
RelatedSiteAccessList[]
(PathPrefixExclude)
(PathPrefix)
[RegionalSettings]
(SiteLanguageList[])
- in
content.ini
:
[NodeSettings]
RootNode
MediaRootNode
SetupRootNode
DesignRootNode
UserRootNode
- in
owmultisite.ini
to exclude a siteaccess (i.e to avoid links to admin siteaccess)