Sharing a site on .tpl templates. Split into header.tpl, footer.tpl, and any content.tpl (example: index.tpl or news.tpl). And there instead of certain values are% pattern_%. So, how to replace all these elements in variables through OOP? Please show me an example so that each element should not be replaced with variables.
echo $node->title
, no replays. - Jean-Claudeecho $node->title
and how to use it. Can you enlighten? - Ersultan 5:48 pm