Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: ShoeLace1291 - marraskuu 09, 2011, 07:19:52 AP

Otsikko: Template Menu Link Populating
Kirjoitti: ShoeLace1291 - marraskuu 09, 2011, 07:19:52 AP
I am creating a theme for what will be my website's custom forum(SMF).  I want to add an extra navigation menu to the template that will be sort of like the template_menu function in the index.template file.  Where in the source files are the links for this menu generated?  In the template file, the menu is generated with a foreach loop using the $context['menu_buttons'] array value... where is this defined?
Otsikko: Re: Template Menu Link Populating
Kirjoitti: Gary - marraskuu 09, 2011, 07:22:14 AP
I believe you can find the links in Subs.php, but I can't be certain of that without the code...