UI for sections configured with their own domain
UI for sections of site configured with their own domain.
Those sections are named mini sites.
When a mini site is traversed, the request is marked with
IInMinisite if the domain used is the mini site domain,
IInPortal if the domain used is the portal domain.
The request is also decorated with a cpskin_minisite attribute which holds an instance of cpskin.minisite.minisite.Minisite class.
The instance has the following attributes :
The url under which the portal is served.
The url under which the section is served as a minisite.
The urls under which the section is served as a minisite. Use minisite_url OR minisite_urls (urls are separeted with coma)
The location of the section, expressed as a path from the Zope root.
Is the current request served as minisite ?
Is the current request served as portal ?
The mini sites are configured by placing files in directory named minisites inside the CLIENT_HOME directory.
The CLIENT_HOME directory is found inside the var directory in a standard instance built with buildout recipe plone.recipe.zope2instance.
Typically, the files must be saved in buildout_dir/var/instance/minisites.
The configuration file is a INI-file format file. Each section is configured as below:
[/plone/folder/minisite] minisite_url = http://minisite/url portal_url = http://localhost
Where the section name is the minisite path from the Zope root. The minisite_url holds the url with the specific domain under which the minisite must be served. The portal_url holds the url with the specific domain under which the portal is served.
Godefroid Chapelle, Original Author [Bubblenet]
Laurent Lasudry [Affinitic]
Benoit Suttor [IMIO]
Christophe Boulanger [IMIO]
Leonardo J. Caballero G. [Plone Venezuela]
WEB-3377: Fix traversing redirection where there are views / attributes in URL [laulaz]
WEB-3436: Also transform img src for content coming from portal [laulaz]
Begin to fix tests, but I have to comment all of tests. I think there is an issue during initialisation of minisite. [bsuttor]
Fix bug when rss_feed_view is apply in minisite context. [boulch]
Fix problem with external url transformation : WEB-3375 [laulaz]
Add more improvements for i18n support [macagua]
Avoid error when there is no HOSTNAME env variable [laulaz]
Tag minisite folders only on instance1 to avoid conflict error. [bsuttor]
Open links to portal in new window : WEB-3013 [laulaz]
Add id to fix Diazo rules in several themes : WEB-2976 [laulaz]
Breathcrumb in minisite mode has no more link to portal. [bsuttor]
Fix / improve herited content href transformation and redirection (WEBNAM-209) - herited content will be found event in the parents of a content with same id - language is now properly handled - href transformation works now also on specific areas outside of content-core and viewlet-below-content-body : just use parsable-content class - optimizations have been made [laulaz]
Remove collective.redirectacquired as it is no longer needed [laulaz]
Add new viewlet menu for dropdown : WEBOTT-9 The viewlet is hidden for now [laulaz]
Code cleanup [laulaz]
Add event notification when marking a minisite [laulaz]
Do not try to change Unauthorized url. [bsuttor]
Remove /index_html from redirect urls. [bsuttor]
Transform check if href is find. [bsuttor]
Check UnicodeEncodeError on transform url. [bsuttor]
Improve transform. [bsuttor]
Sometimes a tag has no href. [bsuttor]
Also check if minisite path is published on starting. [bsuttor]
Improve way to mark minisite on startup. [bsuttor]
Add transform to change a href link on content-core and viewlet-below-content-body div. [bsuttor]
Redirect requests that use acquisition to access portal content from minisites. [laulaz]
Remove IMinisiteRoot marker interface on uninstall. [bsuttor]
sitemap.xml.gz view is now callable from minisites. [bsuttor]
Use collective.redirectacquired to block acquisition : #21570 [laulaz]
Improve minisites_panel view. [bsuttor]
Fix publishTraverse to work with plone.restapi. [bsuttor]
Minisite publishTraverse inherit of REST plublishTraverse to work with plone.restapi. [bsuttor]
Allow registration on minisite [mpeeters]
Ensure minisite actions are sorted correctly (position in parent folder) [laulaz]
Add local actions (in minisites) to minisite viewlet : content tagged with minisite-action hidden keyword appears there [laulaz]
Move CPSkin actions to a new dedicated menu [laulaz]
Fix / improve tests interfering with footer sitemap content [laulaz]
Traverse also into plone.app.contenttypes folders. [bsuttor]
Add css class for home object. [bsuttor]
Add utils for getting minisite object. [bsuttor]
Minisite viewlet is also visible on portal. [bsuttor]
Add a viewlet with an horizontal menu for minisite. [bsuttor, cboulanger]
Add minisite_urls attribute.
Add minisite portlet on top of right column (affinitic #5859)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.