[Solved] Accessing titleattribute in template

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
antiheld2000
Forum Members
Forum Members
Posts: 236
Joined: Thu Jan 31, 2008 9:23 am

[Solved] Accessing titleattribute in template

Post 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
Last edited by antiheld2000 on Wed Apr 11, 2012 6:18 am, edited 1 time in total.
User avatar
myshko
Forum Members
Forum Members
Posts: 102
Joined: Wed Feb 07, 2007 2:36 pm

Re: Accessing titleattribute in template

Post 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
User avatar
antiheld2000
Forum Members
Forum Members
Posts: 236
Joined: Thu Jan 31, 2008 9:23 am

Re: Accessing titleattribute in template

Post by antiheld2000 »

Thank you very much!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: [Solved] Accessing titleattribute in template

Post by Dr.CSS »

If you are trying to use the text in the Title: box of a page it is {title}...
Post Reply

Return to “CMSMS Core”