Announcement

Collapse
No announcement yet.

How do I do this?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I do this?

    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

Related Topics

Collapse

Working...
X