NotSoFancy! /install/edit config.php

There are a bunch more settings in config.php we never looked at. Now seems like as good a time as any, and since you're still reading this file, you must care about how your page looks. Bravo! You must not be a PHPNuke user.

The first three values, $nsf_head, $nsf_foot an $nsf_list all point to your templates. You can get more information about templates in the next section. The base path for all these files is your NotSoFancy directory. If you put them in a subdirectory, you'll need to include that potion of the path.

$nsf_css and $nsf_mimeicons are web links to the folders where each is installed. By default these are expected in your NotSoFancy! install folder, but if you put them somewhere else, you will need to change these values lest you suffer the frustration of broken images.

$nsf_website should be the name of your website. You can use this value in your template to make a link back to your main page if you are not integrating NotSoFancy!'s indexes into your website. $nsf_weburl would be its URL.

$nsf_date allows you to override the date format specified in your locale file. You can make up any date string that follows the standard PHP date(); format.

$nsf_longdate is a Boolean option set to TRUE or FALSE. If FALSE, it uses the short date format for your locale. If TRUE, it uses the long date. This option is overridden if $nsf_date has been uncommented.

$nsf_crop allows you to crop long filenames at a given length. Just specify how many characters to crop after and it will go chopping.

$nsf_prec lets you specify how many significant figures to show in file sizes. If you don't know what significant figures are, leave this option alone of buy a math book.

Lastly, $nsf_i81n is your locale setting. By default, it's English, but you can use any locale that has a file made for it. Locale files shipped in this package are listed in config.php, but if you download new ones, just upload them to /shared/i81n/. All locale files should end in .lng.

Parent Directory

File name Last modified Size Description
SourceForge.net Logo