Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

theme docs updated.

  • Loading branch information...
commit 5365491323dff89e45443676c729a99a97f47868 1 parent a9b50ae
Timo Stollenwerk authored
View
17 docs/source/dexterity.txt
@@ -93,6 +93,14 @@ setup.py::
'collective.autopermission',
],
+
+Generic Setup Profil erstellen
+------------------------------
+
+Generic Setup Verzeichnis erstellen::
+
+ $ mkdir -p src/froscon.contenttypes/froscon/contenttypes/profiles/default
+
profiles/default/metadata.xml::
<metadata>
@@ -103,9 +111,6 @@ profiles/default/metadata.xml::
</metadata>
-Generic Setup Profil erstellen
-------------------------------
-
Generic Setup Profile erstellen::
$ cd src/froscon.contenttypes/froscon/contenttypes/profiles/default
@@ -169,9 +174,11 @@ types/referent.xml::
</action>
</object>
-Restart instance
+Restart instance::
+
+ $ ./bin/instance fg
-Installiere das neu erstellte Paket:
+Installiere das neu erstellte Paket::
.. image:: _images/dexterity_install_contenttypes.png
View
42 docs/source/theming.txt
@@ -69,21 +69,17 @@ profiles/default/theme.xml::
profiles/default/registry.xml::
- <registry>
+ <registry>
- <record interface="plone.app.theming.interfaces.IThemeSettings" field="theme">
- <value>http://www.froscon.de/en/home/home.html</value>
- </record>
+ <record field="absolutePrefix" interface="plone.app.theming.interfaces.IThemeSettings">
+ <value>http://froscon.org</value>
+ </record>
- <record interface="plone.app.theming.interfaces.IThemeSettings" field="absolute_prefix">
- <value>http://www.froscon.org/</value>
- </record>
+ <record interface="plone.app.theming.interfaces.IThemeSettings" field="readNetwork">
+ <value>true</value>
+ </record>
- <record interface="plone.app.theming.interfaces.IThemeSettings" field="readNetwork">
- <value>true</value>
- </record>
-
- </registry>
+ </registry>
profiles/default/cssregistry.xml::
@@ -124,21 +120,21 @@ static/manifest.cfg::
static/rules.xml::
- <?xml version="1.0" encoding="UTF-8"?>
- <rules
- xmlns="http://namespaces.plone.org/diazo"
- xmlns:css="http://namespaces.plone.org/diazo/css"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <?xml version="1.0" encoding="UTF-8"?>
+ <rules
+ xmlns="http://namespaces.plone.org/diazo"
+ xmlns:css="http://namespaces.plone.org/diazo/css"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <theme href="http://www.froscon.de/en/home/home.html" css:if-content="#visual-portal-wrapper" />
- <replace css:content-children="#content" css:theme-children="#linksmitte-spalte" />
+ <theme href="http://www.froscon.de/en/home/home.html" css:if-content="#visual-portal-wrapper" />
+
+ <replace css:content-children="#content" css:theme-children="#linksmitte-spalte" />
- <!-- Do not apply theme for jquery tools popups -->
- <notheme css:if-content="#document-base-edit" />
+ <notheme css:if-content="#document-base-edit" />
- <before css:theme-children="body" css:content="#plone-cmsui-trigger" />
+ <before css:theme-children="body" css:content="#plone-cmsui-trigger" />
- </rules>
+ </rules>
Lokales Theme::
View
1  src/froscon.policy/froscon/policy/profiles/default/metadata.xml
@@ -2,5 +2,6 @@
<version>1</version>
<dependencies>
<dependency>profile-Products.PloneFormGen:default</dependency>
+ <dependency>profile-plone.app.cmsui:default</dependency>
</dependencies>
</metadata>
View
1  src/plonetheme.froscon/setup.py
@@ -26,6 +26,7 @@
install_requires=[
'setuptools',
'plone.app.theming',
+ 'plone.app.cmsui',
],
entry_points="""
# -*- Entry points: -*-
Please sign in to comment.
Something went wrong with that request. Please try again.