News System

  1. How to customize the template?

    Modify the *.tpl and *.css files in "/display/basic/" directory.

  2. Can BBCode be used in comments?

    Yes, from version 1.3, a limit set of BBCode is allowed, including [b], [i], [u], [url] and [quote].

  3. What's the URL of my RSS?

    http://yoursite/path/to/news/rss.php

  4. The spell checker doesn't work?

    Pspell has problems on Windows. Tough!

  5. I want to add a new locale for date and time?

    In /template/default/settings.tpl, create a new option for your preferred locale as follows

    <option value="lo_LO lo_LO.CHARSET-1 lo_LO.CHARSET-2 ...">
    	Locale Common Name
    </option>
    

    where lo_LO is the standard locale code which can be referred from here, and lo_LO.CHARSET-1 lo_LO.CHARSET-2 ... are the list of character sets supported by your host that can be referred from here

  6. The script doesn't work with Unicode text?

    No, it doesn't. But you can fix this.

    In /template/default/header.tpl and /template/default/preview.tpl, change the charset's value of the Content-Type meta tag to UTF-8.

    In functions.php, look for function getZoneDate() around line 56 and replace the return line with this code

    return utf8_encode(
        gmstrftime($format, $time + $this->configs['zone']*3600));
    

Calendar

  1. How to make the event window float on the left hand side?

    In the page where the calendar is included, create a style element *after* linking to the calendar's style sheet as following:

    <style type="text/css">
    #calendar .calendarDetail .calendarEvent {
    	margin:0 0 0 -180px;
    }
    </style>
    

    Example? See my demo page.

Image Gallery

  1. How to customize the template?

    Modify the *.tpl and *.css files in "/template/default/" directory.

  2. There are no thumbnails at all?

    If you're sure that you have GD2 installed then it's because of wrong document root setting. Set your document root manually as following.

    <?php
    ...
    $gallery = new WingedGallery();
    ...
    $gallery->setDocumentRoot('/YOUR/DOCUMENT/ROOT');
    ...
    ?>