Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Problem using Template Conditionals
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #9
RE: Problem using Template Conditionals
(09-19-2015 10:48 PM)hansolo Wrote:  Maybe I'm having a mental blank, but why isn't it just written as:

Code:
$post['button_quote'] = $templates->get("postbit_quote");

?

That behaves differently.  The template code actually needs to be evaluated (it's how stuff like {$blah} get transformed) - if you try your code, you'll notice that tokens don't get replaced.

My Blog
09-29-2015 12:28 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Problem using Template Conditionals - ZiNgA BuRgA - 09-29-2015 12:28 PM

 Standard Tools
Forum Jump: