Question

enter image description here
Hi guys,I had create a popupmenu with code above and this menu would be only showed if the folder's name matched "AAA".

Here is the problem:if there is a folder which is also named "AAA" after another folder,this menu would be showed,too.Actually we just wanna our popupmenu be showed in specific main folders,not their sub-folders.So how can i do this?

Was it helpful?

Solution

Define an additional "visibility" tag for that contribution and then use a PropertyTester inside the visibility tag to check the name in more detail.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top