02-06-2020, 04:36 PM
In the login_group table, there is a column called "start_link". This will point to the "Custom URL" entry (found under Project Essentials).
By default everyone will see "/index" which can be overridden if you wish (this is what you would do if you build a completely custom interface). The value for the "widget" column would look something like:
<element>
<display class="tactic.ui.panel.CustomLayoutWdg">
<view>my_view</view>
</display>
</element>
As you can see, it can be any widget or any view. If you don't want to use a custom view, but just point them to another sidebar item, you can do create a new entry such as "/user", set that in the login_group table and have the widget look like:
<element use_index="true">
<display class='spt.tactic.ui.panel.HashPanelWdg'>
<hash>my_sidebar_link</hash>
</display>
</element>
We haven't really used this in a while because we completely override /index and handle the group logic ourselves in Python.
By default everyone will see "/index" which can be overridden if you wish (this is what you would do if you build a completely custom interface). The value for the "widget" column would look something like:
<element>
<display class="tactic.ui.panel.CustomLayoutWdg">
<view>my_view</view>
</display>
</element>
As you can see, it can be any widget or any view. If you don't want to use a custom view, but just point them to another sidebar item, you can do create a new entry such as "/user", set that in the login_group table and have the widget look like:
<element use_index="true">
<display class='spt.tactic.ui.panel.HashPanelWdg'>
<hash>my_sidebar_link</hash>
</display>
</element>
We haven't really used this in a while because we completely override /index and handle the group logic ourselves in Python.