WebGUI 7 Bookmarks Toolbar
Versie: 0.9
Auteur: Arjan Widlak, arjan at unitedknowledge dot nl
Copyright: United Knowledge 2005 -2006
Licentie: GPL, http://www.gnu.org/copyleft/gpl.html
Website running on WebGUI 7.
Browsers: Tested only with Firefox 1.0.4 on Debian Linux, please let me know if it does not work in you browser.
Installation
In Firefox (tested on 1.0.4 on Debian Sarge), go to the bookmark manager by clicking Bookmarks -> Manage Bookmarks. In the Bookmarks manager you will see that you have a folder called "Bookmarks Folder Toolbar". These bookmarks are visible below the location bar. It is possible these bookmarks are not visible in your browser. If this is the case click View -> Toolbars -> Bookmarks Toolbar.
The WebGUI 7 Bookmarks Toolbar will be imported in this
toolbar. In the Bookmarks Manager click on the topmost folder called
Bookmarks. Select File -> Import. In the popup select From File.
Click Next. Browse to the location where you have saved the file
webgui.7.bookmarks.toolbar.html. Select this file en click
Open. When all is well, you will see a series of bookmarks have appeared
below the location bar. This should look a lot like this.
The process works similar in Internet Explorer. In the browsermenu select File -> Import and Export, select From File or Location, etc. You still have to move the bookmarks to a specific folder. I think it will be called "Links" in English. (It's called "Koppelingen" in Dutch)
Description
The WebGUI Javascript Bookmarks add or remove a specific query string (the part of the URL after the ?) to the current location to direct WebGUI to call a certain function.
How it works
It's all very simple, but I'll describe it any way. The main bookmarks are:
Log in Displays the login screen
Log out
Admin on Switch to Administrator mode
Admin off
Assets Manager Go to (a specific location in) the asset manager
Templates Go to the asset manager and display the templates node
Edit page Edit the current layout
Flush cache Delete all cached items of this website
Most of these bookmarks look similar to the Admin off link:
I'll discuss the different parts of this link here:
javascript:This part informs the browser that a Javascript function will follow.
window.document.location=<location>This part directs te browser to go to a certain location.
%22
This is an urlencoded quote.
?op=switchOffAdmin
This is the query string. WebGUI uses this query string to display certain screens.
If a certain function is not available in the WebGUI Javascript Bookmarks Toolbar, you can easily create your own Javascript Bookmark by watching the query string change in the location bar of your browser. Just copy the query string between the url encoded quotes.
There are a few exceptions to this.
The Templates link also sets the location behind the domainname to /templates.