- Joined
- Oct 5, 2021
- Messages
- 13
- Points
- 13
Reputation:
Hey beloved ones,
I'm using the built in advertising of XF 2.2 with the ad, that shows up below every post inside a thread. I would like to display the thread title within that ad, to improve my ad-conversion. The advertising settings says, I can use "xf-template-syntax" so I tried the following variables which I found e.g. inside the thread.view-template but none of them work, they just don't show up the thread title.
I googled around a lot but can't find any working solution or anyone having the same problem. How can I use the title variable inside an advertisment?
Thank you very much in advance
Werner
I'm using the built in advertising of XF 2.2 with the ad, that shows up below every post inside a thread. I would like to display the thread title within that ad, to improve my ad-conversion. The advertising settings says, I can use "xf-template-syntax" so I tried the following variables which I found e.g. inside the thread.view-template but none of them work, they just don't show up the thread title.
Code:
<xf:title page="{$page}">{{ prefix('thread', $thread, 'escaped') }}{$thread.title}</xf:title>
Code:
<xf:h1>{{ prefix('thread', $thread) }}{$thread.title}</xf:h1>
Code:
{$context.thread.title}
I googled around a lot but can't find any working solution or anyone having the same problem. How can I use the title variable inside an advertisment?
Thank you very much in advance
Werner