|
TTOPBEGINSyntax
DescriptionTTOPBEGIN defines the markup for the root, or start, of a thread. TTOPBEGIN should define any starting markup for the thread and markup for the root message of the thread. Default Setting<TTopBegin> <li><strong>$SUBJECT$</strong>, <em>$FROMNAME$</em> </TTopBegin> Resource Variables
ExamplesMHonArc has several resources for customizing thread page layout. Therefore the following shows a way to customize the layout using the various thread resource available. For this example, The thread index is setup where a thread will have the subject in bold at the top of the thread and the names of the authors of the messages in the thread will be hyperlinked to the actual message. Nested unordered lists are used to provide a visual cue of the depths of the thread. Unique messages are show in normal text. <!-- TTOPBEGIN is the markup for the beginning of a thread, and the first message in a thread. --> <TTOPBEGIN> <p> <li><a $A_NAME$><strong>$SUBJECTNA$</strong></a><br> <a $A_HREF$>$FROMNAME$</a> </TTOPBEGIN> <!-- TTOPEND is the markup for closing a main thread. --> <TTOPEND> </li> </p> </TTOPEND> <!-- TLITXT is the markup for a message *within* a thread --> <TLITXT> <li><a $A_ATTR$>$FROMNAME$</a> </TLITXT> <TLIEND> </li> </TLIEND> <!-- TSINGLETXT is the markup for a message not in a thread. I.e. it does not start a thread or is part of a thread. --> <TSINGLETXT> <li><a $A_NAME$>$SUBJECTNA$</a>, <a $A_HREF$>$FROMNAME$</a> </li> </TSINGLETXT> <!-- TSUBJECTBEG is any markup at the beginning of a sub-thread that is based on the subject of the message. We just put in a comment declaration so the reader will see nothing. --> <TSUBJECTBEG> <!-- Possible follow-ups --> </TSUBJECTBEG> An item to note is how the example includes the proper resource variables, $A_NAME$ and $A_ATTR$, to allow the index hyperlinks in messages to behave properly. Version2.0 See AlsoTLITXT, TSINGLETXT, TSUBJECTBEG, TTOPEND
$Date: 2002/07/27 05:13:11 $ MHonArc Copyright © 1997-1998, Earl Hood, mhonarc@mhonarc.org |