No, unfortunately it won't. You are replacing the string "Page Title" with the page's title for the
Navigation page, not the Small Banner page, I fixed that.
Also, a modification of the stylesheet is needed, I'll do that.
Uli
On 23.12.2010 14:53, Bob Harner wrote:
Here's the patch for the exported template to make the banners nicer.
I don't have access to the template in Confluence, so can somebody
please apply this patch to
https://svn.apache.org/repos/asf/tapestry/tapestry-site/branches/post-5.2-site
and then update the template in Confluence. This should make the
banner look like it does at
http://people.apache.org/~bobharner/property-expressions.html
Index: autoexport_template.txt
===================================================================
--- autoexport_template.txt (revision 1052267)
+++ autoexport_template.txt (working copy)
@@ -24,7 +24,7 @@
<head>
<title>
#if (! $page.title.equals("Index")&& ! $page.title.equals("IndexV2"))
-Apache Tapestry -- $page.title
+$page.title -- Apache Tapestry
#else
Apache Tapestry Home Page
#end
@@ -37,7 +37,7 @@
#set($child = $pageManager.getPage($page.space.key,"Navigation"))
#set($content = $renderer.convertWikiToXHtml($child.toPageContext(),
$child.content).trim())
-$content
+$content.replaceAll("Page Title", $page.title)
#if (! $page.title.equals("Index")&& ! $page.title.equals("IndexV2"))
<div id="top">
On Sat, Dec 18, 2010 at 12:31 AM, Howard Lewis Ship<[email protected]> wrote:
That looks very sweet to me! If you update the export template stored in
Confluence, make sure to ping the list so that we can capture the update
back into SVN.
On Fri, Dec 17, 2010 at 7:58 PM, Bob Harner<[email protected]> wrote:
On the Tap 5 documentation site, after being exported from Confluence,
the secondary (non-Home) pages contain an excessively large blank area
in the banner that seems very odd to me. Can we make better use of
that space?
Compare this live page:
http://tapestry.apache.org/property-expressions.html
with this mockup page:
http://people.apache.org/~bobharner/property-expressions.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to learn
how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]