I can't delete admin:_public now. :(
Posted by soronlin on 14 Apr 2010 18:07, last edited by Kei1234 on 16 Jul 2021 14:03
Tags:
The problem
You want to create a site that looks like a normal website, but you want access to the site manager and a few other pages that normal users should not be able to see. The standard templates, such as IronGiant mandate a nav:top menu item called Admin, that holds all kinds of stuff that, while useful in a general-access wiki, will just confuse people if they think they are visiting a normal web-site. If they click on any of the menu items they will get either an error message or a page of gobbledegook; they will not be impressed by either. You don't want to show that kind of stuff to the general public, but you want easy access to it yourself.
Therefore
- Put the all pages meant only for administration in the admin: category.
- Create an admin:start page that brings them all together with ListPages or whatever. Here's mine:
* [[[system: List all pages]]]
* [[[system:page-tags-list|Page Tags]]]
* [[[system:members | Site members]]]
* [[[system:Category List]]]
++ Admin
[[module ListPages category="admin" order="fullname" separate="no"]]
* [[[%%fullname%%| %%title%%]]]
[[/module]]
++ Children
[[module ListPages category="-admin" parent="." order="fullname" separate="no"]]
* [[[%%fullname%%| %%title%%]]]
[[/module]]
----------
[[module NewPage size="15" button="general new page"]]
[[module NewPage size="15" button="new administration page" parent="admin:_start"]]
----------
- Make the first or last entry in nav:top a hidden link to admin:start like so
* [[[admin:start | .]]]
- Create a page admin:_public which redirects to the front page of your site, like so
[[module redirect destination="start"]]
- In Site Manager»Permissions, un-check all the boxes for category admin
On the top menu bar there will be an almost invisible entry consisting of a single ".". If a normal user clicks this it takes them back to the start page; it just looks like a redundant link and the user will write it off as a foible of the site design. However if an administrator or moderator clicks it, it takes them to the administration page.
Options
If site members are allowed to edit the wiki, just grant them access to admin:. Then they will be able to see the administration menu, but non-members will not.
It may be possible, by using two redirects, to give site members and administrators two different menu pages from the same top-bar menu item.
Most of the links that open a sub-menu use [# text] links so they don't have any action themselves, but you don't have to do that.
A site logo button
Make the first link in the menu a site-logo and put useful stuff in a sub-menu under it.
* [[image http://mysite.wikidot.com/local--files/start/mylogo.gif link="admin:start" width="20px" alt="mysite"]]
* [[[start | Welcome page]]]
A Start button
Make the first link in the menu "start", (as MicrosoftTM has taught us is where menus are found,) or some other generic text.
* [[[admin:start | start]]]
* [[[start | Welcome page]]]
An invisible button
Hide the link even more carefully, by using the link [/admin:start ] (there's two spaces before the close-bracket). Then the link will be totally invisible.
* [/admin:start ]
For extra obfuscation
Use one of the first two methods, but also make every other top-level menu item do the same as the first item on it's sub-menu.
* [[[admin:start | start]]]
* [[[start | Welcome page]]]
* [[[example1 | examples]]]
* [[[example1]]]
* [[[example2]]]
Related Articles
add-a-hidden-menu-to-nav:top
/howto:how-to-put-a-private-page-on-a-public-wiki
Authors
rurwin does not match any existing user name. Please visit his/her userPage.
Ed Johnson. Please visit his/her userPage.
I can't delete admin:_public now. :(
Hey Psych, that's easy. Just add /noredirect/true to the end of the URL before you press Enter.
For example:
http://your-site.wikidot.com/admin:_public/noredirect/true
That will prevent the redirect from being used so you can edit or delete the page.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Thank you. :)
See on the http://community.wikidot.com/help:emergency-help the paragraph:
http://community.wikidot.com/help:emergency-help#toc3
But - why do you want to hide all pages of vategory "admin:" wnhich are not allowed for all NON-admins?
The menu over these pages is a different issue:
We had done it by following code on our Community SItev- menu Internals:
( the names of the other admins I have made unreadable )
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
I have found that you just need to put the showto part and it works the same the only difference is that there is no css needed and it literally only shows to that person only.
If you need an example, visit my blog and direct you attention to the sidebar. If you can not see my forum signature than here is the link.
http://jdarby98.tk
EDIT: If you don't see a button that tells how nany users are are online located on the sidebar than that means that the code above is working.
Joshua Darby
Wikidot Support Mentor | Icon Deposit Profile
I managed to get a completely hidden admin menu by using a "DOS" space in the link instead of the "." e.g
In order to get the "DOS" space, after the pipe you need to perform the following keystrokes
NOTE The numbers pressed have to be pressed on the numeric keypad and not the top row numbers.
See my site for example www.oracle-wiki.net
Regards
bsarch
www.oracle-wiki.net
In the linux world (I use Ubuntu and Gnome) the key sequence is
Ctrl+Shift+U00A0
I added this to my nav:top and couldn't be happier
Thanks!
Recent Builds
Conky-PitStop
When I try to create the Admin:Start Page, I get redirected to the public start page. How can I stop that?