Making a menu page


Qwwwik doesn't have a menu as such but a menu page can easily be made by creating a page titled 'menu' containing an HTML list using class="boxlist" as the following example:

Menu

(or you can make your own)


The HTML markup (add more items as desired):

<ul class="boxlist">
<li><a href="./">Home page</a></li>
<li><a href="./page1">Page 1</a></li>
<li><a href="./page2">Page 2</a></li>
</ul>

The markup can be copied and pasted from the get HTML markup link in /admin/pages. If the page title is menu the red 'edit' button that shows when logged in will change to a publicly visible red 'menu' button when logged out. If you want this feature, make sure the page title is literally 'menu'. Default install already has one.


Qwwwik version 1.8 onwards

Version 1.8 gives options to (i) change the text in the red 'edit' button and (ii) change the page it opens. Create the page you want the button to open, then in /admin/setup enter the text in the 'Button text' box and enter the page title in the 'Button URL (page title)' box. Then submit setup.

Make sure the page title is exactly the same as the page title of the page in /admin/pages. If you don't want the red button to show at all when not logged in, just enter "blank" in the 'Button URL (page title)' box. The button will show only when the 'Button URL' matches a real URL.

See information

Page last modified: 15 July, 2024
Search | Legal | Qwwwik

Info