Forum Discussion
Parshant
Boss
Hi Lindsey ,
In khoros ".title" text-keys, we can change the keys name dynamically while passing to text-format keys, but can't change its value with dynamic parameters.
This can only work like this:
<#assign dynamicLabel = "testpage" />
text.format("page.forums. " + dynamicLabel+ ".title")
Your text-key need to be like below.
page.forums.testpage.title = Title of the Test Page
Lindsey
6 years agoLeader
Parshant That's not going to work for what I need, since I need to add the label name to the title tag, and the label could be anything. So I guess I cannot use setTitle() for the page. I could use javascript to set document.title, but we'd really like the title to be set without javascript so Google can read the tag
Related Content
- 12 months ago