diff --git a/CodeCorner3.md b/CodeCorner3.md index ff4833f..429ecab 100644 --- a/CodeCorner3.md +++ b/CodeCorner3.md @@ -54,7 +54,7 @@ The optional file setup.inc.php in folder $app/setup?


-Since we had our original application registered manually, we should unregister our baby, to avoid version-number conflicts that may occur, since the manually registered application had no ((VersionNumbers|version number)) at all.
+Since we had our original application registered manually, we should unregister our baby, to avoid version-number conflicts that may occur, since the manually registered application had no Version Number at all.
So It is still there nothing changed so far exept the way we handle the setup.
-With the setup.inc.php we tell eGroupware how to handle our application, apply VersionNumbers and all the other fancy stuff we might need later on.
+With the setup.inc.php we tell eGroupware how to handle our application, apply Version Numbers and all the other fancy stuff we might need later on.
 

Creating an eTemplate for the dialog

Now we need a nice edit dialog and use an editor of our choice to do that.
@@ -86,7 +86,7 @@ Assume that we wanted to name our first eTemplate index.
Step 1
-
create a file index.xet in the templates/default directory of our app test. ...
test/templates/default/index.xet
.
+
create a file index.xet in the templates/default directory of our app test:
test/templates/default/index.xet
.
@@ -97,13 +97,13 @@ Assume that we wanted to name our first eTemplate index.
Step 2
Enter the basics: -``` - - - - - -``` +
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
+<!-- $Id$ -->
+<overlay>
+</overlay>
+
@@ -115,20 +115,20 @@ Assume that we wanted to name our first eTemplate index.
Step 3
put in the basic template structure as it is used througout EGroupware -```xml - - - - -``` + </template> + <template id="test.index" template="" lang="" group="0" version="1.9.001"> + <nextmatch id="nm" options="test.index.rows" header_left="test.index.add" header_right="test.index.dates"/> + </template> +