After reading the TH Manual and Reference I tried replacing:
<title>$<project_name>: $<title></title>
with
<title>$<project_name>: <th1>if $project_name eq $title "Home" else 
$title</th1></title>

Now all my web pages are blank.

Clearly, there must be some way of testing the TH code BEFORE editing the html 
scripts. How?

Tony Perovic
Compumation, Inc.
________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Ron Wilson
Sent: Tuesday, April 19, 2011 12:18 PM
To: [email protected]
Subject: Re: [fossil-users] Changing the default home page header

On Tue, Apr 19, 2011 at 12:23 PM, Tony Perovic 
<[email protected]<mailto:[email protected]>> wrote:
Looking at Admin|Header, I think that $<title> is the part I want changed. 
Where is that coming from?

I need something like:
If $<project_name> equals $<title> then
  $<title> = "Home"
End

Do I have to learn TH1/TCL?

That is what needs to be changed in Admin->Header

There is a list of the variables and functions specific to Fossil in the Fossil 
Cookbook, as well as various examples in several places in the Fossil website 
and in this mailing list. From those examples, you should be able to peice 
together what you need. Maybe later, I can put together the few lines of TH1 
that would be needed, but not enough time, now,

FYI, I configured our Fossil repository to use the ticket reporting page as its 
home page, so the home page title is not an issue for us. Depending on your 
team's needs, you may find it advantagious to use a different page as your home 
page.

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to