I
I
IvanRobot2016-05-10 10:46:19
PHP
IvanRobot, 2016-05-10 10:46:19

How to add a new item to the menu?

There is a ready menu:
79c57b3cef9b4d05b66bfc9cd77c1165.png
When you click "Edit menu item":
fc9e75dd9c244f98b9fe117e73c66806.png
.top.menu.php

<?
$aMenuLinks = Array(
  Array(
    "Главная", 
    "/forum_2014/mar/", 
    Array(), 
    Array(), 
    "" 
  )
);
?>

Help me please

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Gogolinsky, 2016-05-10
@gogolinsky

Probably the menu can be edited only through the main site template

D
Denis Gorokhov, 2016-05-10
@gorokhov_dv

Check if the file is included in .top.menu_ext.php.
Maybe other menu items are added to it. You can define the formation rule, as well as set sorting.

S
Sergey Goryachev, 2016-05-10
@SergeGoryachev

It looks like you are trying to edit the wrong menu.
And "that" sits in the header. And, perhaps, just in the form of a list.
See website template.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question