Onesite Plugin

From Sit

Jump to: navigation, search
Onesite Plugin
Plugin.png
Current version v0.02
Maintainer Ivan Lucas
Download Download Download
Release status experimental
This plugin is experimental, it may do bad things to your system or refuse to work.


Contents

Summary

This plugin changes the 'Customers' link on the menu to point to a single site.

Installation

Installing on recent versions of SiT!

Install in the usual way.

Installing on SiT!v3.45

Warning.png The information in this article (or section) relates to SiT! v3.45 only. Other versions may behave differently, check the version you are using and the documentation carefully.

To run this plugin on SiT v3.45 a code change is required to lib/strings.inc.php (this is not be required for v3.50 and later)

  • Look for these two lines (around line 215)
// Sort the top level menu, so that plugin menus appear in the right place
ksort($hmenu[0]);
  • Insert the following line directly above those two lines
if ($_SESSION['auth']) plugin_do('define_menu');
  • Then save the following file into your plugins directory and enable the 'onesite' plugin.
Personal tools
project