V
V
Vladislav2018-06-02 13:26:55
MODX
Vladislav, 2018-06-02 13:26:55

How to display a menu using pdoMenu?

There is the following HTML code:

<ul>
        <li><a class="current" href="personal.html"><span class="pr_main">Главная</span></a></li>
        <li><a href="personal_bookmarks.html"><span class="pr_zakl">Закладки</span></a></li>
        <li><a href="personal_profile.html"><span class="pr_prof">Профиль</span></a></li>
        <li><a href="personal_support.html"><span class="pr_supp">Поддержка</span></a></li>
        <li><a href=""><span class="pr_exit">Выйти</span></a></li>
 </ul>

It should turn out THIS
So far I did this:

It turned out like this.
I don’t understand how to set a class for each span?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2018-06-02
@vos_50

Via

&tpl=`@INLINE 
<li >
   <a href="" ><span class=""></span></a>
</li>
`

On the resource page, in the Link attributes field, enter the class.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question