Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [General] Variables
#11
Not Solved
$stats is an array, so {$stats} will generate an error.

OK, but there must be a script whre the template is evaluated!! And that script must have access to the array $stats through a global statement.


EDIT
OK, I see now that the portal_latestthreads template is a standard one. I will have a look.

EDIT 2
Can you show your version of the portal_latestthreads temlate?
Regards, Ad Bakker (NL)
Reply
#12
Not Solved
(08-29-2015, 08:58 PM)Ad Bakker Wrote: $stats is an array, so {$stats} will generate an error.

OK, but there must be a script whre the template is evaluated!! And that script must have access to the array $stats through a global statement.


EDIT
OK, I see now that the portal_latestthreads template is a standard one. I will have a look.

EDIT 2
Can you show your version of the portal_latestthreads temlate?

<br>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->latest_threads}</strong></td>
</tr>
{$threadlist}
</table>
<br>
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#13
Not Solved
(08-29-2015, 09:28 PM)Wires Wrote:
<br>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->latest_threads}</strong></td>
</tr>
{$threadlist}
</table>
<br>

But I see none of the stats variables here Huh . Where do these come in?
Regards, Ad Bakker (NL)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)