summaryrefslogtreecommitdiff
path: root/docs/tutorials/cmf/skins.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-07-02 08:04:29 +0000
committerChris McDonough <chrism@agendaless.com>2009-07-02 08:04:29 +0000
commit2b804317d0470d1417996bd1b0a40a4d115b3721 (patch)
treed25103aab960b6dedbf8a3ada2b7247d2ba4d4b5 /docs/tutorials/cmf/skins.rst
parente60df41736efca565ce118d4cb6ca0eaced0261f (diff)
downloadpyramid-2b804317d0470d1417996bd1b0a40a4d115b3721.tar.gz
pyramid-2b804317d0470d1417996bd1b0a40a4d115b3721.tar.bz2
pyramid-2b804317d0470d1417996bd1b0a40a4d115b3721.zip
Mention resources.
Diffstat (limited to 'docs/tutorials/cmf/skins.rst')
-rw-r--r--docs/tutorials/cmf/skins.rst20
1 files changed, 14 insertions, 6 deletions
diff --git a/docs/tutorials/cmf/skins.rst b/docs/tutorials/cmf/skins.rst
index ab9bb5cb1..549fb4621 100644
--- a/docs/tutorials/cmf/skins.rst
+++ b/docs/tutorials/cmf/skins.rst
@@ -11,12 +11,20 @@ layers" grouped in a particular order forms a "skin". "Add-on" CMF
products often provide skin layers that are activated within a
particular skin to provide the site with additional features.
-:mod:`repoze.bfg` itself has no such concept, and no package provides
-a direct replacement, but bfg :term:`view` code combined with
+To override static resources using a "search path" much like a set of
+skin layers, :mod:`repoze.bfg` provides the concept of
+:term:`resource` overrides. See :ref:`overriding_resources_section`
+for more information about resource overrides.
+
+While there is no analogue to a skin layer search path for locating
+Python code (as opposed to resources), :term:`view` code combined with
differing :term:`request type` attributes can provide a good deal of
-the same sort of behavior. The `repoze.bfg.skins
-<http://svn.repoze.org/repoze.bfg.skins/>`_ package is an attempt to allow
-directories on disk to represent collections of templates, each of
-which can be thought of as a minimal skin.
+the same sort of behavior. See
+:ref:`using_an_event_to_vary_the_request_type` for more information.
+
+Relatedly, the `repoze.bfg.skins
+<http://svn.repoze.org/repoze.bfg.skins/>`_ package is an attempt to
+allow directories on disk to represent collections of views simply by
+adding templates to the directory.