Set Content to Default Maximized; Hide sidebar by default
How do I set my wiki so that the front page automatically has the content area maximized and the sidebar and folder and etc. hidden?
How would I do this for all pages?
(users should still be able to click the arrow in the top right to get the sidebar back...i just want the default to be for it to be hidden and the content maximized)
How would I do this for all pages?
(users should still be able to click the arrow in the top right to get the sidebar back...i just want the default to be for it to be hidden and the content maximized)
3
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?oh this is pbwiki 2.0
-
Inappropriate?PBwiki does not support this feature. I'm looking at their JS right now; I'll respond here if I find a way to do what you need.
I’m sorry I'm not better with javascript
-
Inappropriate?Hm, here's a very experimental solution.
Put this code on your SideBar page to make it work for every wikipage.
Put it on your FrontPage or any other page to make it work for that page only.
PBwiki 2.0 Edit / Insert Plugin / Productivity / Any Google Gadget, click Preview, OK.
<script>
PBwiki.init(function(){ Page.UserPrefs.initialize({
"hide":1,"modules":{
"module:folders":0,"module:sidebar":0,
"module:recentactivity":0,"module:addusers":0}}); });
</script>
all on one line
For the modules: you can replace the 0 (closed) with 1 to have 'm open by default.
Once a visitor has opened or closed a module the setting for modules doesn't apply no more: a cookie has been set.
I’m not having a clue why it works, but he, it does. Hahaha!
1 person says
this answers the question
-
Inappropriate?Hey, this only seems to work when I'm logged in. If I log out and just enter the site as an anonymous user, it doesn't maximize. Thoughts?
-
Inappropriate?i second that this solution only works if you are logged in. Anything official from PB?
Loading Profile...





