Page 1 of 1

[Solved] Accessing titleattribute in template

Posted: Tue Apr 10, 2012 7:38 pm
by antiheld2000
Hi,

i'm trying to access the entried titleattribute in options which can be accessed via menu manager ($node->titleattribute) in the normal page template. I thought it could work via {page_attr key="titleattribute"} but it does not. Any other suggestions?

Thx
anti

Re: Accessing titleattribute in template

Posted: Wed Apr 11, 2012 2:00 am
by myshko
Hi Antiheld,

You're close. That entry (Description (title attribute):) is actually the description. Access it with:

{description}

In a regular template or page.

Regards,

Mikey

Re: Accessing titleattribute in template

Posted: Wed Apr 11, 2012 6:15 am
by antiheld2000
Thank you very much!

Re: [Solved] Accessing titleattribute in template

Posted: Wed Apr 11, 2012 5:44 pm
by Dr.CSS
If you are trying to use the text in the Title: box of a page it is {title}...