D
D
dake12312014-07-16 15:31:59
MODX
dake1231, 2014-07-16 15:31:59

How to correctly display the menu through wayfinder modx revo so that there is no text on one item?

Hello! It seems to be a simple task, of which there were many, maybe I forgot some nuances. So, when displaying the menu, you need to make sure that the link text is absent on the first paragraph, since there is a picture in the form of a house there.
The wayfinder call looks like this:

menuUlTpl:
<ul></ul>
menuLiTpl:

<li><a href="/"></a></li>

I also tried this, the result is no text at all:
<li><a href="/"></a></li>

And this is how it works as it should, that is, there is no text on the first one, the text "test" hangs on the rest:
<li><a href="/"></a></li>

What am I doing wrong please help!!!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Entelis, 2014-07-16
@DmitriyEntelis

What am I doing wrong please help!!!

Instead of learning programming, you learn the features of one framework without diving into how it works. That is what you are doing wrong.
Open the source of this wayfinder of yours and take a look.

A
alvisX, 2014-07-17
@alvisX

In &startItemTpl, specify the desired template. Everything is detailed here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question