Skip to main content

An example theme that simply help understanding redturtle.subsites features

Project description

Introduction

This is only an example Plone theme, to be used for testing in a simple way all the redturtle.subsites features.

For a complete list of the features, and for know how to configure properly Apache in front of Plone, refer to the documentation.

This is a silly Sunburst extensions with:

  • a different logo image

  • an additional image in the logo viewlet

  • a custom CSS (that make all more gray)

  • a custom JavaScript (that display “Welcome To The demo”)

  • a customized main_template where the footer has been removed

Example details

Let say that you have a Plone site accessible through http://mycompany.com/ , where you didn’t applied any Plone theme (so probably Sunburst base theme).

This will be your back-end URL.

Basic Sunburst view of the main site

Basic Sunburst view of the main site

Accessing the Subsite

If properly configured, when you access the front-end URL, you will see the new theme with all it’s customizations.

The example theme, visiting the Subsite

The example theme, visiting the Subsite

You can also visit a subsite sub-sections:

The example theme, visiting a Subsite folder

The example theme, visiting a Subsite folder

If you don’t provide the optional RequestHeader

As said in the documentation, the use of the Apache RequestHeader can be optional for some themes. Here how you will see the subsite if not provided properly.

The example theme, visiting the Subsite without the proper RequestHeader

The example theme, visiting the Subsite without the proper RequestHeader

As you can see, all CMF skins customization (site logo and main_template) are lost.

A .conf Apache configuration file

Here a part of the Apache configuration file for use this theme with a subpath (http://mycompany.com/subsite):

ServerName mycompany.com
ServerAlias www.mycompany.com
ServerAdmin ...

...

RewriteEngine On

SetEnvIf Request_URI "^/subsite(.*)" SUBSITE
RequestHeader append plone_skin "Example Theme for redturtle.subsites" env=SUBSITE

RewriteRule ^/subsite(.*) \
"http://127.0.0.1:8080/VirtualHostBase/http/%{SERVER_NAME}:80/Plone/++skin++Example Theme for redturtle.subsites/VirtualHostRoot/subsite/$1" [L,P]
ProxyPassReverse /subsite http://127.0.0.1:8080/

RewriteRule ^/(.*) \
"http://127.0.0.1:8080/VirtualHostBase/http/%{SERVER_NAME}:80/Plone/VirtualHostRoot/$1" [L,P]
ProxyPassReverse / http://127.0.0.1:8080/

...

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

0.1.0 (2011-07-29)

  • Initial 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

example.rtsubsites_theme-0.1.0.tar.gz (49.5 kB view details)

Uploaded Source

File details

Details for the file example.rtsubsites_theme-0.1.0.tar.gz.

File metadata

File hashes

Hashes for example.rtsubsites_theme-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05b48bd55eb3c838e8455bf7cf36952b90597c797168c699b68628f49cd66a9d
MD5 186e2b521561431b0c5c0c9e1b2b9f8a
BLAKE2b-256 a91d2a7ed8ff008a4e5f22469182abb3874baa3ef43201d126b4153ed944bc39

See more details on using hashes here.

Supported by

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