Hide Tabs Login Logout

21 views
Skip to first unread message

deroldf

unread,
Apr 7, 2014, 1:16:39 AM4/7/14
to plansc...@googlegroups.com
Just a couple of questions. Hide the tabs disabled_tabs = (0,1,2);  or ###tab menu stuff###  then  direct link to http://wwwyoursite.com/plans.cgi?active_tab=1  I get no tabs. I no this has been asked before.
 
Second thing I found in the code where you can add  show login logout disabled how do you enable this I can get it to show but when I click on it nothing happens
I iframed it on my site and I think every thing works fine.  I just cant hide the tabs and then get to a admin panel      

Kevin

unread,
Apr 8, 2014, 2:35:19 PM4/8/14
to plansc...@googlegroups.com
It took me a day or so to figure out your question(s). I think this is a difference between the behavior you expect versus the actual Plans behavior. Let's start with your first question:

Show/hide tabs is an always/never deal. There is no "if I enter the URL of tab 2 in my browser the tabs will appear" if you have them disabled. Therefore, if you want to get to tab 2 you will need to enter the exact URL. If you have tabs disabled you'll need a "cheat sheet" to get to the tab you want":

<a href="http://yoursite/path_to_plans_installation/plans.cgi#menu_tab_2">Calendar Settings</a> <== I think this is the "admin panel" you mention

Copy/paste that into a new HTML file, save it on your computer and use it to link directly to your desired "tab".

Second question about Login/Logout:
This does NOT log you into an "admin panel". All it does is save your calendar password for the current session so that you don't have to keep entering it on each add/edit/delete. On clicking the "Login" link you should see a popup that asks for your password. If you don't get that you've deleted/commented something that's affecting that popup/prompt. The other possibility (a very outside-the-box possibility) is that displaying your calendar in an iframe is somehow affecting the javascript's function. In other words, it can't figure out how to display that popup within the iframe. Try opening your calendar in its own page/tab/window outside the iframe and see what happens.
Reply all
Reply to author
Forward
0 new messages