taylor 2004/04/08 10:48:50
Modified: tutorial/xdocs navigation.xml index.xml
Added: tutorial/xdocs/1 index.xml logo.xml
Log:
converting tutorial, chapter one
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.2 +3 -2 jakarta-jetspeed/tutorial/xdocs/navigation.xml
Index: navigation.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/tutorial/xdocs/navigation.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- navigation.xml 8 Apr 2004 17:03:54 -0000 1.1
+++ navigation.xml 8 Apr 2004 17:48:50 -0000 1.2
@@ -11,7 +11,7 @@
<item name="Jetspeed-2"
href="http://portals.apache.org/jetspeed-2/"/>
</links>
- <menu name="Getting Started: Installation and Building">
+ <menu name="Getting Started: Install and Build">
<item name="Welcome" href="/index.html"/>
<item name="Prerequisites"
href="/prerequisites.html"/>
<item name="Downloading Jetspeed" href="/downloading.html"/>
@@ -20,7 +20,8 @@
<item name="The Jetspeed Portlet API" href="/portlet-api.html"/>
</menu>
- <menu name="1. Tailoring the Portal Web Design">
+ <menu name="1. The Portal Web Design">
+ <item name="Start" href="/1/index.html"/>
<item name="Change the Portal Logo" href="/1/logo.html"/>
<item name="Modify the Top Navigation" href="/1/topnav.html"/>
<item name="Remove the Left Navigation"
href="/1/leftnav.html"/>
1.2 +1 -1 jakarta-jetspeed/tutorial/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/tutorial/xdocs/index.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- index.xml 8 Apr 2004 17:03:54 -0000 1.1
+++ index.xml 8 Apr 2004 17:48:50 -0000 1.2
@@ -17,7 +17,7 @@
<ul>
<li>Download and Build Jetspeed</li>
<li>Setup your own Portal project</li>
- <li>Tailor the Portal's Design</li>
+ <li>Tailor the Portal Design</li>
<li>Localise Your Portal</li>
<li>Build a Portal Site Map</li>
<li>Implement a Portal Security Policy</li>
1.1 jakarta-jetspeed/tutorial/xdocs/1/index.xml
Index: index.xml
===================================================================
<?xml version="1.0"?>
<document>
<properties>
<author email="[EMAIL PROTECTED]">David Sean Taylor</author>
<title>The Portal Web Design</title>
</properties>
<body>
<section name="The Portal Web Design - Getting Started">
<p>
Tutorial 1 shows you how to tailor the web design of the JPortal portal.
This is accomplished by overriding and merging the Jetspeed portal configuration
property files
using the Jetspeed 1.5 Maven Plugin.
</p>
<p>
In this tutorial, we will:
</p>
<p>
<ul>
<li>1. <a href='logo.html'>Change the Portal Logo</a></li>
<li>2. <a href='topnav.html'>Modify the Top Navigation</a></li>
<li>3. <a href='leftnav.html'>Remove the Left Navigation</a></li>
<li>4. <a href='bottomnav.html'>Replace the Bottom Navigation</a></li>
<li>5. <a href='title.html'>Change the Web Page Title</a></li>
<li>6. <a href='skins.html'>Change the Skin, CSS</a></li>
<li>7. <a href='merge.html'>How Property Merging Works in the Tutorial</a></li>
<li>8. <a href='deploy.html'></a>Deploy</li>
</ul>
</p>
<p>
Lets get started. From the JPortal distribution root directory, type:
</p>
<hr/>
<code>
maven tutorial-1
</code>
<hr/>
<p>
Recommend bringing up these configuration files in your editor:
</p>
<p>
<hr/>
<code>
<ul>
<li>1.webapp/WEB-INF/conf/JPortalJetspeed.properties</li>
<li>2.webapp/WEB-INF/conf/jportal-skins.xreg</li>
<li>3.webapp/WEB-INF/conf/templates/vm/navigations/html/bottom-jportal.vm</li>
<li>4.webapp/css/jportal.css</li>
</ul>
</code>
<hr/>
</p>
<p>
since we will reference them in tutorial 1.
</p>
</section>
</body>
</document>
1.1 jakarta-jetspeed/tutorial/xdocs/1/logo.xml
Index: logo.xml
===================================================================
<?xml version="1.0"?>
<document>
<properties>
<author email="[EMAIL PROTECTED]">David Sean Taylor</author>
<title>Change the Portal Logo</title>
</properties>
<body>
<section name="Change the Portal Logo">
<p>
Looking at <b>JPortalJetspeed.properties</b>:
</p>
<hr/>
<code>
topnav.logo.file=images/jportal.gif
</code>
<hr/>
<p>
The <b>topnav.logo.file</b> property points to the new image that we want to display
on the JPortal site.
Note that all properties relating to files are specified relative to the web
application root.
The images directory can be found directly under the web application root.
</p>
<p>
You could also use a logo that exists on another server with the topnav.logo.url
property.
The topnav.logo.file and topnav.logo.url properties are mutually exclusive,
you should one or the other.
</p>
<p>
Of course you dont have to use any logo.
The top navigation could be customized to use a completely different layout.
</p>
</section>
</body>
</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]