2016-08-29, 04:20 PM
I want to put a link in the header to mark forums read, but for some stupid reason {$post_code_string} and {$fid} aren't available to that template.
Has anyone got any ideas how it can be done?
my code so far (in the 'header' template)...
(template conditionals plugin is installed to allow use of <if> )
Has anyone got any ideas how it can be done?
my code so far (in the 'header' template)...
<li>
<if THIS_SCRIPT == "forumdisplay.php" then>
<a href="misc.php?action=markread&fid={$fid}{$post_code_string}"><i style="font-size: 12px;" class="fa fa-file-text fa-fw"></i> Mark This Forum Read</a>
<else>
<a href="misc.php?action=markread{$post_code_string}"><i style="font-size: 12px;" class="fa fa-file-text fa-fw"></i> Mark All Forums Read</a>
</if>
</li>
(template conditionals plugin is installed to allow use of <if> )