• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to getting template name?

#3
Love it. @wang
But the mean of mine is quite different. ;)
It assumed that I didn't know the template name though I did know it.
The way to aware the name of itself.

Instead of
Code:
<xen:include template="otherTemplateName" />
As routeMatch, if there is like a templateMatch or other function, it would be to know self name. I looked at the helper items but can't found any clues.

Too wrong?
 
Last edited: