/
Method for getting section template
Method for getting section template
Imported from: http://groups.google.com/group/in-portal-dev/browse_thread/thread/508f78ddc8e49ecc#
In In-Portal 5.2.0 "use_section" parameter of m_Link tag was introduced. It allows to pass template filename into m_Link tag and get back nice url from "Structure & Data" section. For example:
- without:
<inp2:m_Link template="in-link/my_account/my_favourites"/>
; result: http://www.website.tld/in-link/my_account/my_favourites.html - with:
<inp2:m_Link template="in-link/my_account/my_favourites" use_section="1"/>
; result: http://www.website.tld/in-link/my-account/my-favourites.html
I've extracted code used to process "use_section" parameter in new kApplication::getSectionTemplate method.
section_template_from_physical_template.patch
Related Tasks
Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.