Setup
LeasePak Documentation Suite NETSOL website
Documentation Suite Help

Documentation Suite Help

Setup

These instructions only apply if you are installing DocSuite on your own web server. If you access DocSuite using NetSol's server at docsuite.netsoltech.com, you do not need to perform any setup.

siteconf Folder

The docsuite folder contents include a folder called siteconf. You must place a copy of this folder and its contents in your web server's root directory. For IIS, this is usually the wwwroot directory. For Apache, this is usually the html or htdocs directory. Place siteconf in the root directory so that the following root-relative URLs resolve correctly:

  • /siteconf/site_top.php
  • /siteconf/siteconf.php

docsuite Folder Contents

You must keep the contents of the docsuite folder together in the same directory. You can place these contents under your web server's root directory or you can place them in any directory below the root, as long as a copy of siteconf is in the root directory. The directory you choose for the docsuite contents does not need to be named docsuite; however, all folders and files under docsuite must retain their original names.

Default DBMS Platform

If you wish to avoid having to set your DBMS platform each time you access the Database Reference, you can set a default DBMS in the /siteconf/siteconf.php file. To configure, edit /siteconf/siteconf.php and modify the following line:

$siteconf['dbms']="";

For Oracle, change this to:

$siteconf['dbms']="ora";

For Sybase, change this to:

$siteconf['dbms']="syb";

Be sure to modify the /siteconf/siteconf.php under your web server's root directory. You will need to perform this configuration each time you install a version or revision of the DocSuite contents.

Search Function

If you wish to keep users on your internal server from linking to docsuite.netsoltech.com when they click Search, you must either disable this link or change it to point to a search engine installed on your site. NetSol provides a single point for this configuration in the /system/search/index.php file. To configure, edit /system/search/index.php and modify the following JavaScript line:

<script type="text/javascript">location.replace('http://docsuite.netsoltech.com/search/index.jsp?version=v63a');</script>

Either change the argument for location.replace to point to the location of your search engine, or replace the line with HTML text to let the user know the function is disabled. You will need to perform this configuration each time you install a version or revision of the DocSuite contents.