Webmastersite.net
Register Log In

New Switch request

Comments on New Switch request

nelgin


Usergroup: Customer
Joined: Jul 17, 2003

Total Topics: 39
Total Comments: 100
nelgin
New Switch request
Posted Sep 28, 2012 - 4:09 PM:

Can you please add a switch to turn off the "totals" block, basically the following section in main.tpl

<div class="statimage"><img src="{IMAGESURL}/stats.png" width="32" height="26" alt="" /></div>
<div class="floatleft"> {TOTALLINKS} listings in {TOTALCATS} categories<IF {SWITCH_HITS}>, with {TOTALHITS} clicks</IF><IF {SWITCH_COMMENTS}> and {TOTALCOMMENTS} comments</IF><IF {SWITCH_MEMBERS}> by <a href="memberlist.php">{TOTALMEMBERS} members</a></IF>. Directory last updated {LASTUPDATE}.
<IF {SWITCH_MEMBERS}><br />Welcome <a href="{NEWESTMEMBERURL}">{NEWESTMEMBERNAME}</a>, the newest member.</IF>
</div>
<div class="clear"></div>


That would save me a template edit smiling face

Thanks,
Nigel
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Sep 29, 2012 - 2:40 AM:

Added.
nelgin


Usergroup: Customer
Joined: Jul 17, 2003

Total Topics: 39
Total Comments: 100
nelgin
Posted Sep 29, 2012 - 3:44 AM:

Thank you. smiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.