Page 1 of 1

Using Access Key/Tab Index value in a Template

Posted: Sun Jan 13, 2013 10:49 am
by spinfold
Hello,

What smarty tag do I need to display either the Access Key or Tab Index value (inserted via the Options tab of Content Manager) in a Template?

Re: Using Access Key/Tab Index value in a Template

Posted: Sun Jan 13, 2013 10:54 am
by Rolf

Code: Select all

{page_attr key='extra1' assign='extra1'}
http://docs.cmsmadesimple.org/tags/core/page_attr

Re: Using Access Key/Tab Index value in a Template

Posted: Sun Jan 13, 2013 11:11 am
by spinfold
Rolf wrote:

Code: Select all

{page_attr key='extra1' assign='extra1'}
http://docs.cmsmadesimple.org/tags/core/page_attr
Thanks Rolf,

I don't mean the Extra Page Attributes (1, 2 and 3) - I'm already successfully using those.

I'm looking for a way to access the fields labelled "Access Key" and "Tab Index" (directly above "Disable WYSIWYG editor on this page" on the Options tab when editing content)

Re: Using Access Key/Tab Index value in a Template

Posted: Sun Jan 13, 2013 12:01 pm
by Rolf
Ohw sorry :)

In menu manager template you can use $node->accesskey and $node->tabindex
When you import the menu template accessible_simple_navigation you can see more examples how to use them

Rolf

ps. I made http://docs.cmsmadesimple.org/modules/c ... parameters