Parker Clack
Tue 6th Jun '00, 3:08pm
In showthread.php you have the variable.
eval("\$pagenav = \"".gettemplate"
showthread_numpages")."\";");
So it will show the number of pages a thread is long.
I have set up another template called showthread_numpages2
and I want it to call on this template when the number of pages is one.
How would I set up an if else statement here to either pull up showthread-numpages2 if the page count is 1 or showthread-numpages if it is greater than 1?
Thanks,
Parker
eval("\$pagenav = \"".gettemplate"
showthread_numpages")."\";");
So it will show the number of pages a thread is long.
I have set up another template called showthread_numpages2
and I want it to call on this template when the number of pages is one.
How would I set up an if else statement here to either pull up showthread-numpages2 if the page count is 1 or showthread-numpages if it is greater than 1?
Thanks,
Parker