
Onepage_XH offers tools to design and administrate so-called "onepage" websites. In the back-end you can administrate the site as usual, but in the front-end a special template is used, which displays all visible pages at once, and the menu links to automatically inserted anchors on the same page.
Please do read this documentation, before you encounter any problems!
Onepage_XH couldn't be tested so far in various environments. It is a so called alpha version. Use with utmost caution!
Onepage_XH is a plugin for CMSimple_XH. It requires CMSimple_XH ≥ 1.6.3 and PHP ≥ 5.2.0.
The installation is done as with many other CMSimple_XH plugins. See the CMSimple_XH wiki for further details.
The plugin's configuration is done as with many other CMSimple_XH plugins in the website's back-end. Select Plugins → Onepage.
You can change the default settings of Onepage_XH under "Config". Hints for the options will be displayed when hovering over the help icons with your mouse.
Localization is done under "Language". You can translate the character strings to your own language (if there is no appropriate language file available), or customize them according to your needs.
The look of Onepage_XH can be changed under "Stylesheet".
"Onepage" websites require a special template where some of the standard CMSimple_XH template tags are replaced with alternatives provided by Onepage_XH.
This is a required replacement for toc(), which displays links to all visible pages.
This is a required replacement for content(), which shows all visible pages on the start page of the CMSimple_XH installation.
This is an optional replacement for top(), which provides configurable smooth scrolling and is only shown when the user has already scrolled down a bit. Without JavaScript support the link is always shown, and there's no smooth scrolling but rather a jump. The image of the link can be changed by putting an image file named up.png into the images/ folder of the template.
This template tag accepts one optional parameter, the ID of an element. This way you can define the top of the page individually. If you don't pass an argument to the function, the link navigates to the very top of the page.
Several template tags are unsupported for "onepage" templates: content(), li(), locator(), mailformlink(), nextpage(), previouspage(), printlink() searchbox(), sitemaplink(), submenu(), toc().
Not all browsers handle anchors with special chars correctly, so you should use urichar_org/new to clean your URLs.
Most likely not all plugins will work seemlessly with "onepage" websites. For instance, you can't use page_param's site specific templates.
Onepage_XH is licensed under GPLv3.
© 2015 Christoph M. Becker
Onepage_XH was inspired by Ludwig and oldnema.
The plugin logo was designed by Klem. Many thanks for releasing this icon into the public domain.
The "scroll to top" icon is designed by the Oxygen Team. Many thanks for releasing these icons under GPL.
Many thanks to the community at the CMSimple_XH-Forum for tips, suggestions and testing. Especially, I want to thank smaxle and knollsen for early testing and good suggestions.
Last but not least many thanks to Peter Harteg, the "father" of CMSimple, and all developers of CMSimple_XH, without whom this amazing CMS wouldn't exist.