How to getting template name?

lsxforo

Member
Dear,
I have a question too.

Is there way to get an own template name(unique) that inside certain template?
:rolleyes:
 
Yes, you can include your own template inside another template with this code:

HTML:
<xen:include template="templateName" />
 
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:
Back
Top Bottom