forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r496131 - /forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-buildPlugin.xml
Date Sun, 14 Jan 2007 20:26:33 GMT
Author: thorsten
Date: Sun Jan 14 12:26:33 2007
New Revision: 496131

Allowing plugins to provide tiles.
Adding note to the plugin howto.


Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-buildPlugin.xml
--- forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-buildPlugin.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-buildPlugin.xml Sun Jan
14 12:26:33 2007
@@ -437,7 +437,7 @@
         that are intended to replace skins in the future. They allow for a much more
         configurable system of defining the contents and look and feel of a site.</p>
-        <p>Plugins can expose contracts and resources for use in structurer files used
+        <p>Plugins can expose contracts, resources  and tiles for use in structurer
files used within
         Dispatcher-based sites. In order to do this you should develop your contracts
         as normal and place them in <code>PLUGIN_HOME/resources/themes</code>.
         this, by itself, is not sufficient to export your contracts. You will also need to
@@ -456,12 +456,17 @@
         <location src="{forrest:forrest.plugins}/PLUGIN_NAME/resources/themes/{properties:dispatcher.fallback.theme}/{1}/{2}.{1}"
-        ]]></source>
+    <match pattern="resolvePluginTiles.**">
+      <select type="exists">
+        <location src="{forrest:forrest.plugins}/PLUGIN_NAME/resources/themes/{properties:dispatcher.theme}/html/{1}.vt.xml"
+        <location src="{forrest:forrest.plugins}/PLUGIN_NAME/resources/themes/{properties:dispatcher.fallback.theme}/html/{1}.vt.xml"
+      </select>
+    </match>]]></source>
         <p>Of course, you should replace <code>PLUGIN_NAME</code> with
the name of 
         your plugin.</p>
-        <p>Once Dispatcher becomes stable we will add this match to the default locationmap
+        <p>Once Dispatcher becomes stable we will add this matches to the default locationmap
         which is generated when you seed a new plugin, but for now it must be done manually.</p>

View raw message