Hi,
This is because [*parent*] will return the id of the parent of the document (an integer)
What you need is something that will return some text such as the page title or the long title or the alias. You would use this as so:
[*longtitle*] - for longtitle
[*pagetitle*] - for pagetitle
[*alias*] - for alias
But in your particular case I don’t think you need to use these document variables. There are different ways of accomplishing this but the following should work.
rowTpl chunk - this is for "Egypt", etc
<h3 [+wf.classes+]><a href="[+wf.link+]">[+wf.linktext+]</a></h3>[+wf.wrapper+]
Then for the child documents
innerRowTpl chunk - This is for "Test resort", etc
You obviously need to construct your
outerTpl - could have [+wf.wrapper+] if you don’t want to wrap your menus with anything. If the same case applies to your sub-menus then you don’t need to construct an
innerTpl.
Not tested but should work...
cheers/k