Fossil Forum

anonymous 4 weeks, 1 day ago

Post: Is th1-setup applied for /admin_th1

Hello all:

I was redoing my skin based on the eagle skin to see if I was breaking the new forum editor. For development I am running fossil with --skin skin/directory.

While I was doing that I came across a weirdness.

The setting th1-setup has:

set motd "The MOTD"

I expected that this part of my skin:

<th1>if {[info exists motd]} {
   html {<div class="motd">}
   # for plain text only no markup
   # puts "$local_motd\n"
   html "$motd"
   html {</div>} }
</th1>

will display it if defined. When I change the value in fossil's ui the value doesn't change until the fossil server restarts.

I lost a few hours trying to figure out what was going on. To answer my question, yes, th1-setup is applied, but only when starting fossil.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button