[[+content_image]]
A
A
Archer *range attack +10*2017-02-13 12:31:47
MODX
Archer *range attack +10*, 2017-02-13 12:31:47

Why doesn't TV check work?

There is such a chunk. It is used in a price list whose header cells are derived from child resources.

<th>
  
  [[+menutitle]]
</th>

If we substitute some pagetitle instead of the specified TV, then everything works. I tried to write the condition on the contrary, with notempty, the same result.
The conclusion is:
[[getResources? &parents=`2` &tpl=`priceListHeader` &resources=`-351,-352` &sortdir=`ASC` 
&includeTVs=`priceModelHeaderValue` &prepareTVs=`1` &limit=`0` &depth=`0` 
&showHidden=`0` &sortby=`menuindex` &where=`{"template:=":10}`]]

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
D
display: block, 2017-02-13
@kon-rafikov

&includeTVs=`priceModelHeaderValue`
&prepareTVs=`1`

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question