3.8.2 : Get custom object in TemplateCustom.php

wouter's Avatar

wouter

30 Oct, 2014 10:24 PM

Pretty new to symphony...

I need to get the meta keywords of a certain page to display them on the page. I will use the keywords field to display a subtitle, how can I get those values in the TemplateCustom.php file and parse them to my template?

I suppose:
- get the header object?
- get the meta keywords value?
- assign it to tpl

=> how? Thx!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac