svn commit: r1814229 - in /ofbiz: ofbiz-framework/trunk/themes/README.md tools/wiki-files/themes/README.md.html

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1814229 - in /ofbiz: ofbiz-framework/trunk/themes/README.md tools/wiki-files/themes/README.md.html

jleroux@apache.org
Author: jleroux
Date: Fri Nov  3 17:26:09 2017
New Revision: 1814229

URL: http://svn.apache.org/viewvc?rev=1814229&view=rev
Log:
Better formatting (not sure the wiki import will work though)

Modified:
    ofbiz/ofbiz-framework/trunk/themes/README.md
    ofbiz/tools/wiki-files/themes/README.md.html

Modified: ofbiz/ofbiz-framework/trunk/themes/README.md
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/README.md?rev=1814229&r1=1814228&r2=1814229&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/README.md (original)
+++ ofbiz/ofbiz-framework/trunk/themes/README.md Fri Nov  3 17:26:09 2017
@@ -23,7 +23,8 @@ Apache OFBiz Themes
 A Theme is an ofbiz component that defines all elements necessary to render all information generated by the screen engine through an embedded technology.
 Currently themes presents in Apache OFBiz use html5/jquery/css to do that.
 
-To realize this, a theme can define some properties that can be necessary, can define its own ftl macro to render the different modelScreen elements and can define its own screen decorator to prepare the final user screen structure for the technology used by the theme.
+To realize that, a theme can define some properties, among them some can be necessary. It can define its own ftl macro to render the different modelScreen elements and can define its own screen decorator to prepare the final user screen structure for the technology used by the theme.
+
 # How to define it
 A theme is a standard component, present in the directory themes or plugins with a file definition present on widget/Theme.xml and support the [widget-theme.xsd](http://ofbiz.apache.org/dtds/widget-theme.xsd)
 
@@ -226,7 +227,7 @@ Now indicate to your theme that you want
 and check the result when you select your theme. The result isn't really interesting but it's to understand how it works.
 
 ## create from scratch
-TODO
+TODO...
 
 # Backware compatibility with OFBiz 16.11 and above
 ## How themes worked before

Modified: ofbiz/tools/wiki-files/themes/README.md.html
URL: http://svn.apache.org/viewvc/ofbiz/tools/wiki-files/themes/README.md.html?rev=1814229&r1=1814228&r2=1814229&view=diff
==============================================================================
--- ofbiz/tools/wiki-files/themes/README.md.html (original)
+++ ofbiz/tools/wiki-files/themes/README.md.html Fri Nov  3 17:26:09 2017
@@ -66,7 +66,9 @@ under the License.
 <h1 id="apache-ofbiz-themes">Apache OFBiz Themes</h1>
 <h1 id="what-is-a-theme">What is a theme</h1>
 <p>A Theme is an ofbiz component that defines all elements necessary to render all information generated by the screen engine through an embedded technology. Currently themes presents in Apache OFBiz use html5/jquery/css to do that.</p>
-<p>To realize this, a theme can define some properties that can be necessary, can define its own ftl macro to render the different modelScreen elements and can define its own screen decorator to prepare the final user screen structure for the technology used by the theme. # How to define it A theme is a standard component, present in the directory themes or plugins with a file definition present on widget/Theme.xml and support the <a href="http://ofbiz.apache.org/dtds/widget-theme.xsd">widget-theme.xsd</a></p>
+<p>To realize that, a theme can define some properties, among them some can be necessary. It can define its own ftl macro to render the different modelScreen elements and can define its own screen decorator to prepare the final user screen structure for the technology used by the theme.</p>
+<h1 id="how-to-define-it">How to define it</h1>
+<p>A theme is a standard component, present in the directory themes or plugins with a file definition present on widget/Theme.xml and support the <a href="http://ofbiz.apache.org/dtds/widget-theme.xsd">widget-theme.xsd</a></p>
 <p>To offer the possibility for end users to select the theme through the &quot;Select Theme Screen&quot;, the theme need to load the entity VisualTheme and one or more entries related to this theme.</p>
 <h1 id="structure-of-theme.xml">Structure of Theme.xml</h1>
 <p>The theme definition file help OFBiz to know what specific rendering the Theme want to use. It's composed by two definition elements and four optional blocks</p>
@@ -215,7 +217,7 @@ under the License.
 <span class="kw">&lt;/theme&gt;</span></code></pre></div>
 <p>and check the result when you select your theme. The result isn't really interesting but it's to understand how it works.</p>
 <h2 id="create-from-scratch">create from scratch</h2>
-<p>TODO</p>
+<p>TODO...</p>
 <h1 id="backware-compatibility-with-ofbiz-16.11-and-above">Backware compatibility with OFBiz 16.11 and above</h1>
 <h2 id="how-themes-worked-before">How themes worked before</h2>
 <p>Before the theme management by model definition, all configurations have been present in the database through entity <strong>VisualTheme</strong> and <strong>VisualThemeRessource</strong>. These ressources were loaded in a <strong>layoutProperties</strong> variable and used directly by decorator screens and ftl templates.</p>