But that does not work. I always get the second output without any link, although on some sites/projects the migx is filled in (and others are not). Can I make such a condition, to relate it to a migx TV? Help
You could try it using the :else=`` in the first output modifier, instead of using two output modifiers. Also be careful, you're using resource TV tags [[*...]] where you should probably be using placeholder tags [[+...]]
Ok, changed the tags to placeholder tags. Thx. Now i've added the :else ...but it does not change anything in the output, though it's a nicer code. Still only get no links.
Important: the "[[+migx-projekt-items]]" is no normal tv used in any migx - but it is a migx tv itself. Can i relate any condition to a migx-tv? And also: i have no getImageList anywhere related to this chunk-tpl.. so maybe the chunk does not even know what "[[+migx-projekt-items]]" is?
Maybe can i tell "getresource" to include migx(Tvs)?
The situation: I have project resources/sites in my resource tree. These projects have the migx TV contained. If the migx TV is not empty for one resource, i want these project named in the footer with a link to it. But if the migx is empty, it should also be mentioned - but without any link to the project site.
So i thought to relate this condition to the migx tv - if it is empty for the resource or not. But the getImageList is only on the project site. I have no getImageList for the footer (that is on every site, not only on project sites), for example.
It is soo complex and complicated for me as a beginner.
But it does not work, when i relate it to any tv like a new tv called [[+hiddenInFooter]]. Though i have the options "includeTVs" in the getresource call (as in the first post).