Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Years ago Custom Template not showing
#1
Solved: 2 Years ago
I created a custom template for my theme using the ACP. I called it portal_donate and I put in the markup for my paypal donate button.

So I go to my portal template which has the following:
<div class="portal_sidebar">
  {$latestthreads}
  {$stats}
</div>

And I change it to:
<div class="portal_sidebar">
  {$latestthreads}
  {$stats}
  {$portal_donate}
</div>

But nothing showed up when I reloaded the portal. So then I changed it to:
<div class="portal_sidebar">
  {$latestthreads}
  {$stats}
  {$donate}
</div>

But still, nothing shows up. I tried clearing my browser's cache. I rebuilt the default template cache.

I don't know what else to do. Can someone help me?


[edit]
The portal_latestthreads and the portal_stats templates DO show correctly.
Reply
#2
Solved: 2 Years ago
This user has been denied support. This user has been denied support.
That's not how the template system works.

Those are variables set by the core,
https://github.com/mybb/docs.mybb.com/bl...#structure
At the bottom.
Beep Boop          
                                          ~ RIP Server 2014-2014
Reply
#3
Solved: 2 Years ago
see also replies here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)