Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwpt_get_ptt_name() Problem
uttiyab
I have a strange problem. I use the iwpt_get_pt_name() command to retrieve the name of the template. The problem is, this function gives me the name of the component template. How can I return the name of the real template and not the component template?
I am using the function in a component template x, which is a component of presentation template y. I have a large number of templates who will use this component template x.
Any ideas??
Find more posts tagged with
Comments
iwovGraduate
Try this:
use iwpt_get_pt_name() in your parent template (y), and pass it to the component template (x) as a parameter.
See TST dev guide for examples on parameter passing to component templates.