3

I've suggested that using Tridion localization works for handling certain variations for visitors, but can get difficult to manage if this is really for personalization. As an alternative to localizing templates and style sheets, I'm considering Profiling and Personalization (PnP) or SmartTarget (ST).

Can PnP or ST Component Presentation display in non-visible markup (<head>)?

For PnP, having different personalization per site would require Page localization. To avoid this , could developers instead add TCDL tags manually via Page Templates (e.g. <tcdl:TargetGroup>)?

Edit: removed suggestions and options to make the question clearer.

3

It's all just text. Tridion doesn't care whether it's emitting a head or a body. There's no reason why a component presentation can't be used in the head of a web page.

Regarding TCDL tags, it really doesn't matter whether these originate in the page or the page template, as long as they are correctly present in the output by the time the TCDL is transformed/rendered.

| improve this answer | |
  • 1
    Agreed. The only limitation of text that's in the <head> section would be that you cannot inline edit it. But it doesn't sound like something you'd want to inline edit anyway. – Peter Kjaer Jul 22 '14 at 13:23
  • Good point, Peter. But indeed, if it's in the head, it's not really "content". – Dominic Cronin Jul 22 '14 at 18:58
  • Good reminder, Peter. If this was page-specific, then I'd suggest Page Metadata so it's fairly easy to set in context. Also with Experience Manager, if we used SmartTarget or just the ADF, we could also get easier ways to preview these "themes" through the Footprint feature. :-) – Alvin Reyes Jul 22 '14 at 23:08
  • through a small amount of CSS sorcery, you can edit the <head> inline. You just need this in a CSS file somewhere: head, link, style{display:block} Especially if this is 'page-specific' styling, it's not overly terrible to use an inline-style block in the head. – paceaux Sep 5 '14 at 22:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.