Answer the question
In order to leave comments, you need to log in
How to concatenate variables in if-else in Smarty?
There was a problem.
In a Smarty template, you need to find out if the current page matches the blog page - and in case of a match, do not display a specific block.
Nowhere can I find information on variable concatenation in if-else.
{if {$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI} != $oTopic->getUrl() }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question