Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Imported Fromfrom: 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"/>;

...

...

  • with: <inp2:m_Link template="in-link/my_account/my_favourites"

...

  • use_section="1"/>; result:

...

I've extracted code used to process "use_section" parameter in new
new kApplication::getSectionTemplate method.Task:

section_template_from_physical_template.patch

Related Tasks

Jira Legacy
serverIn-Portal Issue Tracker
keyINP-1160

Ready for testing.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com