In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1404 [In-Portal CMS] Front End bug report always 2012-09-21 10:27 2012-09-21 10:37
alex  
alex  
normal  
resolved 5.2.0  
fixed  
 
none 5.2.1-B1  
https://groups.google.com/d/topic/in-portal-dev/UI943cjknsw/discussion
Adds kApplication::getSectionTemplate method
1
0001404: Method for getting section template
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.
patch section_template_from_physical_template.patch (2,752) 2012-09-21 10:27
http://tracker.in-portal.org/file_download.php?file_id=1803&type=bug
Issue History
2012-09-21 10:37 alex Note Added: 0005182
2012-09-21 10:37 alex Status reviewed and tested => resolved
2012-09-21 10:37 alex Fixed in Version => 5.2.1-B1
2012-09-21 10:37 alex Resolution open => fixed
2012-09-21 10:37 alex Assigned To !COMMUNITY => alex
2012-09-21 10:37 alex Changeset attached 5.2.x r15543
2012-09-21 10:35 alex Note Added: 0005181
2012-09-21 10:35 alex Status needs testing => reviewed and tested
2012-09-21 10:35 alex Assigned To => !COMMUNITY
2012-09-21 10:35 alex Developer => alex
2012-09-21 10:35 alex Status active => needs testing
2012-09-21 10:35 alex Issue End Monitor: alex
2012-09-21 10:35 alex Issue Monitored: alex
2012-09-21 10:34 alex Reference => https://groups.google.com/d/topic/in-portal-dev/UI943cjknsw/discussion
2012-09-21 10:27 alex New Issue
2012-09-21 10:27 alex File Added: section_template_from_physical_template.patch
2012-09-21 10:27 alex Change Log Message => Adds kApplication::getSectionTemplate method
2012-09-21 10:27 alex Estimate Points => 1

Notes
(0005181)
alex   
2012-09-21 10:35   
Will test all together later.
(0005182)
alex   
2012-09-21 10:37   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001404: Method for getting section template