/
Transit template for Admin Console

Transit template for Admin Console

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/f530d9f29817dc10#

Sometimes (very rarely in fact) there is a need to create a link that will point to Admin Console. For example link to view/edit a user by given id.

This is quite hard to perform because of:

  • nobody maybe logged-in into Admin Console before using a link
  • specified template will be opened instead of a frameset

I'm proposing to create tag called m_TransitLink, that would build a link to a new login-required template called transit.tpl and actual link would be stored in "next_template" parameter.

If user isn't logged-in, then it will be redirected (from transit.tpl) to login.tpl automatically and then will be returned to transit.tpl. Once user is logged-in redirect will occur to final template.