Webmastersite.net
Register Log In

Dividing Template Variable Values
Is it possible?

Comments on Dividing Template Variable Values

piskedi
Member

Usergroup: Member
Joined: Oct 17, 2004

Total Topics: 13
Total Comments: 44
piskedi
Posted Dec 20, 2004 - 10:57 AM:

Is it possible to divide two template variable values into each other?
For example, how can I divide {TOTALHITS} into {TOTALLINKS}, to get an average hit value for the whole directory?

Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 21, 2004 - 6:57 AM:

Use PHP in the template:
piskedi
Member

Usergroup: Member
Joined: Oct 17, 2004

Total Topics: 13
Total Comments: 44
piskedi
Posted Dec 21, 2004 - 10:16 AM:

Thank you Paul, that was really helpful..
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.