Updated the posting subtitle mod to work with Phorum 5.2.x
This mod allows you to add a subtitle to a post, which shows up on the list page beneath the main subject header.
Don't think I have updated the readme file, so here's the template modification that you need to do to get it to work.
In 'list.tpl' I have this bit of code added:
After:
<a href="{MESSAGES->URL->READ}" class="{newclass}" title="{title}">{MESSAGES->subject}</a>
I have added:
{IF mod_PostingSubTitle->enabled}
<br /><font color="#666666" size="-1">{MESSAGES->meta->mod_PostingSubtitle->subtitle}
</font>{/IF}
and in 'posting.tpl' just BEFORE {HOOK "tpl_editor_after_subject"}, add this:
{IF mod_PostingSubTitle->enabled}
<tr>
<td style="white-space: nowrap">{LANG->mod_PostingSubtitle->capture}: <br /></td>
<td><input type="text" name="mod_PostingSubTitle_sub" id="mod_PostingSubTitle_sub" size="50" value="{mod_PostingSubTitle->value}" /></td>
</tr><br />
{/IF}
& it should work fine.
Edited 1 time(s). Last edit at 01/06/2008 07:12AM by mmakaay.