| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| How to choose the default target and view for ALL users? http://www.steveshipway.org/forum/viewtopic.php?f=15&t=4271 |
Page 1 of 1 |
| Author: | edemattia [ Thu Nov 25, 2010 9:34 am ] |
| Post subject: | How to choose the default target and view for ALL users? |
Where can I define which target device and which view ALL users will see when routers2.cgi is called? I know this can be done on a per user basis but I would also like to set the default. For example, when the routers2.cgi file is first opened in a browser, I want target X to display in summary view. How do I do this? |
|
| Author: | stevesh [ Thu Nov 25, 2010 9:49 am ] |
| Post subject: | Re: How to choose the default target and view for ALL users? |
Use the 'defaultrouter' directive in the routers2.conf to specify the default device (cfg file). This can be put into a [user-xxx] section if you want to specify it per-user or in the [routers.cgi] section to affect everyone. You can also use the 'defaulttarget' option to speciy default target; however this can be problematic if a specified target does not exist on a given device. Finally, if you have a recent version of routers2.cgi, then there is an undocumented (and not fully tested) feature where you can set the extended option 'default' on a Target and have it become the default target for the device. This is not completely working though which is why it is still undocumented. routers.cgi*Options[xxx]:default |
|
| Author: | edemattia [ Thu Nov 25, 2010 10:44 am ] |
| Post subject: | Re: How to choose the default target and view for ALL users? |
I can't believe I didn't see this before! I was looking in the conf file for what seemed to be hours! Thank you!! |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|