Viewing 9 posts - 1 through 9 (of 9 total)
Author
Posts
  • #4338

    The graphic image for media objects is too small. (the frame for other)

    If I use all media “types” the static graphic can not contain all the types! It is a minor problem but not very pretty ๐Ÿ™‚

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #4364

    Hi

    Sorry, but I thought I had replied to this a few moments after you sent it yesterday. But now I don’t see my reply!! No idea what I did wrong (on my own web site too ๐Ÿ™ ), but I was on my mobile phone, so thats probably the mistake.

    Anyway, the answer is:

    Go to your theme’s ‘theme.php’ file and find these two entries (near the bottom):

    $WT_STATS_S_CHART_X=440;
    $WT_STATS_S_CHART_Y=125;

    Change them to:
    $WT_STATS_S_CHART_X = 550;
    $WT_STATS_S_CHART_Y = 200;

    I have now made this change in all the themes for the next release.

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

    Hi Nigel,
    And thank you ๐Ÿ™‚

    $WT_STATS_S_CHART_X=490;
    $WT_STATS_S_CHART_Y=175;

    Is enough! Otherwise it is very very large!

    Any need to be your suggested size?

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #4367

    Any need to be your suggested size?

    Only that it makes all the texts a little easier to read.

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

    Depending of the monitor I guess. It looks fine at my place: http://www.jaconelli.dk/webtrees/statistics.php?ged=Sl%C3%A6gtsdatabase

    So I suggest the smaller one – since it goes way to big imo ๐Ÿ™‚

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #4371

    So I suggest the smaller one โ€“ since it goes way to big imo :)

    Can you show a picture like mine comparing the two sizes. Only for me your size is still too small. The data all shows, but the text is too small. I don’t know what “way too big” means in pixels ๐Ÿ™‚

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

    Way to big /doh

    Enclosed find how it looks at my monitor

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #4376

    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
  • #4377

    That sounds interessting! ๐Ÿ™‚
    As you know I use a mod. color theme and edit css file everytime! So yes it will be easier not to modify the file when I upgrade!

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Statitstics’ is closed to new replies.