/
Ability to create transparent links to admin console sections

Ability to create transparent links to admin console sections

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

In-Portal can create links from one page to another. In case, when target
page has <inp2:m_RequireLogin .../> tag on it, then user will be redirected
to login page.

After performing login user will be automatically redirected back to the
page, that has <inp2:m_RequireLogin .../> tag on it. I call this transparent
redirect, since "login page" seamlessly integrates on pages, where it's
required.

It's great feature for Front-end, but it's not very usable in Admin Console,
since "login page" in admin console is a regular page, but whole Admin
Console is a frameset of 3 frames, where "main" frame should display proper
page.

We need to determine a way to create a link to an Admin Console page, that
will force user to login to Admin Console (if not already) and then display
proper page in "main" frame.

For regular page (e.g. user list) we can do it by:

   1. passing "main" frame url in separate parameter to login page
   2. use it that parameter value instead of "<inp2:adm_MainFrameLink .../>"
   tag on "index.tpl" template (where frameset definition is).

It's more harder to create a link for editing specific item, since it
requires:

   1. going to list template where that item is usually displayed
   2. clicking on it (to select it)
   3. clicking "Edit" toolbar button to edit it

Then editing could be opened in same/popup/modal window according to site
settings.

I'm even not talking about editing catalog items (e.g. links, articles),
since it's ajax-based list there and things become more complicated.

--
Best Regards,

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