Skip to main content

UNKNOWN

Project description

ftw.subsite

ftw.subsite provides a Subsite content type for embedding another website within a Plone site. It does this by defining it as navigation root.

Additional functionality provided by ftw.subsite

  • It is possible to define a language on a subsite content, which overrides the default behavior of how Plone deals with languages (PloneLanguageTool). If you define a language on a subsite all content on and in the subsite will be delivered in the chosen language. This functionality is not related to the product LinguaPlone.

    Make sure you have all languages activated you want, for example:

    environment-vars =
        PTS_LANGUAGES de en fr
        zope_i18n_allowed_languages de en fr
  • ftw.subsite has its own language switch viewlet which is based on the Subsite configuration. You can connect two or more subsites with different languages together by referencing each other with the custom reference field on the Subsite.

  • Custom CSS for a Subsite

  • Custom Logo for a Subsite. The logo is registered with a different name subsite.logo. The setup of ftw.subsite hides the default plone logo. You can change this afterwards if you like.

Compatibility

Plone 4.3

https://jenkins.4teamwork.ch/job/ftw.subsite-master-test-plone-4.3.x.cfg/badge/icon

Plone 4.2

https://jenkins.4teamwork.ch/job/ftw.subsite-master-test-plone-4.2.x.cfg/badge/icon

Plone 4.1

https://jenkins.4teamwork.ch/job/ftw.subsite-master-test-plone-4.1.x.cfg/badge/icon

Usage

  • Add ftw.subsite to your buildout configuration:

[instance]
eggs +=
    ftw.subsite
  • Install the generic import profile.

Changelog

1.3.0 (2013-09-24)

  • Added browserview returning available languages. [Julian Infanger]

  • Refactor the language selector to be a “actionMenu” instead of a linklist and show the language selector on the site root too, when subsites are configured to show the site root as language. [jone]

  • Fixed problem if the subsite logo is deleted. [Julian Infanger]

  • Hide banner viewlet from folder_contents when root_only option enabled. [jone]

1.2.0 (2013-07-02)

  • Add checkbox for showing Plone Site in language switcher. [jone]

  • Added css-class to subsite logo. [Julian Infanger]

  • Use native languagename for languageswitcher. [tschanzt]

1.1.4 (2013-06-04)

  • Use SitemapQueryBuilder not NavtreeQueryBuilder for sitemap customization. [mathias.leimgruber]

1.1.3 (2013-06-04)

  • Fix performance issue while rendering the teaser portlet. [mathias.leimgruber]

1.1.2 (2013-06-04)

  • Make sitemap work relative to a subsite and plone root. [mathias.leimgruber]

  • Set input/output mime type of the addition_css text area to text/plain. Also return the addional_css as structured text. [mathias.leimgruber]

1.1.1 (2013-06-03)

  • Use logo image scale for logo instead of mini. [Julian Infanger]

  • Updated translations for teaser portlet. [Julian Infanger]

1.1 (2013-05-24)

  • Move subsite css viewlet into plone.portaltop manager. [mathias.leimgruber]

  • Use plone default reference widget to make references between subsites (lanaguage selector). [mathias.leimgruber]

  • Find banner images recursively. [mathias.leimgruber]

1.0 (2013-04-17)

  • inital release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ftw.subsite-1.3.0.zip (68.4 kB view details)

Uploaded Source

File details

Details for the file ftw.subsite-1.3.0.zip.

File metadata

  • Download URL: ftw.subsite-1.3.0.zip
  • Upload date:
  • Size: 68.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ftw.subsite-1.3.0.zip
Algorithm Hash digest
SHA256 2086054f82e23b1c7d9273f54cd59289cb82b9633fcbc047eab8a5daab04fc8d
MD5 99237859eaffae84c4ef40a9bd3ad8d4
BLAKE2b-256 e46be9201f37ece4e163b6a54c466cdd304e25d808238b1f4f4c8a0abe89a788

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page