Dynamic meta content / page titleI've got a news section set-up, with various definable fields (Title, Image, Summary), I'm trying to declare the Title as a variable that can be inserted into the <head> as the <title>, but I'm having trouble getting the data from the table:
And then in my <head>
Am I right in assuming that I can't retrieve the data once MergeBlock has been run, because that only affects content in the <body>?
Re: Dynamic meta content / page title> Am I right in assuming that I can't retrieve the data once MergeBlock has been run, because that only affects content in the <body>?
It's not correct.
TBS doesn't know HTML, it doesn't care about entities <title> or <body>.
You can merge both the block and the item data wherever they are placed in the HTML template.
I think in youe snippet $news_title is an array like :
array('Title' => "My title of the news")
So the piece of template should be :