Search Forums
Forums
Kiwitrees on Twitter
    Tags

    media, birth, colors, redirect, resources, Support/Bug Reporting, search, sanity checker, individual resource, check, datatables, defacto, new feature, fact, locked out, progress, Advanced search, reports, admin, MYSQL, watermark, library, calendar, emigration, 3.2.0, 3.0.0 widgets, lists, contact links, access roles, translation, random_media, theme, 500, json, php 7, 1939 Register, edit menu, beta, installation, lists individuals families, Batch Updates, 3.2.2, relationships, shared note, margin, abbreviate, github, Histo, event, surname, CREM, ID notes, Themes change, fatal error, Add a wife, Georgian, help, My Page, tags, index

    #4376
    kiwi
    kiwi
    Keymaster

    1533 posts

    The charts that are full page width look better to me, even on your site, at the higher dimensions (550/200). I rate ‘readability’ higher than “way too big” ๐Ÿ™‚

    So, I will set all themes to use 550/200.

    BUT ( I think you will like this):

    In the next release (soon now), if you want to use a standard theme, but with just a few “tweaks” you will be able to do that easily with no need to change the standard theme files.

    All you will need is to create either or both of two new files, ‘mystyle.css’ and ‘mytheme.php’ and include them in the standard theme folder of your choice. Also, inside mytheme.php you could include a reference to your own header.php and / or footer.php files. Whatever these new files contain will be used instead of the same entries in the standard files, and your files will never be replaced or deleted by an upgrade (except possibly on a MAC, I think). I will provide examples in an FAQ when the next release is ready.

    But a simple example for this statistics issue would be a mytheme.php like:

    <?php
    if [!defined[‘WT_WEBTREES’]] {
    	header[‘HTTP/1.0 403 Forbidden’];
    	exit;
    }
    $WT_STATS_S_CHART_X = 490;
    $WT_STATS_S_CHART_Y = 175;

    Of course you can still create a completely new theme, but this way will be better for minor ‘tweaks’.

    Nigel
    My personal kiwitrees site is www.our-families.info